Prompt Sandbox
Queue a natural-language work item for an agent harness (Codex, Claude Code, pi, OpenCode, or Prime Agent) inside the sandbox. Observe progress with GET /sandboxes/{sandboxId}/events.
A Sandbox runs many conversations in parallel. Set new: true to start a fresh one, conversationId to continue a specific one, or omit both to continue the most-recently-active conversation; the response returns the conversationId. See Integrated agents.
Authorizations
Boat bearer token in the form boat_.... Service API keys authenticate sandbox operations.
Path Parameters
Public Sandbox id returned by create/list/get sandbox calls.
^bx_[23456789abcdefghjkmnpqrstuvwxyz]{8}$Body
Work item to queue inside an existing sandbox. Provider credentials must already be configured in the Boat dashboard.
Providers (harnesses): codex, claude-code (alias claude), pi, opencode, prime-agent (alias prime), kimi (Kimi Code CLI, alias kimi-code), mistral (Mistral Vibe). Omit provider to use the harness the user selected on the Agents dashboard.
Models & reasoning effort are harness- and model-specific and change over time. Fetch the live catalog (every provider's models and which reasoning-effort levels each accepts) from GET /provider-models. Some models accept no reasoning control. pi, opencode and prime-agent also expose models routed through OpenRouter and llmgateway (ids like openrouter:anthropic/claude-sonnet-4.5).
Conversations: a sandbox runs many conversations in parallel, each with its own history. Set new: true to start a fresh conversation, or conversationId to continue a specific one; omit both to continue the sandbox's most-recently-active conversation. The response returns the conversationId this prompt ran in. Conversations run concurrently up to a per-sandbox limit that scales with the sandbox's memory; beyond it, prompts queue.
codex, claude-code, claude, pi, opencode, prime-agent, prime, kimi, kimi-code, mistral Natural-language task for the sandbox, including repo, preview, or browser-use instructions.
1Optional provider model id from GET /provider-models. Omit to use the model selected for that harness on the Agents dashboard. Unknown explicit ids are currently forwarded rather than rejected by request validation.
"gpt-5.6-terra"
"claude-sonnet-5"
"openrouter:anthropic/claude-sonnet-4.5"
Optional reasoning/thinking level (e.g. none, low, medium, high, xhigh, max). Which levels a given model accepts is listed per model in GET /provider-models; some models accept none.
"high"
Optional. true runs this prompt in fast mode. The model stays the same and gives output faster. The provider bills fast mode at its higher fast rate. Omit to use the choice saved on the Agents dashboard for that model. false forces standard speed. Only models with fastMode set to true in GET /provider-models accept true. Other models return 400 fast_mode_not_supported.
true
Start a NEW conversation on the sandbox (runs in parallel with any existing ones) instead of continuing the most-recently-active one. Mutually exclusive with conversationId.
true
Continue a specific conversation by id (as returned by a previous prompt). Omit (and omit new) to continue the sandbox's most-recently-active conversation.
Response
Prompt queued.
true
Stable success envelope discriminator added by v1.
"prompt.queued"Sandbox id.
queued The conversation this prompt was queued in. A new one when new was set, the one named by conversationId, or the sandbox's most-recently-active conversation. See Integrated agents.
The prompt runs in fast mode.