---
title: "Change the settings for a team's members' agents"
method: PUT
path: "/v1/org/workbot-settings/teams/{teamId}/agent"
tags: ["Organizations"]
---

# Change the settings for a team's members' agents

`PUT /v1/org/workbot-settings/teams/{teamId}/agent`

## Request

- Base URL: `https://api.openworklabs.com`
- URL: `https://api.openworklabs.com/v1/org/workbot-settings/teams/{teamId}/agent`
- Auth: one of:
  - API key in header `x-api-key`
  - HTTP bearer

Changes any subset of how members' agents work for one team's members, with the same body and the same checks as `PUT /v1/org/workbot-settings/proactive`: policy fields, `sources` (only the organization's own connections, each where it can serve; a core source's default must stay allowed), `brief`, `responsibilities` and `instructions`. The change is merged onto the team's own policy. A team that followed the organization starts from the organization's policy, sources, brief and template as they are now, and this first save makes that copy the team's own: from then on it no longer follows the organization's changes. A change to responsibilities or instructions adds one to the team's template `version`. The team's members follow it from their next check, including when agents are off for everyone and on for this team; a member on several teams whose own policies differ follows the organization's. Members' own choices are kept. To follow the organization again, send `agent: { inherit: true }` to `PUT /v1/org/workbot-settings/teams/{teamId}`. Returns the team's policy with `inherit: false`. Requires Workbot on this deployment and Manage OpenWork Models.

## Path parameters

- `teamId` string, typeid, required

## Request body

- WorkbotProactiveSettingsInput
  - `enabled` boolean
  - `leadMinutes` integer
  - `workingDays` 'weekdays' | 'everyday'
  - `startHour` integer
  - `endHour` integer
  - `dailyCap` integer
  - `membersStart` 'opted_in' | 'opted_out'
  - `destination` 'workbot_dm', nullable
  - `sources` object
    - `calendar` 'everyone' | 'members' | 'off'
    - `otherConnections` string[], nullable
    - `connections` object
    - `toolOverrides` object
  - `brief` object
    - `checkEveryHours` union
      - 1
      - 2
      - 3
      - 4
    - `dailyCap` integer
    - `extraChecksPerDay` integer
    - `text` string
  - `checkGate` boolean
  - `checkGateThreshold` number
  - `sendCheck` boolean
  - `sendCheckThreshold` number
  - `responsibilities` object
    - `morning_brief` boolean
    - `meeting_prep` boolean
    - `calendar_changes` boolean
    - `waiting_on_you` boolean
  - `instructions` string

## Response `200`

The team's agent settings saved.

- WorkbotTeamAgentSettings
  - `settings` object, required
    - `enabled` boolean, required
    - `leadMinutes` integer, required
    - `workingDays` 'weekdays' | 'everyday', required
    - `startHour` integer, required
    - `endHour` integer, required
    - `dailyCap` integer, required
    - `membersStart` 'opted_in' | 'opted_out', required
    - `destination` 'workbot_dm', nullable, required
    - `sources` object, required
      - `calendar` 'everyone' | 'members' | 'off', required
      - `otherConnections` string[]
      - `connections` object, required
      - `toolOverrides` object
    - `brief` object
      - `checkEveryHours` union
        - 1
        - 2
        - 3
        - 4
      - `dailyCap` integer
      - `extraChecksPerDay` integer
      - `text` string
    - `checkGate` boolean
    - `checkGateThreshold` number
    - `sendCheck` boolean
    - `sendCheckThreshold` number
  - `template` object, required
    - `responsibilities` object, required
      - `morning_brief` boolean, required
      - `meeting_prep` boolean, required
      - `calendar_changes` boolean, required
      - `waiting_on_you` boolean, required
    - `instructions` string, required
    - `versionId` string, nullable, required
    - `version` integer, required
  - `slackReady` boolean, required
  - `runnerReady` boolean, required
  - `sourceConnections` object, nullable, required
    - `calendar` object[], required
      - `id` string, required
      - `name` string, required
      - `url` string, required
      - `connectedMembers` integer, nullable
    - `other` object[], required
      - `id` string, required
      - `name` string, required
      - `url` string, required
      - `native` boolean
      - `policy` 'everyone' | 'members' | 'off'
    - `all` object[], required
      - `id` string, required
      - `name` string, required
      - `url` string, required
      - `native` boolean, required
      - `slots` string[], required
      - `connectedMembers` integer, nullable
  - `brief` object, required
    - `checkEveryHours` union, required
      - 1
      - 2
      - 3
      - 4
    - `dailyCap` integer, required
    - `extraChecksPerDay` integer, required
    - `text` string, required
    - `defaultText` string, required
    - `carriedOver` string[], required
  - `checkGate` object
    - `model` boolean, required
  - `sendCheck` object
    - `ready` boolean, required
  - `inherit` boolean, required

## Other responses

- `400`: The request was invalid, or the workday would end before it starts.
- `401`: Authentication required.
- `403`: The caller lacks the Manage OpenWork Models permission.
- `404`: The organization or team was not found, or Workbot settings per team, members' agents or Workbot are off.

## Changes

- **2026-11-25** `d7c9455892b1`: 1 info
  - the response property `brief` became required for the status `200`
- **2026-11-11** `7b36e7ae6ac3`: 4 breaking, 7 warning, 2 info
  - removed the required property `settings/sources/chat` from the response with the `200` status
  - removed the required property `settings/sources/email` from the response with the `200` status
  - removed the required property `sourceConnections/anyOf[subschema #1]/chat` from the response with the `200` status
  - removed the required property `sourceConnections/anyOf[subschema #1]/email` from the response with the `200` status
  - …9 more
- **2026-11-11** `a9428bdb31c9`: 10 info
  - added the new optional request property `checkGate`
  - added the new optional request property `checkGateThreshold`
  - added the new optional request property `sendCheck`
  - added the new optional request property `sendCheckThreshold`
  - …6 more
- **2026-11-10** `02023e0242a2`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/openworklabs/apis/den-api/changes/v1/org/workbot-settings/teams/:teamId/agent/put.md)

---

[API](https://skmtc.dev/openworklabs/apis/den-api.md) - [All operations](https://skmtc.dev/openworklabs/apis/den-api/llms.txt) - [OpenAPI document](https://skmtc.dev/openworklabs/apis/den-api/revisions/84fb0f99fb95?raw)
