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/currentkey
GET/api/agent/{zid}/plans/draftkey
POST/api/agent/{zid}/plans/draftUpserts the draft for (agent, slug).key
GET/api/agent/{zid}/plans/historykey
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/attachkey
POST/api/agent/{zid}/skills/detachkey
GET/api/agent/{zid}/skillskey
GET/api/agent/{zid}/statekey
PATCH/api/agent/{zid}/statekey
GET/api/agent/files/historykey
GET/api/agent/files/listkey
GET/api/agent/files/readkey
POST/api/agent/files/writekey

Generated by scripts/generate-reference.mjs from https://zeq.me/openapi.json.