---
title: GET /api/v1/errors
description: List Errors
locale: ru
version: 0.2.0
canonical: https://enterium-developer-docs.pages.dev/developers/ru/api/errors/get-errors/
---

> Documentation index: https://enterium-developer-docs.pages.dev/developers/llms.txt — every page of this portal has a Markdown twin at <route>.md; the frozen API contract is at https://enterium-developer-docs.pages.dev/developers/api/openapi.json.

:::note
Сгенерировано из OpenAPI-контракта — не редактировать руками. Сводки операций и описания полей приводятся на английском (дословно из контракта). Интерактивный обозреватель с полными схемами: [https://entherium.duckdns.org:8443/reference](https://entherium.duckdns.org:8443/reference); замороженная спецификация этой сборки: [openapi.json](/developers/api/openapi.json). Группа: [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>`

## Запрос

```sh
curl -sS -X GET "https://entherium.duckdns.org:8443/api/v1/errors" \
  -H "Authorization: Bearer <token>"
```

## Ответ `200`

```json
[
  {
    "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"
  }
]
```

## Возвращает

`массив ErrorEventRead` — Successful Response

| Поле | Тип | Описание |
| --- | --- | --- |
| `context` | `object \| null` (opt.) |  |
| `createtime` | `string` |  |
| `error` | `string` |  |
| `exc_type` | `string` |  |
| `guid` | `integer` |  |
| `operation` | `string` |  |
| `source` | `string` |  |

## Параметры

| Параметр | Где | Обязателен | Тип | По умолчанию | Ограничения | Описание |
| --- | --- | --- | --- | --- | --- | --- |
| `source` | query | нет | `string \| null` | — | — | filter by capture source |
| `operation` | query | нет | `string \| null` | — | — | filter by stable operation label |
| `since` | query | нет | `string \| null` | — | date-time | only errors captured at/after this UTC time |
| `limit` | query | нет | `integer` | `100` | min 1; max 500 |  |

## Ошибки

| Код | Смысл | Тело |
| --- | --- | --- |
| `401` | Missing or invalid authentication credentials | `ErrorResponse` |
| `422` | Validation Error | `HTTPValidationError` |

Тело любой ошибки — `{detail, code?, request_id, doc_url}`: `request_id` — что цитировать, `doc_url` ведёт в [Справочник ошибок](../../../reference/errors/).
