Update Watch
curl --request PATCH \
--url https://api.signa.so/v1/watches/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"query": {},
"delivery_mode": "<string>",
"status": "<string>",
"metadata": {}
}
'import requests
url = "https://api.signa.so/v1/watches/{id}"
payload = {
"name": "<string>",
"query": {},
"delivery_mode": "<string>",
"status": "<string>",
"metadata": {}
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: '<string>',
query: {},
delivery_mode: '<string>',
status: '<string>',
metadata: {}
})
};
fetch('https://api.signa.so/v1/watches/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.signa.so/v1/watches/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'name' => '<string>',
'query' => [
],
'delivery_mode' => '<string>',
'status' => '<string>',
'metadata' => [
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.signa.so/v1/watches/{id}"
payload := strings.NewReader("{\n \"name\": \"<string>\",\n \"query\": {},\n \"delivery_mode\": \"<string>\",\n \"status\": \"<string>\",\n \"metadata\": {}\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://api.signa.so/v1/watches/{id}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"<string>\",\n \"query\": {},\n \"delivery_mode\": \"<string>\",\n \"status\": \"<string>\",\n \"metadata\": {}\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.signa.so/v1/watches/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"<string>\",\n \"query\": {},\n \"delivery_mode\": \"<string>\",\n \"status\": \"<string>\",\n \"metadata\": {}\n}"
response = http.request(request)
puts response.read_body{
"id": "wat_8kLm2nPq",
"object": "watch",
"name": "Class 9 filings (US only)",
"watch_type": "class",
"query": {
"version": "v2",
"filters": { "niceClasses": [9], "jurisdictions": ["US"] },
"trigger_events": ["trademark.created", "trademark.status_changed"]
},
"delivery_mode": "always_per_alert",
"status": "active",
"alert_count_24h": 2,
"last_alerted_at": "2026-07-05T09:12:00.000Z",
"metadata": {},
"created_at": "2026-05-11T10:00:00.000Z",
"updated_at": "2026-07-06T08:30:00.000Z",
"request_id": "req_3vXq7RmT"
}
Watches
Update Watch
Update a watch (PATCH semantics: partial body)
PATCH
/
v1
/
watches
/
{id}
Update Watch
curl --request PATCH \
--url https://api.signa.so/v1/watches/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"query": {},
"delivery_mode": "<string>",
"status": "<string>",
"metadata": {}
}
'import requests
url = "https://api.signa.so/v1/watches/{id}"
payload = {
"name": "<string>",
"query": {},
"delivery_mode": "<string>",
"status": "<string>",
"metadata": {}
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: '<string>',
query: {},
delivery_mode: '<string>',
status: '<string>',
metadata: {}
})
};
fetch('https://api.signa.so/v1/watches/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.signa.so/v1/watches/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'name' => '<string>',
'query' => [
],
'delivery_mode' => '<string>',
'status' => '<string>',
'metadata' => [
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.signa.so/v1/watches/{id}"
payload := strings.NewReader("{\n \"name\": \"<string>\",\n \"query\": {},\n \"delivery_mode\": \"<string>\",\n \"status\": \"<string>\",\n \"metadata\": {}\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://api.signa.so/v1/watches/{id}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"<string>\",\n \"query\": {},\n \"delivery_mode\": \"<string>\",\n \"status\": \"<string>\",\n \"metadata\": {}\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.signa.so/v1/watches/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"<string>\",\n \"query\": {},\n \"delivery_mode\": \"<string>\",\n \"status\": \"<string>\",\n \"metadata\": {}\n}"
response = http.request(request)
puts response.read_body{
"id": "wat_8kLm2nPq",
"object": "watch",
"name": "Class 9 filings (US only)",
"watch_type": "class",
"query": {
"version": "v2",
"filters": { "niceClasses": [9], "jurisdictions": ["US"] },
"trigger_events": ["trademark.created", "trademark.status_changed"]
},
"delivery_mode": "always_per_alert",
"status": "active",
"alert_count_24h": 2,
"last_alerted_at": "2026-07-05T09:12:00.000Z",
"metadata": {},
"created_at": "2026-05-11T10:00:00.000Z",
"updated_at": "2026-07-06T08:30:00.000Z",
"request_id": "req_3vXq7RmT"
}
Overview
Partial update: omitted fields are unchanged. Requires theportfolios:manage scope.
Path Parameters
string
required
Watch ID (
wat_*).Body Parameters
All fields optional.string
1-255 chars.
object
Replace the entire saved query DSL. Same validation rules as Create Watch.
string
Only
always_per_alert is accepted (same as Create Watch).string
active or paused. Use Pause /
Resume instead when you just want to toggle
evaluation, they’re equivalent but read more clearly in your own code. A third status,
disabled, exists but isn’t settable here: it’s the state a watch moves to when you
delete it, and it’s excluded from
List Watches by default.object
Free-form metadata.
Response
Returns the updatedWatch.
Errors
| Status | type | When |
|---|---|---|
| 400 | validation_error | Invalid query, an unsupported delivery_mode, or an unsupported status value |
| 404 | not_found | Watch doesn’t exist or belongs to another org |
Code Examples
curl -X PATCH "https://api.signa.so/v1/watches/wat_8kLm2nPq" \
-H "Authorization: Bearer sig_YOUR_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: rename-watch-2026-06-12" \
-d '{ "name": "Class 9 filings (US only)" }'
import { Signa } from "@signa-so/sdk";
const signa = new Signa({ api_key: process.env.SIGNA_API_KEY });
await signa.watches.update("wat_8kLm2nPq", {
name: "Class 9 filings (US only)",
});
{
"id": "wat_8kLm2nPq",
"object": "watch",
"name": "Class 9 filings (US only)",
"watch_type": "class",
"query": {
"version": "v2",
"filters": { "niceClasses": [9], "jurisdictions": ["US"] },
"trigger_events": ["trademark.created", "trademark.status_changed"]
},
"delivery_mode": "always_per_alert",
"status": "active",
"alert_count_24h": 2,
"last_alerted_at": "2026-07-05T09:12:00.000Z",
"metadata": {},
"created_at": "2026-05-11T10:00:00.000Z",
"updated_at": "2026-07-06T08:30:00.000Z",
"request_id": "req_3vXq7RmT"
}
Related Endpoints
- Retrieve Watch - fetch the current state of a watch
- Pause Watch - stop evaluation without deleting the watch
- Resume Watch - restart evaluation
- Delete Watch - stop evaluation permanently
⌘I