Create Sandbox Session
Create Sandbox Session
Claim a warm sandbox pod or create a new one. Requires project_id (or environment_id) — the sandbox is billed to that project.
POST
Create Sandbox Session
Authorizations
Use a JWT bearer token or a Veryfront API key in the Authorization header.
Body
application/json
Optional project ID. When set, the project owner is billed.
Optional environment ID. When set, its variables are copied once into the sandbox session.
Sandbox lifetime policy. default uses platform idle/max lifetime cleanup.
Available options:
default, duration, always_on Required when ttl_mode is duration. Number of hours before cleanup, up to 24.
Required range:
0 < x <= 24Response
Sandbox session created.
Available options:
pending, provisioning, running, error, deleting Available options:
default, duration, always_on Required range:
x > 0