Get audio headers
HEAD
/v1/tasks/{task_id}/artifacts/{artifact_key}/contentUse 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_KEYPath, query and header parameters
task_idpath · stringrequiredPublic task/artifact identifier. Replaces {task_id} in the endpoint URL.
artifact_keypath · stringrequiredPublic task/artifact identifier. Replaces {artifact_key} in the endpoint URL.
Rangeheader · stringSent as an HTTP request header.
Example: "bytes=0-1023"
Responses
MP3 audio.
Response headers
Accept-RangesstringContent-Lengthinteger