Aller au contenu principal

GET /api/zeq/agent/list

Caller's agent inventory. Returns alive + recent (last 24h) agents with their ZIDs, slugs, generations, and current state.

Auth

Authorization: Bearer zeq_ak_… or cookie session.

Cost

0 ZEQ. Pure read.

Request

curl https://YOUR-FRAMEWORK/api/zeq/agent/list \
-H "Authorization: Bearer zeq_ak_..."

Response · 200 OK

{
"ok": true,
"agents": [
{
"agent_id": "5b7a9c12-...",
"agent_zid": "ZID-9ad838d5",
"slug": "zeq07090490306",
"problem": "shielding for Mars transit",
"alive": true,
"generation": 2,
"best_fitness": 0.0089,
"created_at": "2026-05-10T13:00:00Z"
}
/* …more rows, alive first */
],
"count": 7
}