Skip to main content
You need a Styne API key; create one on the dashboard (API keys).

The one line

The routes are served under /boat/v1 on the Styne API and take the key as Authorization: Bearer. boat’s own base URL is https://boat.dev/api/v1 (source: docs.boat.dev quickstart, read 2026-11-08). For the SDKs the same value goes into the host of their Configuration, and the key into access_token.

Operations that work

How the account calls map

  • The account routes act as the member who made the key, with the key’s preset: a key with the full preset reads and changes the account, keys.manage is needed for API keys. A key acts in its own account; /orgs lists the accounts its member belongs to.
  • Secrets are the variables (envContents, .env text) and secret files of the account’s default environment, which a new sandbox starts with. Secret file contents are write-only: a read lists each file’s path with empty contents.
  • An environment’s id is a UUID that stays the same for the environment’s life; its name is lowercase letters, digits, - and _. A create’s environment picks the environment by name (base is the account’s default). An environment is applied when a sandbox starts, so upgrade reports the version every new sandbox gets.
  • A repository is named by its full name (owner/name) as /repos lists it.
  • Webhook events: sandbox.ready, sandbox.error, sandbox.archived (stopped, timed out or deleted), sandbox.recovered and sandbox.hydrated (resumed), sandbox.degraded (an error).
  • Credential ids: anthropic-api-key, openai-api-key, openrouter-api-key, deepseek-api-key, moonshot-api-key, mistral-api-key, xai-api-key. The AI proxy sends a stored key only to these providers at their fixed addresses; another API’s key goes into an environment variable, and custom-apis answers 400 invalid_credential saying so.
  • Every member of an account reaches its sandboxes: share answers the sandbox, while unshare and newSandboxesPrivate: true answer 409 account_shared. A saved snapshot starts sandboxes of its own account, so snapshot shares answer 409 account_scoped with the way to hand one over.
  • desktop starts Xfce on a virtual screen with x11vnc and noVNC and answers a URL of port 6080 that carries the session’s VNC password. Sandboxes of the desktop template have it at once; in another sandbox the first call installs it and answers provisioning: true.
A sandbox a client sees as ready is running; one it sees as archived is stopped and resumes with its disk. Errors come as {"ok": false, "type": "sandbox.error", "status", "code", "message", "error", "requestId"}.