# Blockrun AI Sandbox Terminate

> Blockrun AI Sandbox Terminate is a paid API for AI agents from sol.blockrun.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-12-02).

Terminates a running sandbox environment and releases all associated compute resources.

## Facts

- Endpoint: POST https://sol.blockrun.ai/api/v1/modal/sandbox/terminate?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-12-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/blockrun-ai-sandbox-terminate-99196f39
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_yk5ZVW1_ACBp3qS4WGcM9

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-sandbox-terminate-99196f39 -d '<json body>'
```

Example prompt: Terminate sandbox sb-abc123 and release all its resources — I'm done running code in it.

## When to prefer this

Use this endpoint when you have a running Modal sandbox (created via Blockrun AI's sandbox infrastructure) that you need to shut down and free resources from — particularly after completing a code execution task, to avoid ongoing resource consumption or costs. Prefer this over simply abandoning a sandbox, as it ensures clean resource deallocation.

## Known failure modes

- Sandbox ID not found or already terminated — returns 404 or error status
- Sandbox still initializing and cannot be terminated yet
- Authentication or payment failure — x402 payment not accepted
- Network timeout during termination request
- Sandbox in an unrecoverable state preventing clean termination

## How this service works

Terminate a running sandbox and release its resources.

## Output

A confirmation that the sandbox has been terminated and its compute resources have been released, typically including the sandbox ID and final status.

## More

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