Agent
18 live operations under /api/agent. 18 require a machine key; 0 are public. Tagged: Accounts & Keys.
| Method | Path | What it does | Auth |
|---|---|---|---|
GET | /api/agent/{zid}/plans/{planId} | — | key |
GET | /api/agent/{zid}/plans/current | — | key |
GET | /api/agent/{zid}/plans/draft | — | key |
POST | /api/agent/{zid}/plans/draft | Upserts the draft for (agent, slug). | key |
GET | /api/agent/{zid}/plans/history | — | key |
POST | /api/agent/{zid}/plans/lock | Promotes the current draft (or the body shape) to a new locked version. | key |
GET | /api/agent/{zid}/sandbox/quota | Cheap snapshot of the rolling-24h quota window. | key |
POST | /api/agent/{zid}/sandbox/run | machine context). Always returns 200 with `{ ok, ... | key |
GET | /api/agent/{zid}/sandbox/runs | Returns the most recent runs for the agent, newest first. | key |
POST | /api/agent/{zid}/skills/attach | — | key |
POST | /api/agent/{zid}/skills/detach | — | key |
GET | /api/agent/{zid}/skills | — | key |
GET | /api/agent/{zid}/state | — | key |
PATCH | /api/agent/{zid}/state | — | key |
GET | /api/agent/files/history | — | key |
GET | /api/agent/files/list | — | key |
GET | /api/agent/files/read | — | key |
POST | /api/agent/files/write | — | key |
Generated by scripts/generate-reference.mjs from https://zeq.me/openapi.json.