Skip to main content
POST
Make your demo sandbox
Preview, OneCLI Cloud only. Takes a managing key (oc_key_...) or a signed-in session. onecli demo start calls it. See Demo sandbox. Makes a free demo sandbox on Boat and connects it, as one agent, to your Personal vault. It takes some seconds and answers once the box is connected. You get one, once. When you have one running, this answers 200 with it and makes nothing.
Availability: OneCLI Cloud only. A self-hosted deployment does not serve this endpoint and answers 404 with error.code: "not_found".Who can call: Any member of the organization, with a managing key (oc_key_...) that has the manage permission, or a signed-in session.

Authorizations

Authorization
string
header
required

A managing key (oc_key_...), an older API key (oc_...), or a signed-in session.

Headers

Idempotency-Key
string

Optional. 1 to 255 visible characters. A retry with the same key, path and body returns the first answer (with Idempotent-Replayed: true) for 24 hours. The same key with another path or body is 422 idempotency_conflict.

Required string length: 1 - 255

Response

The demo sandbox you already have. Nothing was made.

agentId
string
required

The agent the box is connected as.

agentName
string
required
createdAt
string
required

ISO 8601.

endsAt
string
required

ISO 8601. When the sandbox stops by itself.

id
string
required

The demo sandbox's id here. Never the provider's own id.

provider
enum<string>
required
Available options:
boat
state
enum<string>
required

The box runs and its agent is connected. A sandbox that ended, or that never connected, is not shown.

Available options:
connected
vaultId
string
required

Your Personal vault, which the box's agent is on.