---
title: "Monitor Update"
method: PATCH
path: "/v2/monitor/{monitor_id}"
tags: ["v2"]
---

# Monitor Update

`PATCH /v2/monitor/{monitor_id}`

## Request

- Base URL: `https://api.ragfeed.de` (the document declares no server; this is the origin it was published from)
- URL: `https://api.ragfeed.de/v2/monitor/{monitor_id}`
- Auth: none declared

## Path parameters

- `monitor_id` string, required

## Request body

- MonitorUpdateRequest: Every field optional; a field sent as null clears it (webhook, notification, goal, judgeEnabled).
  - `name` string, nullable
  - `status` 'active' | 'paused', nullable
  - `schedule` MonitorSchedule
    - `cron` string, nullable
    - `text` string, nullable
    - `timezone` string, nullable
  - `targets` MonitorTarget[], nullable
    - `id` string, nullable
    - `type` 'scrape' | 'crawl' | 'search', required
    - `urls` string[], nullable
    - `url` string, nullable
    - `crawlOptions` object, nullable
    - `scrapeOptions` ScrapeOptions
      - `formats` union[]
        - union
          - string
          - object
      - `onlyMainContent` boolean
      - `onlyCleanContent` boolean
      - `includeTags` string[], nullable
      - `excludeTags` string[], nullable
      - `maxAge` integer, nullable
      - `minAge` integer, nullable
      - `headers` object, nullable
      - `waitFor` integer
      - `mobile` boolean
      - `skipTlsVerification` boolean
      - `timeout` integer, nullable
      - `parsers` union[], nullable
        - union
          - string
          - object
      - `actions` object[], nullable
      - `location` Location
        - `country` string, nullable
        - `languages` string[], nullable
      - `removeBase64Images` boolean
      - `blockAds` boolean
      - `proxy` 'basic' | 'enhanced' | 'auto' | 'stealth', nullable
      - `storeInCache` boolean
      - `lockdown` boolean
      - `redactPII` union
        - boolean
        - object
      - `zeroDataRetention` boolean
    - `queries` string[], nullable
    - `searchWindow` string, nullable
    - `maxResults` integer, nullable
    - `includeDomains` string[], nullable
    - `excludeDomains` string[], nullable
  - `webhook` union
    - MonitorWebhook
      - `url` string, required
      - `headers` object, nullable
      - `metadata` object, nullable
      - `events` string[], nullable
    - string
  - `notification` MonitorNotification
    - `email` MonitorEmail
      - `enabled` boolean
      - `recipients` string[], nullable
      - `includeDiffs` boolean
  - `retentionDays` integer, nullable
  - `goal` string, nullable
  - `judgeEnabled` boolean, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/ragfeed/apis/ragfeed-api.md) · [All operations](https://skmtc.dev/ragfeed/apis/ragfeed-api/llms.txt) · [OpenAPI document](https://skmtc.dev/ragfeed/apis/ragfeed-api/revisions/0ebcfdfb5fda?raw)
