Skip to main content
POST
Deprecated. This endpoint conflates sandbox lifecycle with dev-server orchestration. New integrations should use POST /api/v2/sessions/{id}/start, which only handles sandbox lifecycle, plus POST /api/v2/sessions/{id}/connect when you need a preview URL for a specific port.
Cold-starts a session that was created but hasn’t been started. Provisions the sandbox and transitions the session to active. Required scope: sessions:write

Path Parameters

string
required
The session ID (e.g. ses_abc123).

Headers

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

Response

Returns the updated session object with state: "active".
string
Session ID.
string
Updated state (active).
string
URL of the provisioned sandbox.