Connect
Connect boat on Integrations, and CostGraph starts sandboxes in your boat account. You don’t run anything yourself.- In CostGraph, go to Integrations > Sandbox > boat.
-
Enter these fields:
- API key (
BOAT_API_KEY, required): A boat API key from the boat dashboard. - API URL (
BOAT_API_BASE, optional): A different boat API address, if you do not use the default.
- API key (
- Click Connect.
Your own dispatcher
To keep the key out of CostGraph or reach a private network, run your own dispatcher instead. Setprovider to boat and the preceding fields as environment variables, as described in Run your own dispatcher.
To see what boat costs, connect the boat integration.
Key and permissions
BOAT_API_KEY is a Boat API key (prefix boat_), created in the Boat dashboard or withboat api-key create <name> —preset ci“ (needs a browser session or an account.admin key). Keys expire after 90 days by default (max 365 days, or --ttl never).
Scoped by actions. Minimum: sandbox.create, sandbox.read, exec, and sandbox.delete-own (or sandbox.delete). The ‘ci’ preset covers exactly this (full-sandbox plus create/resume/fork/delete of the sandboxes the key created, no account admin). A key with no actions and no preset is an admin key.
Sources: docs.boat.dev: scopes, docs.boat.dev: create and list, docs.boat.dev: limits, docs.boat.dev: machines, docs.boat.dev: faq.
Limits
- Auto-stop defaults to 1 hour counted from create or last resume, not from activity; max 30 days or off (
boat extend <id>—hours N" or "--no-auto-stop). Trial: 2 hours max. (source) - API command calls that wait for a result: default timeout 30 s, max 600 s; longer work must run detached. (source)
- Sizes: small 2 vCPU/4 GB, default 4 vCPU/8 GB, large 8 vCPU/16 GB, xlarge 16 vCPU/32 GB (xlarge needs the $100 plan+). All sizes x86_64, no GPU. (source)
- Per-plan limits on concurrent sandboxes and starts per minute/hour/day; a full start limit returns 429 and the start does not queue. (source)