---
title: "Change Workbot settings"
method: PUT
path: "/v1/org/workbot-settings"
tags: ["Organizations"]
---

# Change Workbot settings

`PUT /v1/org/workbot-settings`

## Request

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

Sets the organization's default model for Workbot, the Slack assistant and cloud Automations set to the cloud default, from their next message or run; null uses the AI Gateway default. Automations with their own model keep it. Only the caller's supported, credential-ready Gateway aliases are accepted. Each executing member still needs their own assignment and credentials. Selecting the managed Luna starter keeps the shared saved choice null; other cloud agents retain their existing default policy. Requires the Manage OpenWork Models permission and a recent sign-in.

## Request body

- WorkbotSettingsInput
  - `model` string, nullable, required

## Response `200`

Workbot settings saved.

- WorkbotSettings
  - `model` string, nullable, required
  - `defaultModel` string, nullable, required
  - `models` object[], required
    - `id` string, required
    - `name` string, required
    - `provider` string
  - `modelAvailable` boolean, required
  - `runnerReachable` boolean, required
  - `gatewayModels` boolean
  - `defaultReadiness` 'available' | 'unavailable' | 'unverified'

## Other responses

- `400`: The model is not one the runner serves, or the request was invalid.
- `401`: Authentication required.
- `403`: The caller lacks the Manage OpenWork Models permission or needs to sign in again.
- `404`: The organization was not found, or Workbot is off.
- `503`: The headless runner could not be reached to check the model.

## Changes

- **2026-11-11** `7b36e7ae6ac3`: 1 breaking, 2 warning
  - the request property `model` became required
  - removed the request property `maxSteps`
  - removed the optional property `maxSteps` from the response with the `200` status
- **2026-11-10** `3ee5ac1874f6`: 3 info
  - added the new optional request property `maxSteps`
  - the request property `model` became optional
  - added the optional property `maxSteps` to the response with the `200` status
- **2026-10-23** `c93387179b31`: 2 breaking, 3 info
  - the response property `defaultModel` became nullable for the status `200`
  - the response property `model` became nullable for the status `200`
  - response property `anyOf[#/components/schemas/InvalidRequestError]/details/items/path/items/` list-of-types was narrowed by removing types `number` from media type `application/json` of response `400`
  - response property `defaultModel` list-of-types was narrowed by removing types `null` from media type `application/json` of response `200`
  - …1 more
- **2026-10-19** `f1d119370a1a`: 2 info
  - added the optional property `gatewayModels` to the response with the `200` status
  - added the optional property `models/items/provider` to the response with the `200` status
- **2026-10-19** `ca5a2d85c65e`: 1 info
  - added the optional property `defaultReadiness` to the response with the `200` status

[Operation history](https://skmtc.dev/openworklabs/apis/den-api/changes/v1/org/workbot-settings/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)
