Workspaces / CLI

Update ai settings

Update workspace AI settings. Shared keys only. Agent model overrides stay separate from tool calling. JEV tasks are opt-in. Free endpoints do not receive private workspace context.

pipeline update-ai-settingsDeterministic operation

Parameters

workspaceIdRequired · string
See the input schema for this field.
decisionModelOptional · object
See the input schema for this field.
toolCallingModelOptional · object
See the input schema for this field.
defaultAIModelOptional · object
See the input schema for this field.
replyAgentOptional · object
See the input schema for this field.
notificationsOptional · object
See the input schema for this field.
commentAgentOptional · object
See the input schema for this field.
contentAgentOptional · object
See the input schema for this field.
schedulingEngineOptional · object
See the input schema for this field.
webSearchOptional · object
See the input schema for this field.
Request example
pipeline update-ai-settings \
  --workspace-id "00000000-0000-4000-8000-000000000000"
Full input schema
Input schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "workspaceId": {
      "type": "string",
      "format": "uuid",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
    },
    "decisionModel": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "provider": {
              "type": "string",
              "enum": [
                "typesafe",
                "openrouter"
              ]
            },
            "credentialId": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "model": {
              "type": "string",
              "minLength": 1
            },
            "enabledTasks": {
              "maxItems": 3,
              "type": "array",
              "items": {
                "type": "string",
                "enum": [
                  "icp_scoring",
                  "reply_classification",
                  "sentiment_tagging"
                ]
              }
            },
            "fallback": {
              "type": "string",
              "enum": [
                "review",
                "configured_llm"
              ]
            },
            "policyVersion": {
              "type": "string",
              "const": "jev-policy-v1"
            }
          },
          "required": [
            "provider",
            "credentialId",
            "model",
            "enabledTasks",
            "fallback",
            "policyVersion"
          ],
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ]
    },
    "toolCallingModel": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "provider": {
              "type": "string",
              "enum": [
                "anthropic",
                "openai",
                "gemini",
                "openrouter"
              ]
            },
            "credentialId": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "model": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200
            },
            "fallback": {
              "type": "string",
              "enum": [
                "stop",
                "workspace_default"
              ]
            }
          },
          "required": [
            "provider",
            "credentialId",
            "model",
            "fallback"
          ],
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ]
    },
    "defaultAIModel": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "provider": {
              "type": "string",
              "enum": [
                "anthropic",
                "openai",
                "gemini",
                "openrouter"
              ]
            },
            "credentialId": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "model": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200
            }
          },
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ]
    },
    "replyAgent": {
      "type": "object",
      "properties": {
        "enabled": {
          "type": "boolean"
        },
        "operationMode": {
          "type": "string",
          "enum": [
            "draft",
            "auto"
          ]
        },
        "autoSendThreshold": {
          "type": "number",
          "minimum": 0,
          "maximum": 100
        },
        "autoSendDelayMin": {
          "type": "number",
          "minimum": 0
        },
        "autoSendDelayMax": {
          "type": "number",
          "minimum": 0
        },
        "sentimentFilterEnabled": {
          "type": "boolean"
        },
        "meetingPace": {
          "type": "string",
          "enum": [
            "aggressive",
            "balanced",
            "conservative"
          ]
        },
        "customInstructions": {
          "type": "string",
          "maxLength": 2000
        }
      },
      "required": [
        "enabled",
        "operationMode",
        "autoSendThreshold",
        "autoSendDelayMin",
        "autoSendDelayMax",
        "sentimentFilterEnabled"
      ],
      "additionalProperties": false
    },
    "notifications": {
      "type": "object",
      "properties": {
        "slackEnabled": {
          "type": "boolean"
        },
        "notificationTrigger": {
          "type": "string",
          "enum": [
            "all_replies",
            "interested_only"
          ]
        }
      },
      "required": [
        "slackEnabled",
        "notificationTrigger"
      ],
      "additionalProperties": false
    },
    "commentAgent": {
      "type": "object",
      "properties": {
        "enabled": {
          "type": "boolean"
        },
        "operationMode": {
          "type": "string",
          "enum": [
            "draft",
            "auto"
          ]
        },
        "autoPostThreshold": {
          "type": "number",
          "minimum": 0,
          "maximum": 100
        },
        "dailyCommentLimit": {
          "type": "number",
          "exclusiveMinimum": 0
        },
        "dailyLimitVariance": {
          "type": "number",
          "minimum": 0
        },
        "postingDelayMin": {
          "type": "number",
          "minimum": 0
        },
        "postingDelayMax": {
          "type": "number",
          "minimum": 0
        },
        "pollingIntervalMinutes": {
          "type": "number",
          "exclusiveMinimum": 0
        }
      },
      "required": [
        "enabled",
        "operationMode",
        "autoPostThreshold",
        "dailyCommentLimit",
        "dailyLimitVariance",
        "postingDelayMin",
        "postingDelayMax",
        "pollingIntervalMinutes"
      ],
      "additionalProperties": false
    },
    "contentAgent": {
      "type": "object",
      "properties": {
        "enabled": {
          "type": "boolean"
        },
        "operationMode": {
          "type": "string",
          "enum": [
            "draft",
            "auto"
          ]
        },
        "autoPostThreshold": {
          "type": "number",
          "minimum": 0,
          "maximum": 100
        },
        "postsPerWeek": {
          "type": "number",
          "exclusiveMinimum": 0
        },
        "postingDays": {
          "minItems": 1,
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "monday",
              "tuesday",
              "wednesday",
              "thursday",
              "friday",
              "saturday",
              "sunday"
            ]
          }
        },
        "postingTime": {
          "type": "string"
        },
        "timezone": {
          "type": "string",
          "minLength": 1
        }
      },
      "required": [
        "enabled",
        "operationMode",
        "autoPostThreshold",
        "postsPerWeek",
        "postingDays",
        "postingTime",
        "timezone"
      ],
      "additionalProperties": false
    },
    "schedulingEngine": {
      "type": "object",
      "properties": {
        "enabled": {
          "type": "boolean"
        },
        "autoSendResponses": {
          "type": "boolean"
        }
      },
      "required": [
        "enabled",
        "autoSendResponses"
      ],
      "additionalProperties": false
    },
    "webSearch": {
      "type": "object",
      "properties": {
        "credentialId": {
          "type": "string",
          "format": "uuid",
          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
        }
      },
      "additionalProperties": false
    }
  },
  "required": [
    "workspaceId"
  ],
  "additionalProperties": false
}
See this operation inMCP REST API TypeScript SDK
CLI guide | Pipeline v2 preview