Get Model
Changed onRetrieve a model.
Retrieve detailed information about a specific model, including its capabilities, provider, and supported features.
Args: model_id: The ID of the model to retrieve (e.g., 'openai/gpt-4', 'anthropic/claude-3-5-sonnet-20241022') user: Authenticated user obtained from API key validation
Returns: Model: Information about the requested model
Raises: HTTPException: - 401 if authentication fails - 404 if model not found or not accessible with current API key - 500 if internal error occurs
Requires: Valid API key with 'read' scope permission
Example: ```python import dedalus_labs
client = dedalus_labs.Client(api_key="your-api-key")
model = client.models.retrieve("openai/gpt-4")
print(f"Model: {model.id}")
print(f"Owner: {model.owned_by}")
```
Response:
```json
{
"id": "openai/gpt-4",
"object": "model",
"created": 1687882411,
"owned_by": "openai"
}
```
Request
- Base URLhttps://api.dedaluslabs.ai
- AuthHTTP bearer
Path parameters
Response
Successful Response
Changes
- warning
added the new
deepseekenum value to theresponse property for the response status - warning
added the new
fireworksenum value to theresponse property for the response status
- warning
- breaking
removed the required property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - info
the endpoint scheme security
Bearerwas added to the API - info
the endpoint scheme security
HTTPBearerwas removed from the API - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- breaking