ModelService
Models

Enable a model

Transitions a model to STATE_ENABLED, making it available for agent variations in the workspace

post/v1/workspaces/{workspaceId}/models/{id}:enable

Path parameters

workspaceIdstring required

Workspace ID.

idstring required

Model ID

Request body

workspaceIdstring

Workspace ID.

idstring

Model ID

Response

OK

state'STATE_UNSPECIFIED' | 'STATE_ENABLED' | 'STATE_DISABLED' enum required

Whether the model is usable in this workspace. Output only. Use the :enable and :disable actions to transition.

Changes