Returns a specific model by its ID. Use the extended query parameter
to get additional metadata about the model’s capabilities and supported features.
extended query parameter to retrieve detailed metadata about the model, including capabilities, supported input/output modalities, and token limits.
The ID of the model to retrieve.
If true, returns extended model metadata including capabilities, modalities, and limits.
The model with the given ID. Returns Model when extended=false (default), or ModelExtended when extended=true.
Response union for GET /v1/models/{model_id} endpoint. Returns Model when extended=false (default), or ModelExtended when extended=true.