Build & test environments with hard TTLs, typed failure causes, export-that-survives-teardown, and per-second metering. Everything non-preemptible. Version 0.1.0. Generated from the OpenAPI spec. Machine-readable at /openapi.json, also served live by the control plane at GET /openapi.json. Auth is a bearer key: Authorization: Bearer nk_.... Errors carry typed causes: {"detail": {"cause", "message"}}.
/v1/templatesCreate Template
Request body
| name* | string | |
| source* | TemplateSource |
/v1/templatesList Templates
/v1/templates/{tpl_id}Get Template
/v1/romsCreate Rom
Request body
| name* | string | |
| files* | object | path -> utf-8 content. Bundled into a read-only, content-addressed tar mounted at /rom. |
/v1/capacityGet Capacity
/v1/reservationsCreate Reservation
Request body
| vcpu* | integer | |
| mem_gib* | number | |
| count* | integer | |
| duration_minutes | integer | |
| labels | object |
/v1/sandboxesCreate Sandbox
Request body
| template_id | object | |
| image | object | |
| rom_id | object | |
| vcpu | integer | |
| mem_gib | number | |
| ttl_seconds | integer | 0 = platform default; enforced server-side, absolute |
| launch_token | object | idempotency key |
| labels | object | |
| network | NetworkPolicy | |
| env | object | |
| export | object |
/v1/sandboxesList Sandboxes
/v1/sandboxes/{sb_id}Get Sandbox
/v1/sandboxes/{sb_id}Destroy Sandbox
/v1/sandboxes/{sb_id}/eventsSandbox Events
/v1/sandboxes/{sb_id}/execExec In Sandbox
Request body
| command* | string | |
| timeout_sec | number | |
| cwd | object | |
| env | object | |
| user | object |
/v1/sandboxes/{sb_id}/logsSandbox Logs
/v1/sandboxes/{sb_id}/suspendSuspend Sandbox
/v1/sandboxes/{sb_id}/resumeResume Sandbox
/v1/sandboxes/{sb_id}/exportExport From Sandbox
Export a path from the sandbox — including after it terminated. This is the primitive that kills the reaped-mid-upload failure class.
Request body
| path* | string | |
| to | object | s3://bucket/prefix or blank for the hosted artifact store |
/v1/sandboxes/{sb_id}/filesPut File
Request body
| path* | string | |
| content_b64* | string |
/v1/sandboxes/{sb_id}/filesGet File
/v1/usageGet Usage
/v1/pricingGet Pricing
/v1/healthzHealthz