# BlockRun.AI Sandbox Status Check

> BlockRun.AI Sandbox Status Check is a paid API for AI agents from blockrun.ai, paid per call via x402, $0.002000/call, status unknown (last checked 2026-09-13, last successful call 2026-07-22).

Check whether a sandbox environment is currently running or has been terminated, given its sandbox ID.

## Facts

- Endpoint: POST https://blockrun.ai/api/v1/modal/sandbox/status
- Price: $0.002000/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Last successful call: 2026-07-22
- Success rate: 100% of calls made through Zero
- Activations on Zero: 1
- Tags: x402
- Canonical page: https://www.zero.xyz/c/blockrun-ai-4b4f695a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_kcFpVWSb1nDqVUCfgBOwy

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 blockrun-ai-4b4f695a -d '<json body>'
```

Example prompt: Check the status of my BlockRun sandbox with ID 'sbx_abc123' — I need to know if it's still running or has been terminated.

## When to prefer this

Use this endpoint when you need to poll or verify the lifecycle state of a sandbox previously created via /sandbox/create on BlockRun.AI. Prefer this over alternatives when working within the BlockRun.AI Modal sandbox ecosystem and need a lightweight, cheap ($0.001) status check before sending further commands or determining whether to create a new sandbox.

## Known failure modes

- Invalid or unknown sandbox_id returns an error or not-found response
- Sandbox ID from a different user/session may be inaccessible
- Malformed request body missing sandbox_id field returns a validation error
- Sandbox that was never created returns a 404 or similar error
- Network timeout if the sandbox infrastructure is temporarily unavailable

## How this service works

Check sandbox status (running/terminated).

## Output

Returns the current lifecycle state of the specified sandbox — either 'running' or 'terminated' — allowing the agent to determine whether the sandbox is still active and usable.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "sandbox_id": {
   "type": "string",
   "description": "Sandbox ID from /sandbox/create"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/blockrun-ai-4b4f695a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from blockrun.ai](https://www.zero.xyz/host/blockrun.ai/llms.txt)
