{
"success": true,
"object": "list",
"data": [
{
"id": "YOUR_MODEL_ID",
"object": "model",
"created": 1700000000,
"owned_by": "example-provider"
}
]
}
API reference
List models
Get model IDs visible to the calling credentials.
{
"success": true,
"object": "list",
"data": [
{
"id": "YOUR_MODEL_ID",
"object": "model",
"created": 1700000000,
"owned_by": "example-provider"
}
]
}
GET /v1/models
Use Bearer authentication for the OpenAI-compatible model list, without other protocols’ authentication headers. No request body or pagination parameters are required.
Use data[].id as the request’s model. An empty list can result from permissions or deployment settings, rather than a gateway outage. It is not a protocol capability matrix.
Check for success: false before reading data. Internal lookup failures can still return HTTP 200; see error handling.
List models with cURL · Choose an endpoint
API coverage · Production integration · Troubleshooting
简体中文Authorizations
模型调用 API Key,不是控制台登录凭据 / Model API key, not console login credentials