Disable a model
Transitions a model to STATE_DISABLED. Fails while agent variations are still provisioned on the model; use :swapModelOnVariations to move them first.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Workspace ID.
"workspace_01HXKD2E5NQM3T9AYWCF133E3Q"
Model ID
"model_01HXKD2E5NQM3T9AYWCFKJ4GED"
Body
Disable 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.
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.