---
title: "Data Sources by Error Message"
method: GET
path: "/analytics/datasourcesbyerrormessage"
tags: ["Analytics"]
---

# Data Sources by Error Message

`GET /analytics/datasourcesbyerrormessage`

Aggregates Data Sources by Error Message, with optional time and dashboard filters. When filtering by Dashboard, all Data Sources are displayed by default; without a Dashboard filter, it defaults to the top 20 records; this can be modified via the ?max parameter.

## Query parameters

- `dashboard` string
- `startDate` string, date-time
- `endDate` string, date-time
- `max` integer

## Response `200`

An array of aggregated results.

- DataSourcesByErrorMessage[]
  - `errorMessage` string — The error message text.
  - `count` integer — The total number of Data Source executions with this error message.
  - `avgDuration` number, double — The average duration of all executions with this error message.

## Other responses

- `500` — Server error

---

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