GET /api/v1/cycles/status
Cron Status
Cron + last/next run summary. Settings-derived; future Cron service
SPEC will replace with real cron state from a cron_runs table.
Auth: Authorization: Bearer <token> required
Request
Section titled “Request”curl -sS -X GET "https://entherium.duckdns.org:8443/api/v1/cycles/status" \ -H "Authorization: Bearer <token>"Response 200
Section titled “Response 200”The contract carries no example for this response; schema: CronStatus. Field-level shape: interactive explorer.
Returns
Section titled “Returns”CronStatus — Successful Response
| Field | Type | Description |
|---|---|---|
last_run_at | string | null | |
last_run_label | string | |
last_run_status | "ok" | "warn" | "fail" | "unknown" | |
next_run_at | string | |
next_run_in_seconds | integer | |
paused_sc_ids | array of integer | |
schedule | string | |
timezone | string |
Parameters
Section titled “Parameters”None.
Errors
Section titled “Errors”| Code | Meaning | Body |
|---|---|---|
401 | Missing or invalid authentication credentials | ErrorResponse |
Every error body is {detail, code?, request_id, doc_url} — request_id is the value to quote, doc_url points at the Errors reference.