Datasets
POST /datasets/{id}/files
Upload a new file to a dataset
Request
- Base URLhttps://api.cartesia.ai
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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
Example request
{
"purpose": "fine_tune"
}Changes
No recorded changes to this operation across all 1 revision of this API.