Skip to main content
POST
Runs runtm deploy inside the session sandbox and streams NDJSON progress events via Server-Sent Events. Each event includes a phase and status field tracking deployment progress through validation, artifact creation, upload, and deployment. Required scope: deployments:write

Path Parameters

string
required
The session ID (UUID).

Headers

string
required
Bearer token. Example: Bearer runtm_xxx
string
Scope to an organization.

Query Parameters

string
default:"starter"
Machine tier for the deployment. Values: starter, performance, pro. Must be in your plan’s allowed tiers.

Response

Returns a text/event-stream with NDJSON events. Each line is prefixed with data: and contains a JSON object.
string
Current deployment phase: validate, artifact, upload, deploy, discovery.
string
Phase status: running, passed, complete, ready, failed, needs_metadata.
string
Error message when status is failed.
string
Deployment ID, present when status is ready.