Skip to main content
POST
Merge and publish an app branch

Authorizations

Authorization
string
header
required

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

Body

application/json
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])?$
sourceBranch
string
required

Pushed development branch to squash-merge into main.

Required string length: 1 - 255
sourceSha
string
required

Full commit ID, in lowercase, of the app’s source repository commit the bundle was built from.

Pattern: ^(?:[0-9a-f]{40}|[0-9a-f]{64})$
bundleSha256
string
required

Lowercase hex SHA-256 of the release bundle file.

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

Title of the squash merge commit.

Required string length: 1 - 500

Response

Published production deployment.

deploymentId
string<uuid>
required
sha
string
required

Commit on main that was deployed.

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

Runtime URL, or null for an instructions-only app.