API: errors
GET /api/v1/errors
Section titled “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
| Parameter | In | Required | Type | 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 | only errors captured at/after this UTC time |
limit | query | no | integer |
Responses:
| Code | Meaning | Body |
|---|---|---|
200 | Successful Response | array of ErrorEventRead |
401 | Missing or invalid authentication credentials | ErrorResponse |
422 | Validation Error | HTTPValidationError |
Example 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" }]