---
title: "GET /v1/metrics/top-errors"
method: GET
path: "/v1/metrics/top-errors"
---

# GET /v1/metrics/top-errors

`GET /v1/metrics/top-errors`

Get most common errors with counts. Maximum time range is 365 days.

## Query parameters

- `from` integer, required
- `to` integer, required
- `limit` integer

## Response `200`

OK

- GetTopErrorsSuccessResponse
  - `code` integer
  - `data` TopError[]
    - `count` integer
    - `error` string
    - `lastOccurred` string
  - `message` string
  - `requestId` string

## Other responses

- `400` — Bad Request
- `500` — Internal Server Error

---

[API](https://skmtc.dev/b3os/apis/b3os-workflow-api.md) · [All operations](https://skmtc.dev/b3os/apis/b3os-workflow-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/b3os/b3os-workflow-api/revisions/a8c7af3c66a1/schema)
