Skip to content

Get audio headers ​

HEAD/v1/tasks/{task_id}/artifacts/{artifact_key}/content

Use the task owner customer key. The audio artifact key is audio. Supports byte Range. Downloading an existing audio does not create a new generation charge.

Synchronous · direct result · This request waits for processing and returns JSON or a file directly.

Authentication

Use a customer API Key. Setup →

Authorization: Bearer YOUR_API_KEY

Path, query and header parameters

task_idpath · stringrequired

Public task/artifact identifier. Replaces {task_id} in the endpoint URL.

artifact_keypath · stringrequired

Public task/artifact identifier. Replaces {artifact_key} in the endpoint URL.

Rangeheader · string

Sent as an HTTP request header.

Example: "bytes=0-1023"

Responses

MP3 audio.

Response headers

Accept-Rangesstring

Content-Lengthinteger

Task status and results