PATCH /v1/watches/:id updates selected watch fields. Send only what changes.
Watch id (
watch_...).Tenant scope
Writes are owner-scoped: another tenant’s watch id is404 WATCH_NOT_FOUND, never 403. Restricted (sk_*) keys always write to their own owner. Internal keys can act on behalf of one tenant for watch reads and writes with ?owner=<ownerId> or X-AISearch-On-Behalf-Of: <ownerId>; the query parameter wins when both are present. A restricted key’s override is ignored.
When an override is applied, the response adds a top-level owner field and an X-AISearch-Owner header containing the enforced owner id.
Internal keys only. Owner id to enforce for this write. Overrides the
X-AISearch-On-Behalf-Of header when both are sent.Body
Every body field is optional.New display name.
New cadence as
{ "every": "15m|30m|1h|6h|12h|1d|7d" } or { "intervalMinutes": integer }. The interval must meet the plan floor.New Auto Extract config.
true and {} enable opportunistic extraction;
{ "targets": [...] } pins up to 10 targets of at most 100 characters each;
false disables extraction.New public HTTPS destination. Send
null to remove the webhook.active or paused only. Pausing sets pausedReason: "user". Resuming from
paused clears pausedReason and reschedules nextRunAt to now + intervalMinutes.Request
Response
200 OK
The complete public Watch after the update. The schedule always includes both
every and source-of-truth intervalMinutes.Errors
An update field is invalid, including
status: "canceled", a malformed
schedule, or an invalid extraction target.No watch exists for the given id, or it belongs to another tenant.
The new schedule is below the plan’s minimum interval. The message names the
floor and plan.
422
Related
Watches
Lifecycle, plan limits, billing, and run history.
Get a watch
Read the current configuration and recent runs.
Delete a watch
Soft-cancel a watch permanently.
Webhooks
Verify signed deliveries from watch runs.