API: agent
GET /api/v1/agent/pool
Section titled “GET /api/v1/agent/pool”Agent Pool
per-contract digest of the agent’s pool: in-flight runs, last run, article status counts. One call instead of N cockpit calls.
Auth: Authorization: Bearer <token> required
Responses:
| Code | Meaning | Body |
|---|---|---|
200 | Successful Response | array of object |
401 | Missing or invalid authentication credentials | ErrorResponse |
GET /api/v1/agent/quota
Section titled “GET /api/v1/agent/quota”Agent Quota
the agent’s concurrency budget: cap, in-flight, remaining.
Auth: Authorization: Bearer <token> required
Responses:
| Code | Meaning | Body |
|---|---|---|
200 | Successful Response | object |
401 | Missing or invalid authentication credentials | ErrorResponse |