---
title: "Get Recent Data Source executions"
method: GET
path: "/analytics/datasources/recent"
tags: ["Analytics"]
---

# Get Recent Data Source executions

`GET /analytics/datasources/recent`

Gets the most-recent Data Source Analytics records. Defaults to the top 100 records; this can be modified via the ?max parameter.

## Query parameters

- `dashboard` string
- `max` integer

## Response `200`

An array of Data Source Analytics records.

- DataSourceAnalyticsRecord[]
  - `date` string, date-time — The date this record was logged.
  - `dashboard` string — The ID of the Dashboard being viewed.
  - `page` string — The current page index (0-indexed).
  - `rev` string — The current revision of the Dashboard.
  - `visitId` string — The current Visit ID: a unique value generated when a Dashboard is opened.
  - `dataSourceName` string — The name of the Data Source that was executed.
  - `dataSourceType` string — The type of Data Source that was executed.
  - `success` boolean — Indicates whether or not the Data Source execution was successful.
  - `duration` integer — The duration of execution, in milliseconds.
  - `browser` object — An object containing Data Source information.

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