GET /api/v1/errors
List Errors
Recent captured runtime errors, newest first.
Lets an operator answer “what just broke” without trawling the JSON log
stream — the durable counterpart to the structlog error_captured event.
Auth: Authorization: Bearer <token> required
Request
Section titled “Request”curl -sS -X GET "https://entherium.duckdns.org:8443/api/v1/errors" \ -H "Authorization: Bearer <token>"Response 200
Section titled “Response 200”[ { "context": { "run_guid": 1842, "trace_id": "6f1c…" }, "createtime": "2026-09-03T02:31:12Z", "error": "chart render timed out after 60s", "exc_type": "ImageRenderError", "guid": 90412, "operation": "generate.step_13_images", "source": "batch" }]Returns
Section titled “Returns”array of ErrorEventRead — Successful Response
| Field | Type | Description |
|---|---|---|
context | object | null (opt.) | |
createtime | string | |
error | string | |
exc_type | string | |
guid | integer | |
operation | string | |
source | string |
Parameters
Section titled “Parameters”| Parameter | In | Required | Type | Default | Constraints | Description |
|---|---|---|---|---|---|---|
source | query | no | string | null | — | — | filter by capture source |
operation | query | no | string | null | — | — | filter by stable operation label |
since | query | no | string | null | — | date-time | only errors captured at/after this UTC time |
limit | query | no | integer | 100 | min 1; max 500 |
Errors
Section titled “Errors”| Code | Meaning | Body |
|---|---|---|
401 | Missing or invalid authentication credentials | ErrorResponse |
422 | Validation Error | HTTPValidationError |
Every error body is {detail, code?, request_id, doc_url} — request_id is the value to quote, doc_url points at the Errors reference.