latestOpenAPI 3.1.02026-08-193894215.9 MB
23dfbe1a0d1f
Apps
Deploy App
Builds the app's current source and ships it. Returns the run it started, so the caller can render progress from this response and then follow it on the app's deployment field. Only one deployment runs per app at a time — calling this while one is in flight reports that run rather than starting a second, and calling it with nothing to publish reports that instead of starting one.
post/apps/{id}/deploy
Headers
Idempotency-Keystring
Example:d9105228-4a08-46b1-8b91-42fed586d383
A unique key that makes this request safe to retry. See Idempotent requests.
Request body
Response
deployment started
Example response
{
"app_id": "app_xxxxxxxxxxxxxx",
"estimated_duration_ms": 150000,
"estimated_remaining_ms": 91000,
"phase": "process_archive",
"progress": 0.39,
"started_at": 1767268800000,
"status": "publishing"
}