# Daytona Ephemeral Sandbox Provisioner

> Daytona Ephemeral Sandbox Provisioner is a paid API for AI agents from daytona.withzero.ai, paid per call via MPP, $0.050000/call, status unknown (last checked 2026-09-15).

Provisions a short-lived Daytona development sandbox (1 CPU, 1 GB RAM) for 30 minutes and returns its sandbox ID

## Facts

- Endpoint: POST https://daytona.withzero.ai/v1/sandboxes
- Price: $0.050000/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Provider: daytona.withzero.ai
- Website: https://daytona.withzero.ai
- Canonical page: https://www.zero.xyz/c/daytona-withzero-ai-sandboxes-7113b0ee
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_--zFdVn0_WoVu9nZg1njV

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-sandboxes-7113b0ee -d '<json body>'
```

Example prompt: Spin up a fresh Daytona ephemeral sandbox for me — I need an isolated environment with 1 CPU and 1 GB RAM for the next 30 minutes to run some code.

## When to prefer this

Choose this endpoint when you need a fresh, isolated, ephemeral compute environment for code execution or testing and want it billed per-call via USDC micropayment (x402/MPP). Ideal for AI agents that need to run untrusted code, perform sandboxed computations, or test scripts in a clean environment without maintaining persistent infrastructure.

## Known failure modes

- Payment failure or insufficient USDC balance — sandbox not created
- Resource capacity exceeded — service returns error indicating unavailability
- Invalid or missing authentication/payment token — 401 or 403 response
- Timeout during provisioning — sandbox may not be ready
- Sandbox quota reached for the wallet — provisioning rejected

## How this service works

Provision an ephemeral Daytona sandbox (1 CPU, 1 GB RAM) for 30 minutes. Returns the sandbox id; fetch a port-preview URL on demand.

## Output

Returns a JSON object containing the sandbox ID of the newly provisioned ephemeral Daytona sandbox, which can then be used to fetch port-preview URLs, inspect sandbox status, or tear it down early via related endpoints.

## Example request

```json
{}
```

## 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",
 "required": [
  "sandboxId",
  "name",
  "state",
  "pollUrl",
  "expiresAt"
 ],
 "properties": {
  "name": {
   "type": "string"
  },
  "state": {
   "type": "string"
  },
  "pollUrl": {
   "type": "string"
  },
  "expiresAt": {
   "type": "number"
  },
  "sandboxId": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/daytona-withzero-ai-sandboxes-7113b0ee/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)
