Skip to main content
POST
cURL

Authorizations

Authorization
string
header
default:$CARTESIA_API_KEY
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"

Body

multipart/form-data
file
file
required

The file to upload.

purpose
enum<string>
required

What the file will be used for.

Available options:
agent_background_sound,
fine_tune,
tts_generation,
voice-clone
Example:

"agent_background_sound"

Response

An uploaded file.

id
string
required

Unique identifier for the file, prefixed with file_.

Example:

"file_EneDabCuJCpfe5CFi5X12e"

filename
string
required

Original filename.

Example:

"background-sound.wav"

purpose
enum<string>
required

What a file is used for.

Available options:
agent_background_sound,
fine_tune,
tts_generation,
voice-clone
Example:

"agent_background_sound"

size
integer
required

Size of the file in bytes.

Example:

2048576

status
string
required

Processing status of the file.

Example:

"ready"

owner_id
string
required

ID of the account that owns the file.

Example:

"org_2x6zg1zx5cnZJHwZCJypdW6YIiC"

created_at
string<date-time>
required

Timestamp when the file was created.

Example:

"2026-07-25T18:30:00.000Z"