Models
Enable a model
Transitions a model to STATE_ENABLED, making it available for agent variations in the workspace
POST
CLI
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Workspace ID.
Example:
"workspace_01HXKD2E5NQM3T9AYWCF133E3Q"
Model ID
Example:
"model_01HXKD2E5NQM3T9AYWCFKJ4GED"
Body
application/json
Enable model request
Response
OK
Resource metadata
Model specification
Whether the model is usable in this workspace. Output only. Use the :enable and :disable actions to transition.
Available options:
STATE_UNSPECIFIED, STATE_ENABLED, STATE_DISABLED Server-populated info (e.g. the AI provider this model routes through). Populated on reads when requested; see ListModelsRequest.include_info.