Create a deployment
Create a new deployment.
Authorizations
Body
App deployment data
- Option 1
- Option 2
App deployment request. Provide either file+entrypoint_rel_path or source.
Permissions for each invocation's injected API key. Send this multipart field as JSON. Requires scoped deployment enablement. The policy must stay within the deployment's project, be a subset of the caller's permissions when the caller has a policy, and grant container-wide invocations:write for runtime callbacks. It cannot include api_keys:issue_beyond_expiry. Exact resource IDs must exist. The policy outlives the deploying credential; each invocation gets a fresh key valid for 65 minutes from issuance. When the caller has a policy, omission grants project-wide invocations:write for runtime callbacks, plus project-wide browsers:create, browsers:use, and browsers:delete for each of those the caller holds. A supplied policy must explicitly include invocations:write; it is never added automatically. To keep callback-only behavior, send a runtime_policy with just that grant. Callers without a policy keep an unrestricted runtime key when this field is omitted. Scoped invokers must cover the runtime policy.
Response
Deployment created successfully
Deployment record information.
Hex-encoded SHA-256 checksum of the source archive. For file uploads, this hashes the uploaded archive; for GitHub-sourced deployments, this hashes the GitHub archive downloaded by the API. Omitted for deployments created before this field was recorded.
"3f4d0ea1bd2c5c1a1a1f0e9d8c7b6a5948372615049382716a5b4c3d2e1f0a9b"