curl --request GET \
--url https://api.openai.com/v1/models/{model} \
--header 'Authorization: Bearer <token>'{
"id": "<string>",
"created": 123,
"object": "model",
"owned_by": "<string>"
}Retrieves a model instance, providing basic information about the model such as the owner and permissioning.
curl --request GET \
--url https://api.openai.com/v1/models/{model} \
--header 'Authorization: Bearer <token>'{
"id": "<string>",
"created": 123,
"object": "model",
"owned_by": "<string>"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The ID of the model to use for this request
"gpt-4o-mini"
OK
Describes an OpenAI model offering that can be used with the API.
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?