Skip to main content
POST
Creates a new sandbox session pre-loaded with the template’s current state, allowing an agent to diagnose and fix build failures or configuration issues. The fix session includes the build transcript for context. Requires admin or owner role. Required scope: templates:write

Path Parameters

string
required
The template ID (e.g. tmpl_abc123).

Headers

string
required
Bearer token. Example: Bearer runtm_xxx
string
required
Organization ID.

Response

Returns 201 with the created fix session.
string
The fix session ID.
string
Session state (typically running).
string
The template this fix session is targeting.
string
Confirmation message.