Datasets

POST /datasets/{id}/files

Upload a new file to a dataset

Request

Path parameters

idstring required

ID of the dataset to upload to

Headers

Cartesia-Version'2026-03-01' date required
Example:2026-03-01

API version header.

Request body multipart/form-data

filestring binary

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

purposestring

Purpose of the file

Example request

{
  "purpose": "fine_tune"
}

Changes

No recorded changes to this operation across all 1 revision of this API.