API: ops
GET /api/v1/ops/image-references
Заголовок раздела «GET /api/v1/ops/image-references»Get Image References
Image URLs referenced by articles + plan-vs-generated gaps.
Feed for the image-generation usage reconciler.
Авторизация: нужен Authorization: Bearer <token>
| Параметр | Где | Обязателен | Тип | Описание |
|---|---|---|---|---|
sc_id | query | нет | integer | null | |
page | query | нет | integer | |
page_size | query | нет | integer |
Ответы:
| Код | Смысл | Тело |
|---|---|---|
200 | Successful Response | ImageReferencesPage |
401 | Missing or invalid authentication credentials | ErrorResponse |
422 | Validation Error | HTTPValidationError |
POST /api/v1/ops/orchestrator/heartbeat
Заголовок раздела «POST /api/v1/ops/orchestrator/heartbeat»Post Orchestrator Heartbeat
Record the gen-orchestrator’s per-tick heartbeat (targets/active/note).
Авторизация: нужен Authorization: Bearer <token>
| Параметр | Где | Обязателен | Тип | Описание |
|---|---|---|---|---|
Idempotency-Key | header | нет | string | Optional. |
Тело запроса: application/json — схема OrchestratorHeartbeatIn
| Поле | Тип | Обязательно | Описание |
|---|---|---|---|
active | object | null | нет | |
note | string | null | нет | |
targets | object | null | нет | |
tick_s | integer | null | нет |
Ответы:
| Код | Смысл | Тело |
|---|---|---|
204 | Successful Response | — |
401 | Missing or invalid authentication credentials | ErrorResponse |
422 | Validation Error | HTTPValidationError |
GET /api/v1/ops/overview
Заголовок раздела «GET /api/v1/ops/overview»Get Overview
Live platform ops snapshot — poll this (3-5s) to watch the whole platform.
Авторизация: нужен Authorization: Bearer <token>
Ответы:
| Код | Смысл | Тело |
|---|---|---|
200 | Successful Response | OpsOverview |
401 | Missing or invalid authentication credentials | ErrorResponse |