VOOZH about

URL: https://developers.openai.com/api/reference/resources/models/methods/retrieve

⇱ Retrieve model | OpenAI API Reference


Skip to content

Retrieve model

GET/models/{model}

Retrieves a model instance, providing basic information about the model such as the owner and permissioning.

Path ParametersExpand Collapse
model: string
ReturnsExpand Collapse

Retrieve model

curl https://api.openai.com/v1/models/VAR_chat_model_id \
 -H "Authorization: Bearer $OPENAI_API_KEY"
{
 "id": "VAR_chat_model_id",
 "object": "model",
 "created": 1686935002,
 "owned_by": "openai"
}
Returns Examples
{
 "id": "VAR_chat_model_id",
 "object": "model",
 "created": 1686935002,
 "owned_by": "openai"
}