Retrieve model
GEThttps:/api.openai.com/v1/models/{model}
Retrieves a model instance, providing basic information about the model such as the owner and permissioning.
Path parameters
model
string
Required
The ID of the model to use for this request
Response
The model object matching the specified ID.
Example request
1 curl https://api.openai.com/v1/models/VAR_chat_model_id \2 -H "Authorization: Bearer $OPENAI_API_KEY"
Example response
1 {2 "id": "VAR_chat_model_id",3 "object": "model",4 "created": 1686935002,5 "owned_by": "openai"6 }
Built with