Skip to Content

Quickstart

Create your first sandbox through Sandcovery on your own provider account.

Sandcovery is one API for ephemeral sandboxes across every routed provider. You bring your own provider keys, and Sandcovery routes each create to a provider, falls back when a create fails, and destroys every sandbox at its TTL.

Create an account and an organization

Sign up, and Sandcovery creates your organization, named after you. Rename it from the organization menu in the dashboard. API keys, provider credentials, sandboxes, credits, and Pro belong to the organization, not to a person.

Add a provider credential

Open Provider Credentials in the dashboard and add the key of at least one provider account you own. Sandcovery encrypts each credential at rest and never returns it. See Provider credentials for what each provider needs.

Create an API key

Open API Keys and create a key. The dashboard shows the full key once, so copy it then. Keys start with ak_.

export SANDCOVERY_API_KEY=ak_...

Create a sandbox

curl https://www.sandcovery.com/api/v1/sandboxes \
  -H "Authorization: Bearer $SANDCOVERY_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{ "slug": "sandcovery/2x4", "ttl_seconds": 600 }'

The response names the provider Sandcovery picked, the sandbox ID (sbx_ plus a UUID), and every create attempt it made.

Run a command and clean up

Run commands, read and write files, and open preview URLs through the same API. See Sandboxes.

When you are done, destroy the sandbox. If you forget, Sandcovery destroys it when its TTL ends, even if your client has exited.

Next steps

  • Routing: choose providers by price, start latency, or uptime.
  • API keys: set spend limits, provider allowlists, and concurrency caps.
  • SDKs and CLI: use TypeScript, Python, or the command line.
  • Agent frameworks: give an AI SDK, OpenAI Agents SDK, LangChain Deep Agents, Mastra, LlamaIndex, or Claude Agent SDK agent a sandbox.