Skip to main content
POST
Deploy an app

Authorizations

Authorization
string
header
required

Effective API key. Send Authorization: Bearer sk-eai-...

Path Parameters

appId
string
required

App ID: app- followed by lowercase letters, digits and hyphens, ending in a letter or digit. It is part of the app’s hostname, so your organization’s subdomain and the ID together must fit 63 characters.

Maximum string length: 63
Pattern: ^app-[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$

Body

application/json
bundleSha256
string
required

Lowercase hex SHA-256 of the release bundle file.

Pattern: ^[0-9a-f]{64}$
sourceSha
string
required

Commit of the app’s source repository that the bundle was built from. An upload is stored per commit and bundle.

Pattern: ^[0-9a-f]{7,64}$/i
sourceBranch
string
required

Branch of the app’s source repository whose head is sourceSha. It cannot be main; deploying squash-merges it into main.

Required string length: 1 - 255
message
string

Title of the commit on main; defaults to “Publish ”.

Required string length: 1 - 500

Response

The deployment the app now serves.

id
string<uuid>
required

Deployment ID.

appId
string
required

App ID: app- followed by lowercase letters, digits and hyphens, ending in a letter or digit. It is part of the app’s hostname, so your organization’s subdomain and the ID together must fit 63 characters.

Maximum string length: 63
Pattern: ^app-[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$
sha
string
required

Commit on the source repository’s main branch that this deployment runs.

shape
enum<string> | null
required

What the release deploys: full an interface, backend and tools; service a backend and tools; instructions only agent instructions. Null when not recorded.

Available options:
full,
service,
instructions,
null
bundleSha256
string | null
required

SHA-256 of the release bundle, or null when not recorded.

Pattern: ^[0-9a-f]{64}$
runtimeUrl
string<uri> | null
required

Base URL of the deployed backend, or null when the release deploys none or it was not recorded.

mcpUrl
string<uri> | null
required

MCP endpoint of the deployed backend, or null when the release deploys none or it was not recorded.

current
boolean
required

True when the app serves this deployment now.

publishedByEmail
string | null
required

Email of the member who deployed it, or null when not recorded.

publishedAt
string<date-time>
required

When it was deployed.