AI 模型接口模型(Models)
获取模型详情
默认返回 OpenAI 模型结构;同时提供 x-api-key 与 anthropic-version 时返回 Anthropic 模型结构。模型不存在或无权访问时,当前实现可能在 HTTP 200 响应中返回 error,请同时检查响应体。
AuthorizationBearer <token>
In: header
Path Parameters
model*string
平台可用的模型 ID,不带 models/ 前缀
Header Parameters
anthropic-version?string
请求 Anthropic 格式时设置,例如 2023-06-01。
Response Body
application/json
curl -X GET "https://eprtoken.com/v1/models/string"{
"id": "string",
"object": "string",
"created": 0,
"owned_by": "string"
}这篇文档对您有帮助吗?