Organizations

Set a team's Workbot settings

Changed on

Changes one team's Workbot default model, Workbot name, whether Workbot is on for the team (enabled), or several; a setting left out is kept. For each, { inherit: true } makes the team use the organization's value again and { inherit: false, value } sets the team's own: a model from the caller's supported, credential-ready AI Gateway models (null is the deployment's default model), a name of 1 to 40 characters, or true or false for enabled. With members' agents on (workbotProactive), agent: { inherit: true } removes the team's own policy for its members' agents so they follow the organization's again from their next check (the team's own policy is saved with PUT /v1/org/workbot-settings/teams/{teamId}/agent); without it agent answers 400. The team's members get it from their next message or run, in Workbot, the Slack assistant and cloud Automations set to the cloud default; a member on several teams whose own values differ gets the organization's. enabled covers the Workbot app and Your agent only, never the Slack assistant, Automations or the desktop app. A team's model selects a model and never grants access to it. Requires the Manage OpenWork Models permission, which also governs the team's Workbot name and switch and a recent sign-in.

put/v1/org/workbot-settings/teams/{teamId}

Request

  • Base URL
    https://api.openworklabs.com
  • Auth
    • API key in header x-api-key
    • or HTTP bearer

Path parameters

teamId, string typeid required

Den TypeID with 'tem_' prefix and a 26-character base32 suffix.

Request body

WorkbotTeamSettingsWrite required
model, union
name, union
enabled, union
agent, WorkbotTeamAgentInherit

Response

Workbot settings per team saved.

WorkbotTeamSettings required
organization, object required
teams, WorkbotTeamSettingsTeam[] required
canEdit, boolean required

Changes

    • info

      added the optional property organization/agentCalendar to the response with the status

    • info

      added the optional property teams/items/agent/calendar to the response with the status

    • warning

      removed the request property maxSteps

    2 more changes in this revision