Overview
Retrieves detailed information about a specific model, including basic information such as the owner and permissioning details.Method
Parameters
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)
Send extra headers with the request
Add additional query parameters to the request
Override the client-level default timeout for this request, in seconds
Response
Returns aModel object.
The model identifier that can be referenced in API endpoints
Unix timestamp (in seconds) when the model was created
The object type, always “model”
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