POST /api/agent/:zid/sandbox/run
machine context). Always returns 200 with { ok,... }; non-zero exit_code (1, 124, 137) means the Python failed but the call itself completed successfully — clients render the receipt either way.
| Method | POST |
| Path | /api/agent/:zid/sandbox/run |
| Auth | user |
| Group | Agents · Agent Sandbox |
Request
curl -X POST https://zeqsdk.com/api/agent/ZEQ7XXXXXXXXXXXXXXXXXXXXXX/sandbox/run \
-H "Authorization: Bearer $ZEQ_KEY" \
-H "Content-Type: application/json" \
-d '{ }' # request body — see description
Needs a machine key — mint one free:
curl -X POST https://zeqsdk.com/api/demo-key/mint, then spin up your machine.
Generated from the node's own route registry (GET /api/endpoints) — this path is live.