patch · monitors:write

Update a monitor

Change keywords, sources, group or active state. Only supplied fields are touched.

WriteIdempotent

REST

patch/api/v1/monitors/{id}
curl "https://herculradar.com/api/v1/monitors/:id" \
  --request PATCH \
  --header "Authorization: Bearer hr_live_…" \
  --header "Content-Type: application/json" \
  --header "Idempotency-Key: $(uuidgen)" \
  --data '{}'

MCP

Tool name update_monitor. It takes the same input and returns the same { data, meta } envelope as REST, because both call the same function.

Change a monitor’s keywords, sources or active state. Only the fields you pass change.

Parameters

idrequiredstringMonitor id

Request body

{
  "type": "object",
  "properties": {
    "name": {
      "type": "string"
    },
    "keywords": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "exclude_keywords": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "sources": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "x",
          "reddit",
          "youtube",
          "linkedin",
          "threads"
        ]
      }
    },
    "active": {
      "type": "boolean",
      "description": "false pauses collection without deleting history"
    }
  }
}

Response

{
  "data": {
    "id": "2c1a9f77-1b31-4d6a-9d2e-0f6a2b3c4d5e",
    "name": "Acme",
    "keywords": [
      "Acme",
      "acme.dev",
      "@acmehq"
    ],
    "exclude_keywords": [
      "acme corp cartoon"
    ],
    "sources": [
      "x",
      "reddit",
      "youtube"
    ],
    "group_name": "my_brand",
    "active": false,
    "scan_interval_minutes": 15,
    "last_scanned_at": "2026-09-01T09:20:00.000Z"
  },
  "meta": {
    "capability": "update_monitor",
    "requestId": "req_9f2b4a8c1d0e",
    "idempotencyReplayed": false,
    "docs": "https://herculradar.com/docs/reference/update_monitor"
  }
}

Authorization

Requires the monitors:write scope. A credential without it gets 403 FORBIDDEN. Resources in projects the credential cannot reach answer 404 NOT_FOUND rather than 403, so ids cannot be probed across tenants.

Send an Idempotency-Key header. A completed response is replayed for 24 hours, so a retry after a timeout cannot create a duplicate.