cURL
curl --request DELETE \ --url https://api.cartesia.ai/datasets/{id}/files/{fileID} \ --header 'Authorization: Bearer <token>' \ --header 'Cartesia-Version: <cartesia-version>'
Remove a file from a dataset
Cartesia API key (sk_car_...). Get one at play.cartesia.ai/keys.
sk_car_...
API version header.
2024-06-10
2024-11-13
2025-04-16
2026-03-01
"2026-03-01"
ID of the dataset containing the file
ID of the file to remove
Was this page helpful?