Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

Cartesia API key (sk_car_...). Get one at play.cartesia.ai/keys.

Headers

Cartesia-Version
enum<string>
default:2026-03-01
required

API version header.

Available options:
2026-03-01
Example:

"2026-03-01"

Path Parameters

id
string
required

ID of the dataset to upload to

Body

multipart/form-data
file
file

Supported audio formats: flac, mp3, mpeg, mpga, oga, ogg, wav, webm

purpose
string

Purpose of the file

Example:

"fine_tune"

Response

204 - undefined