agentRuntime
Enables one AI model for the workspace.
Changed onEnables one catalog model for the workspace and returns no content when the policy is saved. Use the stable model key from GET /agents/models. The model's vendor and serving region must be enabled first. Removed models and models that cannot be changed in the current rollout state return a validation error.
<Check title="Required Permissions" icon="key">The user must be an admin or have workspace-manage-config:write permissions.</Check>
post/agents/models/{modelKey}/enable
Request
- Base URLhttps://api.awork.com/api/v1
- URLhttps://api.awork.com/api/v1/agents/models/{modelKey}/enable
- AuthHTTP bearer
Path parameters
modelKeystring required
The stable, URL-safe catalog key.
Response
No Content
object required
Changes
- warning
deleted the
headerrequest parameterAuthorization - info
the endpoint scheme security
oauth2was added to the API
- warning
- info
endpoint added
- info