CodeSandbox SDK API
The CodeSandbox SDK provides programmatic access to spin up isolated Firecracker microVM-backed development environments and run untrusted code securely. It supports VM snapshotting and cloning in under 2 seconds, terminal and shell access, container support via Dockerfile, and Git/GitHub integration. Authenticated via API key token obtained from codesandbox.io/t/api and provided as CSB_API_KEY environment variable.
Documentation
Specifications
SDKs
Schemas & Data
JSONSchema
https://raw.githubusercontent.com/api-evangelist/codesandbox/refs/heads/main/json-schema/codesandbox-sandbox-schema.json
JSONSchema
https://raw.githubusercontent.com/api-evangelist/codesandbox/refs/heads/main/json-schema/codesandbox-vm-start-response-schema.json
JSONSchema
https://raw.githubusercontent.com/api-evangelist/codesandbox/refs/heads/main/json-schema/codesandbox-preview-token-schema.json
JSONSchema
https://raw.githubusercontent.com/api-evangelist/codesandbox/refs/heads/main/json-schema/codesandbox-meta-information-schema.json