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-tokenGet Model Details
http
GET /v1/models/{model}
Authorization: Bearer sk-your-tokenModel Object
| Field | Description |
|---|---|
id | Model name, entered in the model field when making a request |
object | Object type, usually model |
created | Creation time or placeholder time |
owned_by | Identifier 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
- Confirm that the token used for the request is the same token used to query the model list.
- Confirm that the model name in the request exactly matches the
id, including capitalization, version numbers, and hyphens. - Confirm the model's group, the channel's Models configuration, and the channel's health status.
- If the model is visible but the request fails, check the actual channel and upstream error corresponding to the Request ID.
