Skip to main content
Manage environments and infrastructure. Configure domains, environment variables, and servers. Manage release asset manifests and inspect deployment records. Run commands synchronously, stream their output, or start background commands. Use the sandbox ID to access files, command results, and the terminal. Use the file endpoints and terminal endpoint to work in the same sandbox. Health, readiness, and heartbeat endpoints support sandbox monitoring. See WebSocket connections for terminal WebSocket access. Cache entries are read, written and deleted under /cache/entries. Environments · Servers · Sandboxes · Cache

Environments

Create and manage deployment environments. Use the environment ID when configuring deployments, domains, variables, or servers. Create, read, update, or delete domains for an environment. List, create, read, write, update, or delete environment variables.

Servers

Create, list, read, or delete dedicated servers. Without project_reference, these routes act on the servers you own; with it, on one project’s servers with that project’s checks. Link or unlink environments from a server. Create a server for an environment. POST /servers with project_reference runs the same checks.

Sandboxes

Create, list, get, update, or delete sandboxes. Get redacted environment snapshots. Run commands and inspect command output. Open a sandbox terminal. Check sandbox health, readiness, and heartbeat state.

Cache

List, read and write cache entries one at a time or in batches of up to 100, and delete one entry or every entry matching a pattern. Back to REST API reference