Skip to main content
GET
cURL
Returns exactly the models this key’s account may call — there is no separate permission check to do afterwards, and a model absent from this list will return MODEL_NOT_FOUND. The shape is OpenAI’s minimum on purpose, so that clients written against OpenAI parse it without special cases. Context windows, capabilities and pricing live in the console. owned_by is the account a model belongs to, not whoever runs the hardware.

Authorizations

Authorization
string
header
required

Authorization: Bearer <your API key>. On /v1/messages, the Anthropic-style x-api-key: <your API key> header is accepted instead.

Response

OK.

object
string
required
Allowed value: "list"
data
object[]
required