API: agent
GET /api/v1/agent/pool
Заголовок раздела «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.
Авторизация: нужен Authorization: Bearer <token>
Ответы:
| Код | Смысл | Тело |
|---|---|---|
200 | Successful Response | массив object |
401 | Missing or invalid authentication credentials | ErrorResponse |
GET /api/v1/agent/quota
Заголовок раздела «GET /api/v1/agent/quota»Agent Quota
the agent’s concurrency budget: cap, in-flight, remaining.
Авторизация: нужен Authorization: Bearer <token>
Ответы:
| Код | Смысл | Тело |
|---|---|---|
200 | Successful Response | object |
401 | Missing or invalid authentication credentials | ErrorResponse |