Saltar al contenido principal

GET /api/zeq/agent/status/:id

Read one agent's current state. Includes the last tick result so clients can resume rendering without replaying history.

Auth

Authorization: Bearer zeq_ak_…. Viewer+ on the agent's chain.

Cost

0 ZEQ. Pure read.

Request

curl https://zeqapi.com/api/zeq/agent/status/5b7a9c12-... \
-H "Authorization: Bearer zeq_ak_..."

Response · 200 OK

{
"ok": true,
"agent": {
"agent_id": "5b7a9c12-...",
"agent_zid": "ZID-9ad838d5",
"slug": "zeq07090490306",
"problem": "shielding for Mars transit",
"alive": true,
"generation": 2,
"best_fitness": 0.0089,
"operators": ["KO42", "GR34", "QM7"],
"last_tick_at": "2026-05-10T13:08:32Z",
"created_at": "2026-05-10T13:00:00Z",
"credential_id": "5b7a9c12-..."
},
"last_result": { /* full ZeqState from the last tick */ }
}

Errors

StatusCodeCause
404agent_not_foundBad UUID.
403not_chain_memberCaller isn't viewer+ on the agent's chain.