典名词元典名词元首页
API 文档
AI 模型接口公共接口

获取模型列表(openAi)

GET
/api/v1/models

Header Parameters

Authorization*string

使用 Bearer Token 认证。 格式: Authorization: Bearer sk-xxxxxx

Response Body

application/json

curl -X GET "https://api.aa.com.cn/api/v1/models" \  -H "Authorization: string"
{
  "data": [
    {
      "id": "string",
      "object": "string",
      "created": 0,
      "owned_by": "string"
    }
  ],
  "object": "string",
  "first_id": "string",
  "last_id": "string",
  "has_more": true
}