Queue status
Poll queued audio separation requests until they complete or fail.
Audio separation jobs are asynchronous. Poll the status URL returned by the submit endpoint.
Get status
curl "https://audiolasso.dev/v1/queue/requests/req_01jabc/status?logs=true" \
-H "Authorization: Bearer $AUDIOLASSO_API_KEY"Status values
| Status | Meaning |
|---|---|
IN_QUEUE | The job is queued and waiting to start |
IN_PROGRESS | AudioLasso is processing the job |
COMPLETED | Output files are ready |
FAILED | The job failed and includes an error |
Completed result
When status is COMPLETED, fetch the result:
curl https://audiolasso.dev/v1/queue/requests/req_01jabc/result \
-H "Authorization: Bearer $AUDIOLASSO_API_KEY"The result contains target and residual files:
{
"request_id": "req_01jabc",
"model": "audio/separate",
"status": "COMPLETED",
"data": {
"target": {
"url": "https://...",
"content_type": "audio/wav",
"file_name": "target.wav"
},
"residual": {
"url": "https://...",
"content_type": "audio/wav",
"file_name": "residual.wav"
},
"sample_rate": 44100
}
}