Skip to main content

Agent

18 live operations under /api/agent. 18 require a machine key; 0 are public. Tagged: Accounts & Keys.

MethodPathWhat it doesAuth
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/draftUpserts the draft for (agent, slug).key
GET/api/agent/{zid}/plans/history—key
POST/api/agent/{zid}/plans/lockPromotes the current draft (or the body shape) to a new locked version.key
GET/api/agent/{zid}/sandbox/quotaCheap snapshot of the rolling-24h quota window.key
POST/api/agent/{zid}/sandbox/runmachine context). Always returns 200 with `{ ok, ...key
GET/api/agent/{zid}/sandbox/runsReturns 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.