Workspaces

Update Automation Settings

Admins: change any of the automation settings. Limits outside their range are a 422 (the confidence can't go below 0.85, the auto-send cap above 50, AI column cells above 1000 a day or rows above 200 a run). Changes are audited (`workspace.automation_settings_changed`).

API key access

Needs the admin scope with an API key (ro_pat_...). A signed-in session uses the caller's role.
PUT/api/v1/workspaces/current/automation-settings
AuthorizationBearer <token>

Access token from /api/v1/auth/login, or an API key (ro_pat_..., RO-176) from /api/v1/workspaces/current/api-keys: the key implies its workspace and needs the route's scope. MCP connectors (/api/v1/mcp only) may use an OAuth access token (ro_oat_..., RO-284).

In: header

Header Parameters

X-Workspace-Id?string | null

Id of the workspace to act on (must be a member).

send_bandit_enabled?boolean | null
inbox_auto_send_min_confidence?number | null

0.85 to 0.99 (never below the default).

Formatdouble
inbox_auto_send_daily_cap?integer | null

0 to 50.

Formatint64
ai_columns_daily_cells?integer | null

0 to 1000.

Formatint64
ai_columns_rows_per_run?integer | null

1 to 200.

Formatint64

Response Body

curl -X PUT "http://localhost:8000/api/v1/workspaces/current/automation-settings" \  -H "X-Workspace-Id: string" \  -H "Content-Type: application/json" \  -d '{}'
{
  "settings": {
    "send_bandit_enabled": true,
    "inbox_auto_send_min_confidence": 0.1,
    "inbox_auto_send_daily_cap": 0,
    "ai_columns_daily_cells": 0,
    "ai_columns_rows_per_run": 0
  },
  "defaults": {
    "send_bandit_enabled": true,
    "inbox_auto_send_min_confidence": 0.1,
    "inbox_auto_send_daily_cap": 0,
    "ai_columns_daily_cells": 0,
    "ai_columns_rows_per_run": 0
  },
  "bounds": {
    "inbox_auto_send_min_confidence": {
      "min": 0.1,
      "max": 0.1
    },
    "inbox_auto_send_daily_cap": {
      "min": 0.1,
      "max": 0.1
    },
    "ai_columns_daily_cells": {
      "min": 0.1,
      "max": 0.1
    },
    "ai_columns_rows_per_run": {
      "min": 0.1,
      "max": 0.1
    }
  },
  "can_manage": true
}
Empty
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}