curl --request GET \
--url https://api.openai.com/v1/models \
--header 'Authorization: Bearer <token>'{
"object": "list",
"data": [
{
"id": "<string>",
"created": 123,
"object": "model",
"owned_by": "<string>"
}
]
}Lists the currently available models, and provides basic information about each one such as the owner and availability.
curl --request GET \
--url https://api.openai.com/v1/models \
--header 'Authorization: Bearer <token>'{
"object": "list",
"data": [
{
"id": "<string>",
"created": 123,
"object": "model",
"owned_by": "<string>"
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
OK
list Show child attributes
The model identifier, which can be referenced in the API endpoints.
The Unix timestamp (in seconds) when the model was created.
The object type, which is always "model".
model The organization that owns the model.
Was this page helpful?