Update a monitor

PATCH /v1/monitors/{id}

Price: Free.

Rate limit: Counts as 1 request against your per-minute rate limit.

MCP tool: update_monitor, only on MCP connections granted monitor or webhook access.

Requires an API key, sent as Authorization: Bearer <key>.

Request

curl --request PATCH \
  --url https://api.weirapp.io/v1/monitors/ID \
  --header "Authorization: Bearer $WEIR_API_KEY" \
  --header 'Content-Type: application/json' \
  --data '{}'

Path parameters

Field Type Required Notes
id string (uuid) yes

Body

Field Type Required Notes
name string no 1–120 chars
target object or object or object or object or object or object or object no What the monitor watches. search runs a keyword search across sources; subreddit watches one community, with a keyword or without; x_user watches one account's posts; reddit_thread and x_thread watch one conversation for new replies. Identifiers are normalised, so a pasted URL, an r/ prefix, or an @ handle are all accepted.
schedule string no How often the monitor runs. 15min is for paid tiers (2, 10 or 25 monitors at once by tier); hourly unlocks with any credit purchase; daily and weekly are on every tier; manual runs only when asked. · manual, 15min, hourly, daily, weekly
webhookId string or null no
status string no active, paused, archived
startFrom string no now makes the next run store what already exists without sending it to the webhook, so only later results are delivered. recent sends the first run's results too. The stored results are listed and charged either way. · recent, now

Response

The updated monitor.

200

Field Type Required Notes
data object yes
data.id string (uuid) yes
data.name string yes
data.target object or object or object or object or object or object or object yes What the monitor watches. search runs a keyword search across sources; subreddit watches one community, with a keyword or without; x_user watches one account's posts; reddit_thread and x_thread watch one conversation for new replies. Identifiers are normalised, so a pasted URL, an r/ prefix, or an @ handle are all accepted.
data.sources array of string yes
data.schedule string yes How often the monitor runs. 15min is for paid tiers (2, 10 or 25 monitors at once by tier); hourly unlocks with any credit purchase; daily and weekly are on every tier; manual runs only when asked. · manual, 15min, hourly, daily, weekly
data.status string yes active, paused, archived
data.webhookId string or null yes
data.baselinePending boolean yes True until the first run after startFrom: now has stored what already exists. That run sends nothing to the webhook.
data.feedUrl string or null yes RSS 2.0 feed of the monitor's 50 newest results, or null while the feed is off. Anyone holding the URL can read it; turning the feed on again replaces the URL.
data.lastRunAt string or null yes
data.nextRunAt string or null yes
data.createdAt string (date-time) yes
data.updatedAt string (date-time) yes
meta object yes
meta.requestId string yes

Errors

Status Meaning What to do
400 The request failed validation. The request was malformed. The details object names the field.
401 The API key is missing, malformed, expired, or revoked. The key is missing, malformed, revoked, or expired.
402 The account is out of credits. Not retryable. The message names the day free credits return and the price of the smallest pack; details carries buyUrl, smallestPack and freeCreditsRenewAt. Out of credits. Never retry. It clears in two ways only: the month's free credits return on the 1st (UTC), or a person adds credits at https://weirapp.io/buy (from $5). Retrying never works.
403 The API key does not carry the scope this route requires. The key is valid but lacks the scope this operation needs.
404 No such monitor, or no such webhook, in this account. No such resource, or it is not public.
429 The per-minute rate limit is exhausted. Retryable: wait for Retry-After and try again. Rate limited. Retryable: wait for Retry-After, then try again.
500 An unexpected error occurred. Something failed on our side. Retryable with backoff.

View this page as Markdown