Skip to main content
GET
/
models
List models
curl --request GET \
  --url https://api.aiearth.dev/v1/models \
  --header 'Authorization: Bearer <token>'
{
  "object": "list",
  "data": [
    {
      "id": "<string>",
      "object": "model",
      "owned_by": "<string>"
    }
  ]
}
调用该接口获取当前 API Key 可访问的模型列表。模型列表会受账户权限、线路和控制台配置影响。

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

Model list

object
string
required
Example:

"list"

data
object[]
required