API: errors
GET /api/v1/errors
Заголовок раздела «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.
Авторизация: нужен Authorization: Bearer <token>
| Параметр | Где | Обязателен | Тип | Описание |
|---|---|---|---|---|
source | query | нет | string | null | filter by capture source |
operation | query | нет | string | null | filter by stable operation label |
since | query | нет | string | null | only errors captured at/after this UTC time |
limit | query | нет | integer |
Ответы:
| Код | Смысл | Тело |
|---|---|---|
200 | Successful Response | массив ErrorEventRead |
401 | Missing or invalid authentication credentials | ErrorResponse |
422 | Validation Error | HTTPValidationError |
Пример ответа (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" }]