GET /api/v1/cycles/today
Today Funnel
Funnel summary for today’s auto-cycle, plus per-SC breakdown.
Derived from:
pipeline_runrows created today (≈ runs started)generated_articlescount by status (pending / ready / live)salescontractsfor per-SC grouping
Авторизация: нужен Authorization: Bearer <token>
curl -sS -X GET "https://entherium.duckdns.org:8443/api/v1/cycles/today" \ -H "Authorization: Bearer <token>"Ответ 200
Заголовок раздела «Ответ 200»В контракте нет примера для этого ответа; схема: TodayFunnel. Поля — в интерактивном обозревателе.
Возвращает
Заголовок раздела «Возвращает»TodayFunnel — Successful Response
| Поле | Тип | Описание |
|---|---|---|
by_sc | массив FunnelBySc | |
collected | integer | |
date | string | |
eligible | integer | |
failed_step | object | |
fed | integer | |
finished_at | string | null | |
generated | integer | |
published | integer | |
ranked | integer | |
started_at | string | null | |
verified | integer |
Параметры
Заголовок раздела «Параметры»Нет.
| Код | Смысл | Тело |
|---|---|---|
401 | Missing or invalid authentication credentials | ErrorResponse |
Тело любой ошибки — {detail, code?, request_id, doc_url}: request_id — что цитировать, doc_url ведёт в Справочник ошибок.