Skip to main content
GET
获取模型列表

Authorizations

Authorization
string
header
required

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

Headers

x-api-key
string

Anthropic API Key (用于 Claude 格式)

anthropic-version
string

Anthropic API 版本

Example:

"2023-06-01"

x-goog-api-key
string

Google API Key (用于 Gemini 格式)

Query Parameters

key
string

Google API Key (用于 Gemini 格式)

Response

成功获取模型列表

object
string
Example:

"list"

data
object[]