List Files

Paginated list of files in a dataset

Path parameters

idstringRequired

ID of the dataset to list files from

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

Cartesia-Version"2025-04-16"Required

Query parameters

limitintegerOptionalDefaults to 10

The number of files to return per page, ranging between 1 and 100.

starting_afterstringOptional

A cursor to use in pagination. starting_after is a file ID that defines your place in the list. For example, if you make a dataset files request and receive 20 objects, ending with file_abc123, your subsequent call can include starting_after=file_abc123 to fetch the next page of the list.

ending_beforestringOptional

A cursor to use in pagination. ending_before is a file ID that defines your place in the list. For example, if you make a dataset files request and receive 20 objects, starting with file_abc123, your subsequent call can include ending_before=file_abc123 to fetch the previous page of the list.

Response

This endpoint returns an object.
datalist of objects

List of file objects

has_moreboolean

Whether there are more files available