Kabin

Kabin documentation

Everything you need to create sandboxes, run code in them and operate them from agents and pipelines.

Quickstart

From an API key to a command running in a sandbox, with curl, Python and TypeScript.

Open the quickstart

API reference

Every route of the public API with request and response shapes.

Open the API reference

API keys

Scoped keys, presets, expiry, rotation.

Open API keys

Billing

Plan, wallet, grace period and the account routes.

Open billing

Limits

Concurrency, start rates, sizes, quotas and retention.

Open limits

Errors

The error format and every error code with advice on retrying.

Open errors

Webhooks

Signed events for sandbox state changes.

Open webhooks

CLI and SDKs

The command-line client and the Python and TypeScript SDKs.

CLI, Python, TypeScript

Conventions

  • Base URL: https://api.kabin.dev. Public routes live under /api/v1.
  • Authentication: Authorization: Bearer <api-key> on every call.
  • Everything is JSON; timestamps are ISO 8601 in UTC.
  • Pages and features marked planned are not available yet.