---
title: "List datasets"
method: GET
path: "/v1/data-sources/{dataSourceId}/datasets"
tags: ["Data Sources"]
---

# List datasets

`GET /v1/data-sources/{dataSourceId}/datasets`

Retrieves all datasets that belong to the specified data source (`dataSourceId`).

## Path parameters

- `dataSourceId` integer, required — Unique identifier for the data source.

## Response `200`

Successful response containing a list of all datasets associated with the given data source.  
If the data source has no datasets, the response will return an empty array.

- object
  - `requestId` string — Unique identifier for the request.
  - `status` string — Indicates the status of the request.
  - `datasets` Dataset[] — List of datasets and their metadata.
    - `id` string, uuid — Unique identifier for the dataset.
    - `title` string, nullable — Human-readable name of the dataset. May be empty but not null.
    - `created` string, date-time — ISO 8601 timestamp when the data source was created.

## Other responses

- `400` — Error response indicating one or more request parameters are invalid.
- `401` — Error response indicating that the API key is missing or invalid.

---

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