Retrieve model
GET
/models/{model}Retrieves a model instance, providing basic information about the model such as the owner and permissioning.
Retrieve model
curl https://api.openai.com/v1/models/gpt-4o-2024-05-13 \
-H "Authorization: Bearer $OPENAI_API_KEY"
Response example
{
"id": "gpt-4o-2024-05-13",
"object": "model",
"created": 1686935002,
"owned_by": "openai",
"shutdown_date": "2026-10-23"
}
Returns Examples
200 — Example
{
"id": "id",
"created": 0,
"object": "model",
"owned_by": "owned_by",
"shutdown_date": "2019-12-27"
}