# Get Daytona Sandbox by ID

> Get Daytona Sandbox by ID is a paid API for AI agents from daytona.withzero.ai, price unknown, status unknown (last checked 2026-09-14).

Retrieves the current status and details of a specific ephemeral Daytona sandbox by its ID.

## Facts

- Endpoint: GET https://daytona.withzero.ai/v1/sandboxes/:id
- Price: price unknown
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 1
- Provider: daytona.withzero.ai
- Website: https://daytona.withzero.ai
- Canonical page: https://www.zero.xyz/c/daytona-withzero-ai-id-161c5f31
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_YOdKwwhMLDgGxQussfPVm

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability daytona-withzero-ai-id-161c5f31
```

Example prompt: Check the current status and details of my Daytona sandbox with ID sandbox-abc123 — I want to know if it's still running and what its configuration looks like.

## When to prefer this

Use this endpoint when you need to check the live status or retrieve metadata for a specific sandbox you already provisioned. Ideal for polling sandbox readiness before executing code or checking whether a sandbox is still alive within its 30-minute window.

## Known failure modes

- Sandbox ID not found — returns 404 if the sandbox does not exist or has already been destroyed
- Unauthorized — returns 401/403 if the payment or auth credential is missing or invalid
- Sandbox expired — the 30-minute ephemeral window has passed and the sandbox no longer exists
- Invalid ID format — malformed sandbox ID returns 400

## Output

Returns a JSON object containing the sandbox's current status, configuration, and metadata such as resource allocation, state (running, stopped, etc.), and timing information for the ephemeral environment.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {},
 "description": "No body parameters required. The endpoint provisions a fixed-spec sandbox (1 CPU, 1 GB RAM, 30 minutes) with no configuration needed.",
 "additionalProperties": false
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/daytona-withzero-ai-id-161c5f31/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from daytona.withzero.ai](https://www.zero.xyz/host/daytona.withzero.ai/llms.txt)
