Errors and logs
Understand API error responses and queue log messages.
AudioLasso API errors use a structured JSON shape.
{
"error": {
"code": "INVALID_AUDIO_URL",
"message": "input.audio_url must be a public HTTPS URL.",
"param": "input.audio_url",
"request_id": "req_01jabc"
}
}HTTP status codes
| Status | Meaning |
|---|---|
400 | Invalid request body or parameter |
401 | Missing or invalid API key |
402 | Not enough credits |
403 | API key is missing a required scope |
404 | Request or file was not found |
409 | Request is not ready for the attempted operation |
410 | Temporary file or result expired |
413 | File is too large |
500 | Internal server error |
502 | Upstream model provider failed |
Queue logs
Use ?logs=true on status or stream endpoints to include short progress messages.
curl "https://audiolasso.dev/v1/queue/requests/req_01jabc/status?logs=true" \
-H "Authorization: Bearer $AUDIOLASSO_API_KEY"Logs are meant for humans and agents. Treat status as the source of truth for program logic.
{
"logs": [
{
"timestamp": "2026-04-25T08:00:00.000Z",
"message": "Started audio separation"
}
]
}Recommended client behavior
- Branch on HTTP status and
error.code. - Show
error.messageto developers. - Retry
502and network errors with backoff. - Do not retry
400,401,402, or403without changing the request or key.