Replaces the watched list. New calls from watched sources are analyzed automatically when auto_new is true. Analysis is paid, so a save never pulls in old calls unless you set backfill_days.
Needs manage on the analyzer.
Request
Headers
string
required
Bearer token with your API key: Bearer sk_...
string
required
application/json
Path
string
required
Analyzer ID (UUID)
Body
string[]
required
Required. Up to 50 IDs of 60db AI agents in this workspace. [] watches none. Unknown IDs are rejected
string[]
Up to 50 dialer number IDs (digits, from List dialer numbers). Omit to leave unchanged
boolean
default:"true"
Analyze new calls automatically
integer
default:"30"
0–3600. Skip calls shorter than this
integer
default:"0"
0, 7 or 30. Also analyze recorded calls from the last N days
string
off, suggest or auto. Omit to keep the current mode. suggest and auto need at least one watched AI agent; auto needs permission to edit agents. Removing the last AI agent while the mode is on sets it to off. See Self healing
Response
200 The updated sources. The shape matches Get Sources.
{ "success": true, "data": {}}
Errors
Errors use { "success": false, "message": "...", "code": "..." }. See the overview for the codes every route can return.
This endpoint
Status
Code
When
400
UNKNOWN_CALL_AGENT
One or more agents are not in this workspace
400
SELF_HEAL_NEEDS_AI_AGENTS
self_heal_mode is suggest or auto but no AI agent is watched (field: self_heal_mode)
403
SELF_HEAL_AUTO_FORBIDDEN
self_heal_mode is auto and the caller cannot edit agents