cancel_app_build
Use this to cancel an accepted app build before it publishes. Repeating cancellation returns the same terminal status. Cancellation leaves accepted desired source editable and keeps the last active app running.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| build_id | Yes | Build ID returned by create_app or update_app. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| url | No | App URL. Present only after successful publication. | |
| appId | No | Existing target app ID, or the created app ID after publication. | |
| error | No | ||
| state | Yes | ||
| intent | Yes | The accepted operation: create, update, migrate, restore, or copy. | |
| source | No | Exact accepted source, returned only when include_source is true. | |
| buildId | Yes | Durable build ID. Use get_app_build to inspect progress or source. | |
| attempts | Yes | ||
| deadline | Yes | ||
| revision | No | Published app source revision. | |
| elapsedMs | Yes | ||
| lockState | Yes | ||
| statusUrl | Yes | Authenticated HTTP status URL for this build. | |
| updatedAt | Yes | ||
| acceptedAt | Yes | ||
| finishedAt | Yes | ||
| lockDigest | No | ||
| sourceEtag | Yes | ETag identifying the immutable input accepted for this build. | |
| inputDigest | Yes | ||
| queueDeadline | Yes | ||
| activeRevision | No | ||
| desiredRevision | No | ||
| retryAfterSeconds | No | Wait at least this many seconds before polling again. | |
| inspectionExpiresAt | Yes | ||
| idempotencyExpiresAt | Yes | ||
| resolvedDependencies | No |