---
title: "Data Sources by Type"
method: GET
path: "/analytics/datasourcesbytype"
tags: ["Analytics"]
---

# Data Sources by Type

`GET /analytics/datasourcesbytype`

Aggregates Data Sources by Type, 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.

- DataSourcesByType[]
  - `dataSourceType` string — The Data Source type name.
  - `count` integer — The total number of executions of this Data Source type.
  - `successCount` integer — The number of successful executions of this Data Source type.
  - `successRate` number, double — The success rate for this Data Source type, calculated as the ratio of successful executions to total executions.
  - `avgDuration` number, double — The average duration of all executions of this Data Source type.

## 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)
