agentRuntime

Sets a workspace preset to Auto or a selected active text model.

Changed on

Updates a workspace model preset to use central Auto selection or an explicit active text model. Identify the preset by its catalog key and provide the assignment in the request body. Returns no content when the assignment is saved, or a validation error if the selection is invalid.

<Check title="Required Permissions" icon="key">The user must be an admin or have workspace-manage-config:write permissions.</Check>

put/agents/models/settings/presets/{presetKey}

Request

  • Base URL
    https://api.awork.com/api/v1
  • URL
    https://api.awork.com/api/v1/agents/models/settings/presets/{presetKey}
  • Auth
    HTTP bearer

Path parameters

presetKeystring required

The preset key.

Request body

isAutoboolean required

Whether the preset uses the central Auto mapping.

modelKeystring nullable

The explicit model key when Auto is false.

reasoningLevelstring nullable

The explicit reasoning level when Auto is false.

Response

No Content

object required

Changes