sdkDeterministic
Update ai settings
pipeline.updateAiSettings
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.
Parameters
workspaceIdrequired
string
No description.
decisionModel
unknown
No description.
toolCallingModel
unknown
No description.
defaultAIModel
unknown
No description.
replyAgent
object
No description.
notifications
object
No description.
commentAgent
object
No description.
contentAgent
object
No description.
schedulingEngine
object
No description.
webSearch
object
No description.
Example
TypeScripttypescript
await pipeline.updateAiSettings({"workspaceId": "00000000-0000-4000-8000-000000000000"})
Response
Success response schemajson schema
{"type": "object","properties": {"success": {"type": "boolean"},"error": {"type": "string"}},"required": ["success"]}
Exceptions
- PipelineError
- Thrown for validation, authentication, JSON-RPC, HTTP, and network failures. Inspect code and data when present.