Skip to main content

List Music Finetunes

GET 

https://api.knoxstudio.ai/v1/music/finetunes

List finetunes you can access (yours, workspace-shared, and curated). This read is not billed.

Request​

Query Parameters​

NameTypeRequiredDescription
cursorStringNoNext-page cursor from the previous response.
page_sizeIntegerNoDefault 50, max 150.
visibilityStringNoprivate, workspace, or public.
created_byStringNoself, workspace, or elevenlabs.
sortStringNocreated_at (default) or name.
sort_directionStringNoasc or desc (default desc).

Request Headers​

NameTypeRequiredDescription
AuthorizationStringYesBearer <token> Knox API key. xi-api-key is also accepted.

cURL Example​

curl -X GET "https://api.knoxstudio.ai/v1/music/finetunes?page_size=50&sort=created_at&sort_direction=desc" \
-H "Authorization: Bearer $KNOXCHAT_API_KEY"

Response​

Success Response (200)​

finetunes array plus a cursor for the next page when more results exist.

Finetune object​

| id | string | Finetune ID. | | name | string | Display name (5–200 characters). | | tags | array of strings | Associated tags. | | model_id | string | Base music model. | | created_at | string | UTC timestamp. | | visibility | string | private, workspace, or public. | | created_by | string | self, workspace, or elevenlabs. | | status | string | pending, in_progress, completed, failed, blocked. | | training_progress | number | 0.0–1.0. | | primary_genre | string | Primary genre. | | failure_reason | string | audio_processing_failed, copyright_violation, or training_failed. |

Error Responses​

Validation uses HTTP 422:

{
"detail": [
{
"loc": ["body", "field"],
"msg": "…",
"type": "value_error"
}
]
}

Other errors use { "detail": "message" }.

StatusWhen
400WebSocket path called without Upgrade: websocket.
401Missing or invalid API key.
402Insufficient credits.
403Token is not allowed to use this model.
404Resource not found.
422Validation error.
429Rate limit exceeded.
500Internal server error.