Skip to main content

Search Voices

GET 

https://api.knoxstudio.ai/v2/voices

Filtered voice search on /v2/voices. Not billed. Guide: Voices.

Request​

Query Parameters​

NameTypeRequiredDescription
page_sizeIntegerNo1–100, default 10.
sortStringNocreated_at_unix or name.
sort_directionStringNoasc or desc.
voice_typeStringNopersonal, community, default, workspace, non-default, non-community, saved.
categoryStringNopremade, cloned, generated, professional.
fine_tuning_stateStringNodraft, not_verified, not_started, queued, fine_tuning, fine_tuned, failed, delayed.
voice_idsStringNoComma-separated IDs, max 100.
min_notice_period_daysIntegerNoMinimum notice period filter.
include_custom_ratesBooleanNoInclude custom rates.
include_live_moderatedBooleanNoInclude live-moderated voices.
high_qualityBooleanNoFilter high-quality voices.
include_total_countBooleanNoInclude total count.
searchStringNoFree-text search; forwarded upstream.
next_page_tokenStringNoPagination token; forwarded upstream.

Request Headers​

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

cURL Example​

curl -X GET "https://api.knoxstudio.ai/v2/voices?page_size=10&category=premade&sort=name" \
-H "Authorization: Bearer $KNOXCHAT_API_KEY"

Response​

Success Response (200)​

Paginated voices JSON.

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.