Skip to main content
PATCH
/
datasets
/
{id}
cURL
curl --request PATCH \
  --url https://api.cartesia.ai/datasets/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Cartesia-Version: <cartesia-version>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "description": "<string>"
}'

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"

Path Parameters

id
string
required

ID of the dataset to update

Body

application/json

Request to update an existing dataset

name
string
required

New name for the dataset

description
string
required

New description for the dataset