codai Sandboxes API

Agent sandboxes: isolated gVisor containers (backend `v2` by default: long-lived GKE pods with pause/resume, fork, a persistent Python kernel and preview URLs; `v1` on Cloud Run on request) with a persistent `/workspace` where agents run Python, bash and LibreOffice, then hand back files from `/workspace/out` as scanned, signed artifacts. No network by default (egress only through an allowlisting proxy), no codai secrets inside, every exec audited with a reproducibility receipt. Needs tool level `l3_sandbox`. Billing: v2 EUR 0.10 per running wall-clock hour after 5 free hours per user per month, paused snapshots EUR 0.05/GB-month; v1 EUR 0.10/exec-hour after 10 free hours.

GitHub OpenAPI

Operations 17

POST /v1/sandboxes Create a sandbox #
GET /v1/sandboxes List your sandboxes #
POST /v1/sandboxes/run Run once in a throwaway sandbox #
GET /v1/sandboxes/{id} Get a sandbox #
DELETE /v1/sandboxes/{id} Destroy a sandbox #
POST /v1/sandboxes/{id}/exec Run a command in a sandbox #
GET /v1/sandboxes/{id}/files List workspace files #
PUT /v1/sandboxes/{id}/files/{path} Upload a file #
GET /v1/sandboxes/{id}/files/{path} Download a file #
GET /v1/sandboxes/{id}/artifacts Collect artifacts #
POST /v1/sandboxes/{id}/snapshot Snapshot the workspace #
POST /v1/sandboxes/{id}/run_code Run code in the persistent kernel (v2) #
POST /v1/sandboxes/{id}/kernel/reset Restart the kernel (v2) #
POST /v1/sandboxes/{id}/pause Pause a sandbox (v2) #
POST /v1/sandboxes/{id}/resume Resume a paused sandbox (v2) #
POST /v1/sandboxes/{id}/fork Fork a running sandbox (v2) #
POST /v1/sandboxes/{id}/preview Get a preview URL for a port (v2) #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/codai-ro:codai-ro-sandboxes-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

codai-ro-sandboxes-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Codai Ro Sandboxes API
  version: '1'
  description: 'Operations tagged Sandboxes across 2 of this provider''s published API definitions: codai-ro-gateway-openapi.json, codai-ro-gateway-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://ai.codai.ro
  description: Production
security:
- bearerAuth: []
tags:


# --- truncated at 32 KB (56 KB total) ---
# Full source: https://artifacts.apis.io/codai-ro/openapi/codai-ro-sandboxes-api-openapi.yml