---
title: "GET /datasets/{id}/files"
method: GET
path: "/datasets/{id}/files"
tags: ["Datasets"]
---

# GET /datasets/{id}/files

`GET /datasets/{id}/files`

Paginated list of files in a dataset

## Path parameters

- `id` string, required

## Query parameters

- `limit` integer, nullable
- `starting_after` string, nullable
- `ending_before` string, nullable

## Headers

- `Cartesia-Version` '2026-03-01', date, required

## Response `200`

- PaginatedDatasetFiles — Paginated list of files in a dataset
  - `data` DatasetFile[], required — List of file objects
    - `id` string, required — Unique identifier for the file
    - `filename` string, required — Original filename
    - `created_at` string, required — Timestamp when the file was created
    - `size` integer, required — Size of the file in bytes
  - `has_more` boolean, required — Whether there are more files available
  - `next_page` string, nullable — An ID that can be passed as `starting_after` or `ending_before` to get the next page of data.

---

[API](https://skmtc.net/cartesia/apis/cartesia-api.md) · [All operations](https://skmtc.net/cartesia/apis/cartesia-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cartesia/cartesia-api/versions/8910812440d3/schema)
