Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
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.
Was this page helpful?