Overview
Retrieves detailed information about a specific model, including basic information such as the owner and permissioning details.Method
Parameters
string
required
The model ID to retrieve. This can be any model identifier from the models list, including:
- Base models (e.g.,
gpt-4-turbo,gpt-3.5-turbo) - Fine-tuned models (e.g.,
ft:gpt-3.5-turbo:org-id:model-name:id)
dict
Send extra headers with the request
dict
Add additional query parameters to the request
float
Override the client-level default timeout for this request, in seconds
Response
Returns aModel object.
string
The model identifier that can be referenced in API endpoints
integer
Unix timestamp (in seconds) when the model was created
string
The object type, always “model”
string
The organization that owns the model
Examples
Retrieve a Base Model
Retrieve a Fine-Tuned Model
Check Model Ownership
Error Handling
Async Usage
Notes
- Returns a 404 error if the model doesn’t exist or you don’t have access to it
- The model ID must be non-empty
- This endpoint is useful for verifying model details before use
- For fine-tuned models, you can only retrieve models owned by your organization