---
title: "GET /{userId}/dataSources/{dataSourceId}/datasets/{datasetId}"
method: GET
path: "/{userId}/dataSources/{dataSourceId}/datasets/{datasetId}"
tags: ["users"]
---

# GET /{userId}/dataSources/{dataSourceId}/datasets/{datasetId}

`GET /{userId}/dataSources/{dataSourceId}/datasets/{datasetId}`

Returns a dataset containing all data points whose start and end times overlap with the specified range of the dataset minimum start time and maximum end time. Specifically, any data point whose start time is less than or equal to the dataset end time and whose end time is greater than or equal to the dataset start time.

## Path parameters

- `userId` string, required
- `dataSourceId` string, required
- `datasetId` string, required

## Query parameters

- `limit` integer
- `pageToken` string

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/fitness.md) · [All operations](https://skmtc.net/google/apis/fitness/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/fitness/versions/036f4db4a779/schema)
