Get Model List
Authorization
This endpoint supports the following two authentication methods. Choose one and add it to the request headers:
- Method 1:x-api-keyauthentication, format:x-api-key: $UNISOUND_API_KEY
- Method 2:Authorization: Bearerauthentication, format:Authorization: Bearer $UNISOUND_API_KEY
$UNISOUND_API_KEY Used to verify account information, can be viewed in Metered & Packs > API Key Management.
Request Query
limitintegerOptional
Number of models returned per page.
after_idstringOptional
Pagination cursor that returns models after the specified ID.
before_idstringOptional
Pagination cursor that returns models before the specified ID.
Response body structure
dataarray
Array of model objects.
idstring
Model identifier.
created_atstring
Model creation time (ISO 8601 format).
display_namestring
Display name of the model.
typestring
Fixed to model.
context_windowinteger
Context window size.
max_outputinteger
Maximum output token count.
first_idstring
The first model ID in the returned data.
last_idstring
The last model ID in the returned data.
has_moreboolean
Whether more data is available.