Get Workspace Models
GET/api/v2/workspaces/:workspace_id/models
Returns the available models for a workspace.
Custom models (workspace- and org-scoped) are listed first, followed by predefined models from the integration gateway.
Each model appears once. Models that share a component class and a model or
azure_deployment value count as the same model, and the list keeps the workspace
model over the organization model, and the organization model over the predefined one.
total counts the models after this step.
With include_price, each model also carries its effective price (see ModelPrice).
Request
Responses
- 200
- 422
Successful Response
Validation Error
Was this page helpful?