Sandbox API

Postman collection

Download a collection covering every route the platform serves, with job ids that chain between requests.

The collection covers every operation in this reference — CodeEdit, Agent, Harbor, and Sandboxes — grouped so you can find things without hunting numbered folders.

Download

FileWhat it is
CollectionThe requests. Import this once.
Dev environmentPoints at sandbox-dev.turing.com. Start here.
Prod environmentPoints at sandbox-task.turing.com.
Local environmentFor make up on your own machine, with local dev credentials filled in.

In Postman: Import → drop in the collection and one environment → select that environment in the picker at the top right.

First five minutes

  1. Paste your platform key into SANDBOX_API_KEY. Sandbox Dev already sets tenant_id / project_id. For Admin / KeyHive also set SANDBOX_ADMIN_API_KEY. Keycloak Bearer is optional. Override only if you use a different project.
  2. Set llm_credential_mode to match the cluster (default keyhive on hosted envs). Use gateway only when the cluster runs Gateway egress.
  3. Open Start here → Quickstart and send top → bottom.
  4. For compute quotas (and KeyHive BYOK), set SANDBOX_ADMIN_API_KEY and use Admin.
llm_credential_modeLLM BYOK
keyhive (default)Admin → Quotas & credential plane → Credential plane (KeyHive) — create team / append keys. Set provider_api_key.
gatewayProvision BYOK on LLM Gateway. Sandbox credential-plane folder asserts HTTP 410.

Set new_tenant_id / new_project_id when changing the project you manage for quotas. Consumer routes auto-activate new_* when they differ from tenant_id / project_id.

Folders

FolderCovers
Start hereQuickstart, gateway health/docs, auth samples
AdminCompute quotas; KeyHive BYOK or Gateway 410 smokes; onboard tenancy
HarborOps, v2 (preferred), v2 deliver, v1, unversioned
SSELive Harbor/Agent job event streams (Send and Download)
AgentCatalog, runs, status, events, options
Code EditCatalog + code executions
SandboxesLong-lived sandbox lifecycle
Cloud IDEide-ubuntu — session keys under KeyHive; Gateway hints under gateway mode
LocalDirect service ports — make up only

Regenerating

The JSON is generated from OpenAPI (make docs). Edit scripts/generate_postman.py, never the published files by hand.