Skip to main content
The API uses sessionId as the identifier for a customer-visible sandbox. Lifecycle requests use a workspace bearer key and the https://api.archal.ai origin.

List environments

Use this response instead of hard-coding availability, capabilities, state contracts, or certification admission.

Create

Idempotency-Key is required and must be 200 characters or fewer. A successful create returns 201. The sandbox may still be starting, with null connections until readiness.

Inspect and wait

Poll with bounded backoff until every selected environment has status: ready and the sandbox reports alive: true. Stop on failed, ended, or expired. Ready connections contain apiBaseUrl, optional mcpUrl, and scoped credentials.headers. Do not call the data plane with the workspace key.

List

The list is workspace-scoped and capped by server policy.

Renew

Read the returned expiry, lease, and refreshed connections. Renewal can rotate provider credentials.

Reset

Reset one environment through its more specific endpoint:

Destroy

Wait for physical teardown and return 204:
Or request fast durable acceptance and return 202:
Asynchronous acceptance stops billing after teardown intent is durable. Physical deletion continues separately and can be checked through the status endpoint.