Skip to content

Model List ​

The model API is used to query the list of models and model details visible to the current token.

Get the Model List ​

http
GET /v1/models
Authorization: Bearer sk-your-token

Get Model Details ​

http
GET /v1/models/{model}
Authorization: Bearer sk-your-token

Model Object ​

FieldDescription
idModel name, entered in the model field when making a request
objectObject type, usually model
createdCreation time or placeholder time
owned_byIdentifier of the service provider or platform

Visibility Rules ​

The model list is affected by user groups, token restrictions, administrator configuration, and channel status. A model being visible in the list does not necessarily mean that all parameters and capabilities are available; specific capabilities also depend on channel and upstream support.

Troubleshooting Unavailable Models ​

  1. Confirm that the token used for the request is the same token used to query the model list.
  2. Confirm that the model name in the request exactly matches the id, including capitalization, version numbers, and hyphens.
  3. Confirm the model's group, the channel's Models configuration, and the channel's health status.
  4. If the model is visible but the request fails, check the actual channel and upstream error corresponding to the Request ID.