Skip to main content
GET
/
datasets
/
cURL
curl --request GET \
  --url https://api.cartesia.ai/datasets/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Cartesia-Version: <cartesia-version>'
{
  "data": [
    {
      "id": "<string>",
      "name": "<string>",
      "created_at": "<string>",
      "description": "<string>"
    }
  ],
  "has_more": true
}

Authorizations

Authorization
string
header
required

Cartesia API key

Headers

Cartesia-Version
enum<string>
required

API version header. Must be set to the API version, e.g. '2024-06-10'.

Available options:
2024-06-10,
2024-11-13,
2025-04-16
Example:

"2025-04-16"

Query Parameters

limit
integer | null

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

starting_after
string | null

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

ending_before
string | null

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

Response

200 - application/json

Paginated list of datasets

data
Dataset · object[]
required

List of dataset objects

has_more
boolean
required

Whether there are more datasets available