Creates a monitor and returns 201 with its settings and webhook secret.Free to create. Each check costs 1 credit per page fetched, plus extras. See Limits and credits. Failed requests are never charged.
Guide: Monitors
Targets, schedules, change detection, goals, alerts and limits.
Authorizations
X-API-Key
string
header
required
Your Prefetch API key. Obtain one from the dashboard.
Body
application/json
name
string
required
Maximum string length: 256
Example:
"Competitor pricing"
schedule
object
required
Exactly one of cron or text. A bare string is accepted too, and read as cron when it has five cron fields.
What to watch. At most 500 pages per check across all targets.
Required array length: 1 - 50 elements
Watches a fixed list of pages, each fetched the way GET /scrape would fetch it.
Scrape target
Crawl target
Search target
Show child attributes
goal
string | null
What you want to be told about, in one plain sentence. With a goal, every changed page is judged against it, and only meaningful changes send a monitor.page webhook. 1 credit per page judged.
Maximum string length: 2000
Example:
"Alert me when a plan price or its included features change"
judge_enabled
boolean
Judge changes against the goal. Default: true when a goal is set.
webhook
object
Show child attributes
email
object
Show child attributes
retention_days
integer
default:30
How long check history is kept.
Required range: 1 <= x <= 365
Response
Monitor created.
success
enum<boolean>
required
Available options:
true
data
object
required
Show child attributes
meta
object
required
Show child attributes
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Prefetch API","colors":{"primary":"#8A5A00","light":"#F7B00A","dark":"#F7B00A"},"logo":{"light":"https://mintcdn.com/prefetch/0cLjeQZN2Dy6gN5Q/logo/light.svg?fit=max\u0026auto=format\u0026n=0cLjeQZN2Dy6gN5Q\u0026q=85\u0026s=7b9ea0ec7c23b929ff607e56c0de9713","dark":"https://mintcdn.com/prefetch/0cLjeQZN2Dy6gN5Q/logo/dark.svg?fit=max\u0026auto=format\u0026n=0cLjeQZN2Dy6gN5Q\u0026q=85\u0026s=e97e8b6432d524163f934bd09b638763"},"favicon":"https://mintcdn.com/prefetch/qKlLmXxc4XUEOZI9/images/favicon.svg?fit=max\u0026auto=format\u0026n=qKlLmXxc4XUEOZI9\u0026q=85\u0026s=68c45014cec0f875b327e5b42e450b3c","appearance":{"default":"dark","strict":false},"background":{"color":{"light":"#FCFBF6","dark":"#1A0618"}},"navbar":{"links":[{"href":"https://prefetch.io/#pricing-section","label":"Pricing"},{"href":"https://prefetch.betteruptime.com/","label":"Status"},{"href":"mailto:[email protected]","label":"Support"},{"href":"https://prefetch.io/dashboard","label":"Dashboard"}],"primary":{"type":"button","label":"Get API key","href":"https://prefetch.io/account"}},"footer":{"links":[{"header":"Product","items":[{"label":"Website","href":"https://prefetch.io"},{"label":"Brand catalog","href":"https://prefetch.io/brands"},{"label":"Pricing","href":"https://prefetch.io/"},{"label":"Status","href":"https://prefetch.betteruptime.com/"},{"label":"Dashboard","href":"https://prefetch.io/dashboard"}]},{"header":"Docs","items":[{"label":"Quickstart","href":"/quickstart"},{"label":"Recipes","href":"/recipes/overview"},{"label":"Compare","href":"/compare/overview"},{"label":"API reference","href":"/api-reference/introduction"},{"label":"MCP server","href":"/mcp/overview"},{"label":"Changelog","href":"/changelog"}]},{"header":"Company","items":[{"label":"Book a demo","href":"https://cal.com/nestoras.design"},{"label":"Contact","href":"mailto:[email protected]"},{"label":"Security","href":"/concepts/security"},{"label":"Privacy","href":"https://prefetch.io/privacy"},{"label":"Terms","href":"https://prefetch.io/terms"}]}]},"fonts":{"heading":{"family":"Space Grotesk"},"body":{"family":"Inter"}},"styling":{"codeblocks":{"theme":"css-variables"},"latex":true},"integrations":{"ga4":{"measurementId":"G-GVKTFNYJ7B"}},"contextual":{"options":["copy","view","claude","chatgpt","perplexity","cursor","vscode"],"display":"header"},"thumbnails":{"appearance":"dark","background":"https://mintcdn.com/prefetch/0cLjeQZN2Dy6gN5Q/images/og-background.png?fit=max\u0026auto=format\u0026n=0cLjeQZN2Dy6gN5Q\u0026q=85\u0026s=cff58baad899de3384c86485eb291dad","fonts":{"family":"Space Grotesk"}},"navigation":{"global":{},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"prefetch","hasAudioNarration":false,"actualSubdomain":"prefetch","customDomains":["docs.prefetch.io"],"gitSource":{"type":"github","owner":"trelobarbouni18","repo":"mintlify-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"entitlements":{},"buildId":"6aebd7f575e8c030b49a1953","clientVersion":"0.0.4138","searchFilterCounts":[{"language":"default","tag":"API reference","count":38},{"language":"default","tag":"Docs","count":37},{"language":"default","tag":"Monitors","count":17},{"language":"default","tag":"Recipes","count":14},{"language":"default","tag":"Company data","count":13},{"language":"default","tag":"Integrations","count":12},{"language":"default","tag":"Web data","count":10},{"language":"default","tag":"Batches","count":8},{"language":"default","tag":"Jobs and monitoring","count":8},{"language":"default","tag":"Platform","count":7}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[{"filePath":"custom.css","href":"/_mintlify/custom/prefetch/d2542fa30758caf7/custom.css"}],"page":{"pagePath":"api-reference/endpoint/monitor","slug":"/api-reference/endpoint/monitor","pageMetadata":{"title":"POST /monitor","sidebarTitle":"Create a monitor","description":"Watch pages, sites and searches on a schedule, and get told what changed. Free to create; each check is billed per page.","openapi":"POST /monitor","href":"/api-reference/endpoint/monitor"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Watch pages, sites and searches on a schedule, and get told what changed. Free to create; each check is billed per page.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,strong:`strong`,..._provideComponents(),...props.components},{Card}=_components;if(!Card)_missingMdxReference(`Card`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Creates a monitor and returns `,_jsx(_components.code,{children:`201`}),` with its settings and webhook secret.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Free to create.`}),` Each check costs 1 credit per page fetched, plus extras. See `,_jsx(_components.a,{href:`/monitors/limits`,children:`Limits and credits`}),`. Failed requests are never charged.`]}),`\n`,_jsx(Card,{title:`Guide: Monitors`,icon:`https://mintcdn.com/prefetch/Ob8l2tkuj_5KxjuQ/icons/book-open.svg?fit=max\u0026auto=format\u0026n=Ob8l2tkuj_5KxjuQ\u0026q=85\u0026s=83997c50bbffa6f63d021644f36e0d2f`,href:`/monitors/overview`,\"data-og-width\":`24`,width:`24`,\"data-og-height\":`24`,height:`24`,\"data-path\":`icons/book-open.svg`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/prefetch/Ob8l2tkuj_5KxjuQ/icons/book-open.svg?w=280\u0026fit=max\u0026auto=format\u0026n=Ob8l2tkuj_5KxjuQ\u0026q=85\u0026s=571e9341106e7a820dfbdc82f1fa7848 280w, https://mintcdn.com/prefetch/Ob8l2tkuj_5KxjuQ/icons/book-open.svg?w=560\u0026fit=max\u0026auto=format\u0026n=Ob8l2tkuj_5KxjuQ\u0026q=85\u0026s=89b208a6ebed2801c21d3b334602f655 560w, https://mintcdn.com/prefetch/Ob8l2tkuj_5KxjuQ/icons/book-open.svg?w=840\u0026fit=max\u0026auto=format\u0026n=Ob8l2tkuj_5KxjuQ\u0026q=85\u0026s=cad73ea82dc28ca477d6c58a9dba2701 840w, https://mintcdn.com/prefetch/Ob8l2tkuj_5KxjuQ/icons/book-open.svg?w=1100\u0026fit=max\u0026auto=format\u0026n=Ob8l2tkuj_5KxjuQ\u0026q=85\u0026s=a756acb5854c82807bee8e5b6fdf40a4 1100w, https://mintcdn.com/prefetch/Ob8l2tkuj_5KxjuQ/icons/book-open.svg?w=1650\u0026fit=max\u0026auto=format\u0026n=Ob8l2tkuj_5KxjuQ\u0026q=85\u0026s=5c188516dd5cf7d2e4e7d1b0f4fd00a6 1650w, https://mintcdn.com/prefetch/Ob8l2tkuj_5KxjuQ/icons/book-open.svg?w=2500\u0026fit=max\u0026auto=format\u0026n=Ob8l2tkuj_5KxjuQ\u0026q=85\u0026s=58b15848f6396e16701ae55f8da4103c 2500w`,children:_jsx(_components.p,{children:`Targets, schedules, change detection, goals, alerts and limits.`})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"codeStyling":{"theme":"css-variables"},"config":{},"pageMetadata":{"title":"POST /monitor","sidebarTitle":"Create a monitor","description":"Watch pages, sites and searches on a schedule, and get told what changed. Free to create; each check is billed per page.","openapi":"POST /monitor","href":"/api-reference/endpoint/monitor"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"createMonitor","summary":"Create a monitor","description":"Watch pages, sites and searches on a schedule, and get told what changed. Free to create; each check is billed per page.","tags":["Endpoints"],"requestBody":"91aefbf5-1054-42e8-8188-dbe47c4b3099","responses":{"201":"fb1f0679-4d4a-41f3-bbeb-4ddf88c7ee56","400":"b56b9041-d52f-4aea-aa0c-af91c4697a43","401":"5d17e853-a12c-4d12-93b6-804528441550","403":"adc1c4be-1cd9-4402-a868-cbf6589e3fd4","429":"17e9fbbd-1359-44b9-8138-9997c112f90b","503":"5aad335d-a4ff-4b73-be4e-b7a581295b79"},"method":"post","type":"path","servers":["a72447d6-010c-4889-ae7b-b9e4d80db41a"],"security":["a1fe7f7c-62a7-42f3-b340-a37bf2940fc6"],"path":"/monitor","baseUrlOptions":["https://api.prefetch.io"],"title":"Create a monitor","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name","schedule","targets"],"properties":{"name":{"type":"string","maxLength":256,"example":"Competitor pricing","isRequired":true,"uniqueKey":"name","typeLabel":"string"},"schedule":{"type":"object","description":"Exactly one of `cron` or `text`. A bare string is accepted too, and read as cron when it has five cron fields.","properties":{"cron":{"type":"string","description":"Five-field cron expression. How close together runs may be depends on the plan: an hour apart on Free, 5 minutes on Starter and Pro, 2 on Growth, 1 on Scale.","example":"*/30 * * * *","uniqueKey":"schedule.cron","typeLabel":"string"},"text":{"type":"string","description":"A plain-English schedule, converted to cron: \"every 30 minutes\", \"every 15 minutes starting at :07\", \"hourly\", \"every 2 hours\", \"daily\", \"daily at 9am\", \"daily at 5:30 PM\", \"every weekday at 9am\", \"weekly\", \"every monday at 8:00\", \"monthly\".","example":"every weekday at 9am","uniqueKey":"schedule.text","typeLabel":"string"},"timezone":{"type":"string","default":"UTC","description":"IANA timezone the schedule runs in.","example":"Europe/Athens","uniqueKey":"schedule.timezone","typeLabel":"string"}},"isRequired":true,"uniqueKey":"schedule","typeLabel":"object"},"targets":{"type":"array","items":{"oneOf":[{"type":"object","title":"Scrape target","description":"Watches a fixed list of pages, each fetched the way `GET /scrape` would fetch it.","required":["type","urls"],"properties":{"type":{"type":"string","enum":["scrape"],"isRequired":true,"uniqueKey":"targets.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"urls":{"type":"array","items":{"type":"string","uniqueKey":"targets.items.[INDEX].oneOf.0.urls.items.[INDEX]","typeLabel":"string"},"minItems":1,"maxItems":100,"description":"The pages to watch.","example":["https://example.com/pricing"],"isRequired":true,"uniqueKey":"targets.items.[INDEX].oneOf.0.urls","typeLabel":"string[]"},"id":{"type":"string","description":"Stable target id. Generated when omitted; on update, a target watching the same URLs keeps its id — and its snapshots — automatically.","example":"tgt_8d1e0f2a3b4c5d6e","uniqueKey":"targets.items.[INDEX].oneOf.0.id","typeLabel":"string"},"scrape_options":{"type":"object","description":"How each page is rendered before it is compared — the content-shaping options of `GET /scrape`.","properties":{"only_main_content":{"type":"boolean","default":true,"description":"Compare the main content only, ignoring navigation, sidebars and footers.","uniqueKey":"targets.items.[INDEX].oneOf.0.scrape_options.only_main_content","typeLabel":"boolean"},"include_links":{"type":"boolean","default":true,"description":"Keep link URLs in the compared markdown.","uniqueKey":"targets.items.[INDEX].oneOf.0.scrape_options.include_links","typeLabel":"boolean"},"include_images":{"type":"boolean","default":false,"description":"Keep images in the compared markdown. Off by default: image URLs carry cache-busting hashes that change on every deploy.","uniqueKey":"targets.items.[INDEX].oneOf.0.scrape_options.include_images","typeLabel":"boolean"},"include_selectors":{"type":"array","items":{"type":"string","uniqueKey":"targets.items.[INDEX].oneOf.0.scrape_options.include_selectors.items.[INDEX]","typeLabel":"string"},"description":"CSS selectors to compare instead of the detected main content.","example":["#pricing"],"uniqueKey":"targets.items.[INDEX].oneOf.0.scrape_options.include_selectors","typeLabel":"string[]"},"exclude_selectors":{"type":"array","items":{"type":"string","uniqueKey":"targets.items.[INDEX].oneOf.0.scrape_options.exclude_selectors.items.[INDEX]","typeLabel":"string"},"description":"CSS selectors to leave out of the comparison — the way to silence a timestamp or a rotating banner.","example":[".last-updated",".testimonial"],"uniqueKey":"targets.items.[INDEX].oneOf.0.scrape_options.exclude_selectors","typeLabel":"string[]"}},"uniqueKey":"targets.items.[INDEX].oneOf.0.scrape_options","typeLabel":"object"},"change_tracking":{"type":"object","properties":{"modes":{"type":"array","items":{"type":"string","enum":["markdown","json"],"uniqueKey":"targets.items.[INDEX].oneOf.0.change_tracking.modes.items.[INDEX]","typeLabel":"enum\u003cstring>"},"default":["markdown"],"description":"`markdown` diffs the page text line by line. `json` extracts the fields described by `json_prompt` or `json_schema` and diffs them field by field, so a page is `changed` only when a tracked field changes. The extraction is re-read (and its AI surcharge charged) only when the page's text changed, and list items are matched by identity (an `id`, `url`, `name` or `title` field), so one item inserted into a list is one `added` field. Both together report `changed` when either surface changed.","uniqueKey":"targets.items.[INDEX].oneOf.0.change_tracking.modes","typeLabel":"enum\u003cstring>[]"},"json_prompt":{"type":"string","description":"For the `json` mode: the fields to track, in plain English.","example":"Each plan: name, monthly price, headline features","uniqueKey":"targets.items.[INDEX].oneOf.0.change_tracking.json_prompt","typeLabel":"string"},"json_schema":{"type":"object","description":"For the `json` mode: a JSON Schema for the extraction.","uniqueKey":"targets.items.[INDEX].oneOf.0.change_tracking.json_schema","typeLabel":"object"},"ignore_text":{"type":"array","items":{"type":"string","uniqueKey":"targets.items.[INDEX].oneOf.0.change_tracking.ignore_text.items.[INDEX]","typeLabel":"string"},"description":"Up to 25 phrases: lines containing one are left out of the comparison. Plain text, case and spacing ignored, `*` matching any run of characters. Regular expressions are not accepted.","example":["people are viewing","viewed * times"],"uniqueKey":"targets.items.[INDEX].oneOf.0.change_tracking.ignore_text","typeLabel":"string[]"},"ignore_order":{"type":"boolean","default":false,"description":"Lines that only moved are not a change: a re-sorted list, testimonials shown in another order.","uniqueKey":"targets.items.[INDEX].oneOf.0.change_tracking.ignore_order","typeLabel":"boolean"},"notify_on":{"type":"array","items":{"type":"string","enum":["added","removed","changed"],"uniqueKey":"targets.items.[INDEX].oneOf.0.change_tracking.notify_on.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Which kinds of change notify: lines (or json fields) added, removed or changed, and, for a crawl, pages that appear (`added`) or disappear (`removed`); a tracked price, number, visual area or keyword that moves is a change. Default: all three. A change of another kind is recorded on the check, not judged or announced.","example":["added"],"uniqueKey":"targets.items.[INDEX].oneOf.0.change_tracking.notify_on","typeLabel":"enum\u003cstring>[]"},"only_new_content":{"type":"boolean","default":false,"description":"Notify only when a change brings text the page has not shown in its recent history (its last ~1,000 distinct lines), so content that cycles (a carousel, rotating offers, A/B variants) stays quiet.","uniqueKey":"targets.items.[INDEX].oneOf.0.change_tracking.only_new_content","typeLabel":"boolean"}},"uniqueKey":"targets.items.[INDEX].oneOf.0.change_tracking","typeLabel":"object"}},"uniqueKey":"targets.items.[INDEX].oneOf.0","typeLabel":"Scrape target · object"},{"type":"object","title":"Crawl target","description":"Re-crawls a site on every check, so pages that appear or disappear are reported as well as pages that change.","required":["type","url"],"properties":{"type":{"type":"string","enum":["crawl"],"isRequired":true,"uniqueKey":"targets.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"url":{"type":"string","description":"Where each crawl starts.","example":"https://example.com/changelog","isRequired":true,"uniqueKey":"targets.items.[INDEX].oneOf.1.url","typeLabel":"string"},"id":{"type":"string","description":"Stable target id. Generated when omitted.","example":"tgt_1a2b3c4d5e6f7a8b","uniqueKey":"targets.items.[INDEX].oneOf.1.id","typeLabel":"string"},"crawl_options":{"type":"object","description":"The crawl options `POST /crawl` takes, without `allow_external_links`.","properties":{"limit":{"type":"integer","minimum":1,"maximum":500,"default":25,"description":"Most pages each check crawls. Every page is billed on every check.","uniqueKey":"targets.items.[INDEX].oneOf.1.crawl_options.limit","typeLabel":"integer"},"max_depth":{"type":"integer","minimum":0,"maximum":5,"default":2,"description":"How many links deep to follow from the start URL.","uniqueKey":"targets.items.[INDEX].oneOf.1.crawl_options.max_depth","typeLabel":"integer"},"include_paths":{"type":"array","items":{"type":"string","uniqueKey":"targets.items.[INDEX].oneOf.1.crawl_options.include_paths.items.[INDEX]","typeLabel":"string"},"description":"Regular expressions matched against a URL's path and query. A URL must match at least one to be monitored.","example":["^/changelog/"],"uniqueKey":"targets.items.[INDEX].oneOf.1.crawl_options.include_paths","typeLabel":"string[]"},"exclude_paths":{"type":"array","items":{"type":"string","uniqueKey":"targets.items.[INDEX].oneOf.1.crawl_options.exclude_paths.items.[INDEX]","typeLabel":"string"},"description":"Regular expressions. A matching URL is skipped.","uniqueKey":"targets.items.[INDEX].oneOf.1.crawl_options.exclude_paths","typeLabel":"string[]"},"allow_subdomains":{"type":"boolean","default":false,"description":"Follow links onto subdomains of the start URL.","uniqueKey":"targets.items.[INDEX].oneOf.1.crawl_options.allow_subdomains","typeLabel":"boolean"},"ignore_query_params":{"type":"boolean","default":true,"description":"Treat URLs that differ only by query string as one page.","uniqueKey":"targets.items.[INDEX].oneOf.1.crawl_options.ignore_query_params","typeLabel":"boolean"},"respect_robots_txt":{"type":"boolean","default":true,"description":"Obey the rules in `robots.txt`.","uniqueKey":"targets.items.[INDEX].oneOf.1.crawl_options.respect_robots_txt","typeLabel":"boolean"},"use_sitemap":{"type":"boolean","default":true,"description":"Seed each crawl from the site's sitemap as well as from links.","uniqueKey":"targets.items.[INDEX].oneOf.1.crawl_options.use_sitemap","typeLabel":"boolean"},"delay_ms":{"type":"integer","minimum":0,"maximum":30000,"default":0,"description":"Politeness delay between pages.","uniqueKey":"targets.items.[INDEX].oneOf.1.crawl_options.delay_ms","typeLabel":"integer"},"concurrency":{"type":"integer","minimum":1,"maximum":5,"default":2,"description":"Pages fetched in parallel.","uniqueKey":"targets.items.[INDEX].oneOf.1.crawl_options.concurrency","typeLabel":"integer"}},"uniqueKey":"targets.items.[INDEX].oneOf.1.crawl_options","typeLabel":"object"},"scrape_options":{"type":"object","description":"How each page is rendered before it is compared — the content-shaping options of `GET /scrape`.","properties":{"only_main_content":{"type":"boolean","default":true,"description":"Compare the main content only, ignoring navigation, sidebars and footers.","uniqueKey":"targets.items.[INDEX].oneOf.1.scrape_options.only_main_content","typeLabel":"boolean"},"include_links":{"type":"boolean","default":true,"description":"Keep link URLs in the compared markdown.","uniqueKey":"targets.items.[INDEX].oneOf.1.scrape_options.include_links","typeLabel":"boolean"},"include_images":{"type":"boolean","default":false,"description":"Keep images in the compared markdown. Off by default: image URLs carry cache-busting hashes that change on every deploy.","uniqueKey":"targets.items.[INDEX].oneOf.1.scrape_options.include_images","typeLabel":"boolean"},"include_selectors":{"type":"array","items":{"type":"string","uniqueKey":"targets.items.[INDEX].oneOf.1.scrape_options.include_selectors.items.[INDEX]","typeLabel":"string"},"description":"CSS selectors to compare instead of the detected main content.","example":["#pricing"],"uniqueKey":"targets.items.[INDEX].oneOf.1.scrape_options.include_selectors","typeLabel":"string[]"},"exclude_selectors":{"type":"array","items":{"type":"string","uniqueKey":"targets.items.[INDEX].oneOf.1.scrape_options.exclude_selectors.items.[INDEX]","typeLabel":"string"},"description":"CSS selectors to leave out of the comparison — the way to silence a timestamp or a rotating banner.","example":[".last-updated",".testimonial"],"uniqueKey":"targets.items.[INDEX].oneOf.1.scrape_options.exclude_selectors","typeLabel":"string[]"}},"uniqueKey":"targets.items.[INDEX].oneOf.1.scrape_options","typeLabel":"object"},"change_tracking":{"type":"object","properties":{"modes":{"type":"array","items":{"type":"string","enum":["markdown","json"],"uniqueKey":"targets.items.[INDEX].oneOf.1.change_tracking.modes.items.[INDEX]","typeLabel":"enum\u003cstring>"},"default":["markdown"],"description":"`markdown` diffs the page text line by line. `json` extracts the fields described by `json_prompt` or `json_schema` and diffs them field by field, so a page is `changed` only when a tracked field changes. The extraction is re-read (and its AI surcharge charged) only when the page's text changed, and list items are matched by identity (an `id`, `url`, `name` or `title` field), so one item inserted into a list is one `added` field. Both together report `changed` when either surface changed.","uniqueKey":"targets.items.[INDEX].oneOf.1.change_tracking.modes","typeLabel":"enum\u003cstring>[]"},"json_prompt":{"type":"string","description":"For the `json` mode: the fields to track, in plain English.","example":"Each plan: name, monthly price, headline features","uniqueKey":"targets.items.[INDEX].oneOf.1.change_tracking.json_prompt","typeLabel":"string"},"json_schema":{"type":"object","description":"For the `json` mode: a JSON Schema for the extraction.","uniqueKey":"targets.items.[INDEX].oneOf.1.change_tracking.json_schema","typeLabel":"object"},"ignore_text":{"type":"array","items":{"type":"string","uniqueKey":"targets.items.[INDEX].oneOf.1.change_tracking.ignore_text.items.[INDEX]","typeLabel":"string"},"description":"Up to 25 phrases: lines containing one are left out of the comparison. Plain text, case and spacing ignored, `*` matching any run of characters. Regular expressions are not accepted.","example":["people are viewing","viewed * times"],"uniqueKey":"targets.items.[INDEX].oneOf.1.change_tracking.ignore_text","typeLabel":"string[]"},"ignore_order":{"type":"boolean","default":false,"description":"Lines that only moved are not a change: a re-sorted list, testimonials shown in another order.","uniqueKey":"targets.items.[INDEX].oneOf.1.change_tracking.ignore_order","typeLabel":"boolean"},"notify_on":{"type":"array","items":{"type":"string","enum":["added","removed","changed"],"uniqueKey":"targets.items.[INDEX].oneOf.1.change_tracking.notify_on.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Which kinds of change notify: lines (or json fields) added, removed or changed, and, for a crawl, pages that appear (`added`) or disappear (`removed`); a tracked price, number, visual area or keyword that moves is a change. Default: all three. A change of another kind is recorded on the check, not judged or announced.","example":["added"],"uniqueKey":"targets.items.[INDEX].oneOf.1.change_tracking.notify_on","typeLabel":"enum\u003cstring>[]"},"only_new_content":{"type":"boolean","default":false,"description":"Notify only when a change brings text the page has not shown in its recent history (its last ~1,000 distinct lines), so content that cycles (a carousel, rotating offers, A/B variants) stays quiet.","uniqueKey":"targets.items.[INDEX].oneOf.1.change_tracking.only_new_content","typeLabel":"boolean"}},"uniqueKey":"targets.items.[INDEX].oneOf.1.change_tracking","typeLabel":"object"}},"uniqueKey":"targets.items.[INDEX].oneOf.1","typeLabel":"Crawl target · object"},{"type":"object","title":"Search target","description":"Runs web searches on every check. A result the target has not returned before is `new` (with a goal, judged against it, so only results that match are announced); results returned before are `same`. Billed at the /search rate per query.","required":["type","queries"],"properties":{"type":{"type":"string","enum":["search"],"isRequired":true,"uniqueKey":"targets.items.[INDEX].oneOf.2.type","typeLabel":"enum\u003cstring>"},"queries":{"type":"array","items":{"type":"string","uniqueKey":"targets.items.[INDEX].oneOf.2.queries.items.[INDEX]","typeLabel":"string"},"description":"1–5 web searches, run on every check (`query`, one string, is accepted too). Search operators work.","example":["acme corp funding round"],"isRequired":true,"uniqueKey":"targets.items.[INDEX].oneOf.2.queries","typeLabel":"string[]"},"id":{"type":"string","description":"Stable target id. Generated when omitted.","example":"tgt_1a2b3c4d5e6f7a8b","uniqueKey":"targets.items.[INDEX].oneOf.2.id","typeLabel":"string"},"search_options":{"type":"object","description":"The options GET /search takes, applied to every query.","properties":{"type":{"type":"string","enum":["web","news"],"default":"web","uniqueKey":"targets.items.[INDEX].oneOf.2.search_options.type","typeLabel":"enum\u003cstring>"},"limit":{"type":"integer","default":10,"description":"Results read from each search (1–20).","uniqueKey":"targets.items.[INDEX].oneOf.2.search_options.limit","typeLabel":"integer"},"country":{"oneOf":[{"type":"string","uniqueKey":"targets.items.[INDEX].oneOf.2.search_options.country.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"targets.items.[INDEX].oneOf.2.search_options.country.oneOf.1","typeLabel":"null"}],"uniqueKey":"targets.items.[INDEX].oneOf.2.search_options.country","typeLabel":"string | null"},"language":{"oneOf":[{"type":"string","uniqueKey":"targets.items.[INDEX].oneOf.2.search_options.language.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"targets.items.[INDEX].oneOf.2.search_options.language.oneOf.1","typeLabel":"null"}],"uniqueKey":"targets.items.[INDEX].oneOf.2.search_options.language","typeLabel":"string | null"},"location":{"oneOf":[{"type":"string","uniqueKey":"targets.items.[INDEX].oneOf.2.search_options.location.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"targets.items.[INDEX].oneOf.2.search_options.location.oneOf.1","typeLabel":"null"}],"uniqueKey":"targets.items.[INDEX].oneOf.2.search_options.location","typeLabel":"string | null"},"time_range":{"oneOf":[{"type":"string","enum":["hour","day","week","month","year"],"uniqueKey":"targets.items.[INDEX].oneOf.2.search_options.time_range.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["hour","day","week","month","year"],"uniqueKey":"targets.items.[INDEX].oneOf.2.search_options.time_range.oneOf.1","typeLabel":"null"}],"uniqueKey":"targets.items.[INDEX].oneOf.2.search_options.time_range","typeLabel":"enum\u003cstring> | null"},"include_domains":{"type":"array","items":{"type":"string","uniqueKey":"targets.items.[INDEX].oneOf.2.search_options.include_domains.items.[INDEX]","typeLabel":"string"},"uniqueKey":"targets.items.[INDEX].oneOf.2.search_options.include_domains","typeLabel":"string[]"},"exclude_domains":{"type":"array","items":{"type":"string","uniqueKey":"targets.items.[INDEX].oneOf.2.search_options.exclude_domains.items.[INDEX]","typeLabel":"string"},"uniqueKey":"targets.items.[INDEX].oneOf.2.search_options.exclude_domains","typeLabel":"string[]"}},"uniqueKey":"targets.items.[INDEX].oneOf.2.search_options","typeLabel":"object"},"scrape_results":{"type":"boolean","description":"Read each new result's page (billed at the /scrape rate) so the judge sees the page, not just its snippet. Default: true when the monitor judges, otherwise false.","uniqueKey":"targets.items.[INDEX].oneOf.2.scrape_results","typeLabel":"boolean"}},"uniqueKey":"targets.items.[INDEX].oneOf.2","typeLabel":"Search target · object"}],"uniqueKey":"targets.items.[INDEX]","typeLabel":"Scrape target · object | Crawl target · object | Search target · object"},"minItems":1,"maxItems":50,"description":"What to watch. At most 500 pages per check across all targets.","isRequired":true,"uniqueKey":"targets","typeLabel":"(Scrape target · object | Crawl target · object | Search target · object)[]"},"goal":{"oneOf":[{"type":"string","maxLength":2000,"description":"What you want to be told about, in one plain sentence. With a goal, every changed page is judged against it, and only meaningful changes send a `monitor.page` webhook. 1 credit per page judged.","example":"Alert me when a plan price or its included features change","uniqueKey":"goal.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":2000,"description":"What you want to be told about, in one plain sentence. With a goal, every changed page is judged against it, and only meaningful changes send a `monitor.page` webhook. 1 credit per page judged.","example":"Alert me when a plan price or its included features change","uniqueKey":"goal.oneOf.1","typeLabel":"null"}],"uniqueKey":"goal","typeLabel":"string | null"},"judge_enabled":{"type":"boolean","description":"Judge changes against the goal. Default: `true` when a goal is set.","uniqueKey":"judge_enabled","typeLabel":"boolean"},"webhook":{"type":"object","required":["url"],"properties":{"url":{"type":"string","description":"HTTPS endpoint that receives the events.","example":"https://you.example.org/hooks/prefetch","isRequired":true,"uniqueKey":"webhook.url","typeLabel":"string"},"headers":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"webhook.headers.additionalProperties","typeLabel":"string"},"description":"Extra headers sent with every event, at most 20. `Host`, `Content-Type` and `X-Prefetch-*` are reserved.","example":{"Authorization":"Bearer your-token"},"uniqueKey":"webhook.headers","typeLabel":"object"},"metadata":{"type":"object","description":"Echoed back in every event, up to 4 KB.","example":{"env":"production"},"uniqueKey":"webhook.metadata","typeLabel":"object"},"events":{"type":"array","items":{"type":"string","enum":["monitor.page","monitor.check.completed"],"uniqueKey":"webhook.events.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Events to receive. Default: both.","uniqueKey":"webhook.events","typeLabel":"enum\u003cstring>[]"},"secret":{"type":"string","description":"Signing secret, 16–128 printable characters. Generated when omitted, and kept across updates unless you replace it.","uniqueKey":"webhook.secret","typeLabel":"string"},"notify_errors_after":{"type":"integer","default":1,"description":"Send a page's error event once it has failed this many checks in a row (1–10), so a page that fails once and recovers sends nothing.","example":2,"uniqueKey":"webhook.notify_errors_after","typeLabel":"integer"},"rotate_secret":{"type":"boolean","description":"Update only: generate a new signing secret.","uniqueKey":"webhook.rotate_secret","typeLabel":"boolean"}},"uniqueKey":"webhook","typeLabel":"object"},"email":{"type":"object","required":["to"],"properties":{"to":{"oneOf":[{"type":"string","description":"Up to 5 addresses to email when a check finds changes. An address on your Prefetch account receives alerts at once; any other address is sent one confirmation email and receives nothing until it confirms.","example":["[email protected]"],"isRequired":true,"uniqueKey":"email.to.oneOf.0","typeLabel":"string"},{"type":"array","items":{"type":"string","uniqueKey":"email.to.oneOf.1.items.[INDEX]","typeLabel":"string"},"description":"Up to 5 addresses to email when a check finds changes. An address on your Prefetch account receives alerts at once; any other address is sent one confirmation email and receives nothing until it confirms.","maxItems":5,"minItems":1,"example":["[email protected]"],"isRequired":true,"uniqueKey":"email.to.oneOf.1","typeLabel":"string[]"}],"isRequired":true,"uniqueKey":"email.to","typeLabel":"string | string[]"},"resend_confirmation":{"type":"boolean","description":"Update only: send the confirmation email again to addresses that are still `pending`.","uniqueKey":"email.resend_confirmation","typeLabel":"boolean"}},"uniqueKey":"email","typeLabel":"object"},"retention_days":{"type":"integer","minimum":1,"maximum":365,"default":30,"description":"How long check history is kept.","uniqueKey":"retention_days","typeLabel":"integer"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"name":"Competitor pricing","schedule":{"cron":"*/30 * * * *","text":"every weekday at 9am","timezone":"Europe/Athens"},"targets":[{"type":"scrape","urls":["https://example.com/pricing"],"id":"tgt_8d1e0f2a3b4c5d6e","scrape_options":{"only_main_content":true,"include_links":true,"include_images":false,"include_selectors":["#pricing"],"exclude_selectors":[".last-updated",".testimonial"]},"change_tracking":{"modes":["markdown"],"json_prompt":"Each plan: name, monthly price, headline features","json_schema":{},"ignore_text":["people are viewing","viewed * times"],"ignore_order":false,"notify_on":["added"],"only_new_content":false}}],"goal":"Alert me when a plan price or its included features change","judge_enabled":true,"retention_days":30}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"fb1f0679-4d4a-41f3-bbeb-4ddf88c7ee56":{"description":"Monitor created.","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true],"isRequired":true,"uniqueKey":"success","typeLabel":"enum\u003cboolean>"},"data":{"type":"object","properties":{"id":{"type":"string","example":"mon_3f9a1c2b7d4e4f6a8b0c1d2e3f4a5b6c","uniqueKey":"data.id","typeLabel":"string"},"name":{"type":"string","uniqueKey":"data.name","typeLabel":"string"},"status":{"type":"string","enum":["active","paused"],"uniqueKey":"data.status","typeLabel":"enum\u003cstring>"},"schedule":{"type":"object","properties":{"cron":{"type":"string","description":"The schedule the monitor runs on — always cron, whatever you submitted.","example":"0 9 * * 1-5","uniqueKey":"data.schedule.cron","typeLabel":"string"},"timezone":{"type":"string","example":"Europe/Athens","uniqueKey":"data.schedule.timezone","typeLabel":"string"},"text":{"oneOf":[{"type":"string","description":"The phrase it was created from, if any.","example":"every weekday at 9am","uniqueKey":"data.schedule.text.oneOf.0","typeLabel":"string"},{"type":"null","description":"The phrase it was created from, if any.","example":"every weekday at 9am","uniqueKey":"data.schedule.text.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.schedule.text","typeLabel":"string | null"}},"uniqueKey":"data.schedule","typeLabel":"object"},"next_run_at":{"oneOf":[{"type":"string","format":"date-time","description":"`null` while paused.","uniqueKey":"data.next_run_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"`null` while paused.","uniqueKey":"data.next_run_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.next_run_at","typeLabel":"string\u003cdate-time> | null"},"last_run_at":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"data.last_run_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"data.last_run_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.last_run_at","typeLabel":"string\u003cdate-time> | null"},"current_check_id":{"oneOf":[{"type":"string","description":"The check running right now, if any.","uniqueKey":"data.current_check_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The check running right now, if any.","uniqueKey":"data.current_check_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.current_check_id","typeLabel":"string | null"},"goal":{"oneOf":[{"type":"string","uniqueKey":"data.goal.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.goal.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.goal","typeLabel":"string | null"},"judge_enabled":{"type":"boolean","uniqueKey":"data.judge_enabled","typeLabel":"boolean"},"targets":{"type":"array","items":{"oneOf":[{"type":"object","title":"Scrape target","description":"Watches a fixed list of pages, each fetched the way `GET /scrape` would fetch it.","required":["type","urls"],"properties":{"type":{"type":"string","enum":["scrape"],"isRequired":true,"uniqueKey":"data.targets.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"urls":{"type":"array","items":{"type":"string","uniqueKey":"data.targets.items.[INDEX].oneOf.0.urls.items.[INDEX]","typeLabel":"string"},"minItems":1,"maxItems":100,"description":"The pages to watch.","example":["https://example.com/pricing"],"isRequired":true,"uniqueKey":"data.targets.items.[INDEX].oneOf.0.urls","typeLabel":"string[]"},"id":{"type":"string","description":"Stable target id. Generated when omitted; on update, a target watching the same URLs keeps its id — and its snapshots — automatically.","example":"tgt_8d1e0f2a3b4c5d6e","uniqueKey":"data.targets.items.[INDEX].oneOf.0.id","typeLabel":"string"},"scrape_options":{"type":"object","description":"How each page is rendered before it is compared — the content-shaping options of `GET /scrape`.","properties":{"only_main_content":{"type":"boolean","default":true,"description":"Compare the main content only, ignoring navigation, sidebars and footers.","uniqueKey":"data.targets.items.[INDEX].oneOf.0.scrape_options.only_main_content","typeLabel":"boolean"},"include_links":{"type":"boolean","default":true,"description":"Keep link URLs in the compared markdown.","uniqueKey":"data.targets.items.[INDEX].oneOf.0.scrape_options.include_links","typeLabel":"boolean"},"include_images":{"type":"boolean","default":false,"description":"Keep images in the compared markdown. Off by default: image URLs carry cache-busting hashes that change on every deploy.","uniqueKey":"data.targets.items.[INDEX].oneOf.0.scrape_options.include_images","typeLabel":"boolean"},"include_selectors":{"type":"array","items":{"type":"string","uniqueKey":"data.targets.items.[INDEX].oneOf.0.scrape_options.include_selectors.items.[INDEX]","typeLabel":"string"},"description":"CSS selectors to compare instead of the detected main content.","example":["#pricing"],"uniqueKey":"data.targets.items.[INDEX].oneOf.0.scrape_options.include_selectors","typeLabel":"string[]"},"exclude_selectors":{"type":"array","items":{"type":"string","uniqueKey":"data.targets.items.[INDEX].oneOf.0.scrape_options.exclude_selectors.items.[INDEX]","typeLabel":"string"},"description":"CSS selectors to leave out of the comparison — the way to silence a timestamp or a rotating banner.","example":[".last-updated",".testimonial"],"uniqueKey":"data.targets.items.[INDEX].oneOf.0.scrape_options.exclude_selectors","typeLabel":"string[]"}},"uniqueKey":"data.targets.items.[INDEX].oneOf.0.scrape_options","typeLabel":"object"},"change_tracking":{"type":"object","properties":{"modes":{"type":"array","items":{"type":"string","enum":["markdown","json"],"uniqueKey":"data.targets.items.[INDEX].oneOf.0.change_tracking.modes.items.[INDEX]","typeLabel":"enum\u003cstring>"},"default":["markdown"],"description":"`markdown` diffs the page text line by line. `json` extracts the fields described by `json_prompt` or `json_schema` and diffs them field by field, so a page is `changed` only when a tracked field changes. The extraction is re-read (and its AI surcharge charged) only when the page's text changed, and list items are matched by identity (an `id`, `url`, `name` or `title` field), so one item inserted into a list is one `added` field. Both together report `changed` when either surface changed.","uniqueKey":"data.targets.items.[INDEX].oneOf.0.change_tracking.modes","typeLabel":"enum\u003cstring>[]"},"json_prompt":{"type":"string","description":"For the `json` mode: the fields to track, in plain English.","example":"Each plan: name, monthly price, headline features","uniqueKey":"data.targets.items.[INDEX].oneOf.0.change_tracking.json_prompt","typeLabel":"string"},"json_schema":{"type":"object","description":"For the `json` mode: a JSON Schema for the extraction.","uniqueKey":"data.targets.items.[INDEX].oneOf.0.change_tracking.json_schema","typeLabel":"object"},"ignore_text":{"type":"array","items":{"type":"string","uniqueKey":"data.targets.items.[INDEX].oneOf.0.change_tracking.ignore_text.items.[INDEX]","typeLabel":"string"},"description":"Up to 25 phrases: lines containing one are left out of the comparison. Plain text, case and spacing ignored, `*` matching any run of characters. Regular expressions are not accepted.","example":["people are viewing","viewed * times"],"uniqueKey":"data.targets.items.[INDEX].oneOf.0.change_tracking.ignore_text","typeLabel":"string[]"},"ignore_order":{"type":"boolean","default":false,"description":"Lines that only moved are not a change: a re-sorted list, testimonials shown in another order.","uniqueKey":"data.targets.items.[INDEX].oneOf.0.change_tracking.ignore_order","typeLabel":"boolean"},"notify_on":{"type":"array","items":{"type":"string","enum":["added","removed","changed"],"uniqueKey":"data.targets.items.[INDEX].oneOf.0.change_tracking.notify_on.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Which kinds of change notify: lines (or json fields) added, removed or changed, and, for a crawl, pages that appear (`added`) or disappear (`removed`); a tracked price, number, visual area or keyword that moves is a change. Default: all three. A change of another kind is recorded on the check, not judged or announced.","example":["added"],"uniqueKey":"data.targets.items.[INDEX].oneOf.0.change_tracking.notify_on","typeLabel":"enum\u003cstring>[]"},"only_new_content":{"type":"boolean","default":false,"description":"Notify only when a change brings text the page has not shown in its recent history (its last ~1,000 distinct lines), so content that cycles (a carousel, rotating offers, A/B variants) stays quiet.","uniqueKey":"data.targets.items.[INDEX].oneOf.0.change_tracking.only_new_content","typeLabel":"boolean"}},"uniqueKey":"data.targets.items.[INDEX].oneOf.0.change_tracking","typeLabel":"object"}},"uniqueKey":"data.targets.items.[INDEX].oneOf.0","typeLabel":"Scrape target · object"},{"type":"object","title":"Crawl target","description":"Re-crawls a site on every check, so pages that appear or disappear are reported as well as pages that change.","required":["type","url"],"properties":{"type":{"type":"string","enum":["crawl"],"isRequired":true,"uniqueKey":"data.targets.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"url":{"type":"string","description":"Where each crawl starts.","example":"https://example.com/changelog","isRequired":true,"uniqueKey":"data.targets.items.[INDEX].oneOf.1.url","typeLabel":"string"},"id":{"type":"string","description":"Stable target id. Generated when omitted.","example":"tgt_1a2b3c4d5e6f7a8b","uniqueKey":"data.targets.items.[INDEX].oneOf.1.id","typeLabel":"string"},"crawl_options":{"type":"object","description":"The crawl options `POST /crawl` takes, without `allow_external_links`.","properties":{"limit":{"type":"integer","minimum":1,"maximum":500,"default":25,"description":"Most pages each check crawls. Every page is billed on every check.","uniqueKey":"data.targets.items.[INDEX].oneOf.1.crawl_options.limit","typeLabel":"integer"},"max_depth":{"type":"integer","minimum":0,"maximum":5,"default":2,"description":"How many links deep to follow from the start URL.","uniqueKey":"data.targets.items.[INDEX].oneOf.1.crawl_options.max_depth","typeLabel":"integer"},"include_paths":{"type":"array","items":{"type":"string","uniqueKey":"data.targets.items.[INDEX].oneOf.1.crawl_options.include_paths.items.[INDEX]","typeLabel":"string"},"description":"Regular expressions matched against a URL's path and query. A URL must match at least one to be monitored.","example":["^/changelog/"],"uniqueKey":"data.targets.items.[INDEX].oneOf.1.crawl_options.include_paths","typeLabel":"string[]"},"exclude_paths":{"type":"array","items":{"type":"string","uniqueKey":"data.targets.items.[INDEX].oneOf.1.crawl_options.exclude_paths.items.[INDEX]","typeLabel":"string"},"description":"Regular expressions. A matching URL is skipped.","uniqueKey":"data.targets.items.[INDEX].oneOf.1.crawl_options.exclude_paths","typeLabel":"string[]"},"allow_subdomains":{"type":"boolean","default":false,"description":"Follow links onto subdomains of the start URL.","uniqueKey":"data.targets.items.[INDEX].oneOf.1.crawl_options.allow_subdomains","typeLabel":"boolean"},"ignore_query_params":{"type":"boolean","default":true,"description":"Treat URLs that differ only by query string as one page.","uniqueKey":"data.targets.items.[INDEX].oneOf.1.crawl_options.ignore_query_params","typeLabel":"boolean"},"respect_robots_txt":{"type":"boolean","default":true,"description":"Obey the rules in `robots.txt`.","uniqueKey":"data.targets.items.[INDEX].oneOf.1.crawl_options.respect_robots_txt","typeLabel":"boolean"},"use_sitemap":{"type":"boolean","default":true,"description":"Seed each crawl from the site's sitemap as well as from links.","uniqueKey":"data.targets.items.[INDEX].oneOf.1.crawl_options.use_sitemap","typeLabel":"boolean"},"delay_ms":{"type":"integer","minimum":0,"maximum":30000,"default":0,"description":"Politeness delay between pages.","uniqueKey":"data.targets.items.[INDEX].oneOf.1.crawl_options.delay_ms","typeLabel":"integer"},"concurrency":{"type":"integer","minimum":1,"maximum":5,"default":2,"description":"Pages fetched in parallel.","uniqueKey":"data.targets.items.[INDEX].oneOf.1.crawl_options.concurrency","typeLabel":"integer"}},"uniqueKey":"data.targets.items.[INDEX].oneOf.1.crawl_options","typeLabel":"object"},"scrape_options":{"type":"object","description":"How each page is rendered before it is compared — the content-shaping options of `GET /scrape`.","properties":{"only_main_content":{"type":"boolean","default":true,"description":"Compare the main content only, ignoring navigation, sidebars and footers.","uniqueKey":"data.targets.items.[INDEX].oneOf.1.scrape_options.only_main_content","typeLabel":"boolean"},"include_links":{"type":"boolean","default":true,"description":"Keep link URLs in the compared markdown.","uniqueKey":"data.targets.items.[INDEX].oneOf.1.scrape_options.include_links","typeLabel":"boolean"},"include_images":{"type":"boolean","default":false,"description":"Keep images in the compared markdown. Off by default: image URLs carry cache-busting hashes that change on every deploy.","uniqueKey":"data.targets.items.[INDEX].oneOf.1.scrape_options.include_images","typeLabel":"boolean"},"include_selectors":{"type":"array","items":{"type":"string","uniqueKey":"data.targets.items.[INDEX].oneOf.1.scrape_options.include_selectors.items.[INDEX]","typeLabel":"string"},"description":"CSS selectors to compare instead of the detected main content.","example":["#pricing"],"uniqueKey":"data.targets.items.[INDEX].oneOf.1.scrape_options.include_selectors","typeLabel":"string[]"},"exclude_selectors":{"type":"array","items":{"type":"string","uniqueKey":"data.targets.items.[INDEX].oneOf.1.scrape_options.exclude_selectors.items.[INDEX]","typeLabel":"string"},"description":"CSS selectors to leave out of the comparison — the way to silence a timestamp or a rotating banner.","example":[".last-updated",".testimonial"],"uniqueKey":"data.targets.items.[INDEX].oneOf.1.scrape_options.exclude_selectors","typeLabel":"string[]"}},"uniqueKey":"data.targets.items.[INDEX].oneOf.1.scrape_options","typeLabel":"object"},"change_tracking":{"type":"object","properties":{"modes":{"type":"array","items":{"type":"string","enum":["markdown","json"],"uniqueKey":"data.targets.items.[INDEX].oneOf.1.change_tracking.modes.items.[INDEX]","typeLabel":"enum\u003cstring>"},"default":["markdown"],"description":"`markdown` diffs the page text line by line. `json` extracts the fields described by `json_prompt` or `json_schema` and diffs them field by field, so a page is `changed` only when a tracked field changes. The extraction is re-read (and its AI surcharge charged) only when the page's text changed, and list items are matched by identity (an `id`, `url`, `name` or `title` field), so one item inserted into a list is one `added` field. Both together report `changed` when either surface changed.","uniqueKey":"data.targets.items.[INDEX].oneOf.1.change_tracking.modes","typeLabel":"enum\u003cstring>[]"},"json_prompt":{"type":"string","description":"For the `json` mode: the fields to track, in plain English.","example":"Each plan: name, monthly price, headline features","uniqueKey":"data.targets.items.[INDEX].oneOf.1.change_tracking.json_prompt","typeLabel":"string"},"json_schema":{"type":"object","description":"For the `json` mode: a JSON Schema for the extraction.","uniqueKey":"data.targets.items.[INDEX].oneOf.1.change_tracking.json_schema","typeLabel":"object"},"ignore_text":{"type":"array","items":{"type":"string","uniqueKey":"data.targets.items.[INDEX].oneOf.1.change_tracking.ignore_text.items.[INDEX]","typeLabel":"string"},"description":"Up to 25 phrases: lines containing one are left out of the comparison. Plain text, case and spacing ignored, `*` matching any run of characters. Regular expressions are not accepted.","example":["people are viewing","viewed * times"],"uniqueKey":"data.targets.items.[INDEX].oneOf.1.change_tracking.ignore_text","typeLabel":"string[]"},"ignore_order":{"type":"boolean","default":false,"description":"Lines that only moved are not a change: a re-sorted list, testimonials shown in another order.","uniqueKey":"data.targets.items.[INDEX].oneOf.1.change_tracking.ignore_order","typeLabel":"boolean"},"notify_on":{"type":"array","items":{"type":"string","enum":["added","removed","changed"],"uniqueKey":"data.targets.items.[INDEX].oneOf.1.change_tracking.notify_on.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Which kinds of change notify: lines (or json fields) added, removed or changed, and, for a crawl, pages that appear (`added`) or disappear (`removed`); a tracked price, number, visual area or keyword that moves is a change. Default: all three. A change of another kind is recorded on the check, not judged or announced.","example":["added"],"uniqueKey":"data.targets.items.[INDEX].oneOf.1.change_tracking.notify_on","typeLabel":"enum\u003cstring>[]"},"only_new_content":{"type":"boolean","default":false,"description":"Notify only when a change brings text the page has not shown in its recent history (its last ~1,000 distinct lines), so content that cycles (a carousel, rotating offers, A/B variants) stays quiet.","uniqueKey":"data.targets.items.[INDEX].oneOf.1.change_tracking.only_new_content","typeLabel":"boolean"}},"uniqueKey":"data.targets.items.[INDEX].oneOf.1.change_tracking","typeLabel":"object"}},"uniqueKey":"data.targets.items.[INDEX].oneOf.1","typeLabel":"Crawl target · object"},{"type":"object","title":"Search target","description":"Runs web searches on every check. A result the target has not returned before is `new` (with a goal, judged against it, so only results that match are announced); results returned before are `same`. Billed at the /search rate per query.","required":["type","queries"],"properties":{"type":{"type":"string","enum":["search"],"isRequired":true,"uniqueKey":"data.targets.items.[INDEX].oneOf.2.type","typeLabel":"enum\u003cstring>"},"queries":{"type":"array","items":{"type":"string","uniqueKey":"data.targets.items.[INDEX].oneOf.2.queries.items.[INDEX]","typeLabel":"string"},"description":"1–5 web searches, run on every check (`query`, one string, is accepted too). Search operators work.","example":["acme corp funding round"],"isRequired":true,"uniqueKey":"data.targets.items.[INDEX].oneOf.2.queries","typeLabel":"string[]"},"id":{"type":"string","description":"Stable target id. Generated when omitted.","example":"tgt_1a2b3c4d5e6f7a8b","uniqueKey":"data.targets.items.[INDEX].oneOf.2.id","typeLabel":"string"},"search_options":{"type":"object","description":"The options GET /search takes, applied to every query.","properties":{"type":{"type":"string","enum":["web","news"],"default":"web","uniqueKey":"data.targets.items.[INDEX].oneOf.2.search_options.type","typeLabel":"enum\u003cstring>"},"limit":{"type":"integer","default":10,"description":"Results read from each search (1–20).","uniqueKey":"data.targets.items.[INDEX].oneOf.2.search_options.limit","typeLabel":"integer"},"country":{"oneOf":[{"type":"string","uniqueKey":"data.targets.items.[INDEX].oneOf.2.search_options.country.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.targets.items.[INDEX].oneOf.2.search_options.country.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.targets.items.[INDEX].oneOf.2.search_options.country","typeLabel":"string | null"},"language":{"oneOf":[{"type":"string","uniqueKey":"data.targets.items.[INDEX].oneOf.2.search_options.language.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.targets.items.[INDEX].oneOf.2.search_options.language.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.targets.items.[INDEX].oneOf.2.search_options.language","typeLabel":"string | null"},"location":{"oneOf":[{"type":"string","uniqueKey":"data.targets.items.[INDEX].oneOf.2.search_options.location.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.targets.items.[INDEX].oneOf.2.search_options.location.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.targets.items.[INDEX].oneOf.2.search_options.location","typeLabel":"string | null"},"time_range":{"oneOf":[{"type":"string","enum":["hour","day","week","month","year"],"uniqueKey":"data.targets.items.[INDEX].oneOf.2.search_options.time_range.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["hour","day","week","month","year"],"uniqueKey":"data.targets.items.[INDEX].oneOf.2.search_options.time_range.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.targets.items.[INDEX].oneOf.2.search_options.time_range","typeLabel":"enum\u003cstring> | null"},"include_domains":{"type":"array","items":{"type":"string","uniqueKey":"data.targets.items.[INDEX].oneOf.2.search_options.include_domains.items.[INDEX]","typeLabel":"string"},"uniqueKey":"data.targets.items.[INDEX].oneOf.2.search_options.include_domains","typeLabel":"string[]"},"exclude_domains":{"type":"array","items":{"type":"string","uniqueKey":"data.targets.items.[INDEX].oneOf.2.search_options.exclude_domains.items.[INDEX]","typeLabel":"string"},"uniqueKey":"data.targets.items.[INDEX].oneOf.2.search_options.exclude_domains","typeLabel":"string[]"}},"uniqueKey":"data.targets.items.[INDEX].oneOf.2.search_options","typeLabel":"object"},"scrape_results":{"type":"boolean","description":"Read each new result's page (billed at the /scrape rate) so the judge sees the page, not just its snippet. Default: true when the monitor judges, otherwise false.","uniqueKey":"data.targets.items.[INDEX].oneOf.2.scrape_results","typeLabel":"boolean"}},"uniqueKey":"data.targets.items.[INDEX].oneOf.2","typeLabel":"Search target · object"}],"uniqueKey":"data.targets.items.[INDEX]","typeLabel":"Scrape target · object | Crawl target · object | Search target · object"},"description":"Normalised: every target has an id and every option its effective value.","uniqueKey":"data.targets","typeLabel":"(Scrape target · object | Crawl target · object | Search target · object)[]"},"webhook":{"oneOf":[{"type":"object","properties":{"url":{"type":"string","uniqueKey":"data.webhook.oneOf.0.url","typeLabel":"string"},"headers":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"data.webhook.oneOf.0.headers.additionalProperties","typeLabel":"string"},"uniqueKey":"data.webhook.oneOf.0.headers","typeLabel":"object"},"metadata":{"type":"object","uniqueKey":"data.webhook.oneOf.0.metadata","typeLabel":"object"},"events":{"type":"array","items":{"type":"string","enum":["monitor.page","monitor.check.completed"],"uniqueKey":"data.webhook.oneOf.0.events.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"data.webhook.oneOf.0.events","typeLabel":"enum\u003cstring>[]"},"notify_errors_after":{"type":"integer","description":"Consecutive failed checks before a page's error event is sent.","example":1,"uniqueKey":"data.webhook.oneOf.0.notify_errors_after","typeLabel":"integer"},"secret":{"type":"string","description":"Verifies the `X-Prefetch-Signature` header on every event.","example":"whsec_4f1c9e2a7b3d8e6f0a5c1b9d2e7f3a8c4b6d0e1f9a2c5b7d","uniqueKey":"data.webhook.oneOf.0.secret","typeLabel":"string"}},"uniqueKey":"data.webhook.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"url":{"type":"string"},"headers":{"type":"object","additionalProperties":{"type":"string"}},"metadata":{"type":"object"},"events":{"type":"array","items":{"type":"string","enum":["monitor.page","monitor.check.completed"]}},"notify_errors_after":{"type":"integer","description":"Consecutive failed checks before a page's error event is sent.","example":1},"secret":{"type":"string","description":"Verifies the `X-Prefetch-Signature` header on every event.","example":"whsec_4f1c9e2a7b3d8e6f0a5c1b9d2e7f3a8c4b6d0e1f9a2c5b7d"}},"uniqueKey":"data.webhook.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.webhook","typeLabel":"object | null"},"email":{"oneOf":[{"type":"object","description":"Email alerts: one email per check that finds changes, to every `active` address. `null` when the monitor emails nobody.","properties":{"to":{"type":"array","items":{"type":"string","uniqueKey":"data.email.oneOf.0.to.items.[INDEX]","typeLabel":"string"},"description":"Every address, in the form `PATCH` takes back.","example":["[email protected]"],"uniqueKey":"data.email.oneOf.0.to","typeLabel":"string[]"},"recipients":{"type":"array","items":{"type":"object","properties":{"address":{"type":"string","uniqueKey":"data.email.oneOf.0.recipients.items.[INDEX].address","typeLabel":"string"},"status":{"type":"string","enum":["active","pending","unsubscribed"],"description":"`active` receives alerts. `pending` was sent a confirmation email and receives nothing until it confirms. `unsubscribed` stopped them from a link in an email.","uniqueKey":"data.email.oneOf.0.recipients.items.[INDEX].status","typeLabel":"enum\u003cstring>"},"confirmation_sent_at":{"oneOf":[{"type":"string","description":"When the confirmation email went out. `null` on a pending address means it could not be sent: retry with `resend_confirmation`.","uniqueKey":"data.email.oneOf.0.recipients.items.[INDEX].confirmation_sent_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"When the confirmation email went out. `null` on a pending address means it could not be sent: retry with `resend_confirmation`.","uniqueKey":"data.email.oneOf.0.recipients.items.[INDEX].confirmation_sent_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.email.oneOf.0.recipients.items.[INDEX].confirmation_sent_at","typeLabel":"string | null"},"confirmed_at":{"oneOf":[{"type":"string","uniqueKey":"data.email.oneOf.0.recipients.items.[INDEX].confirmed_at.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.email.oneOf.0.recipients.items.[INDEX].confirmed_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.email.oneOf.0.recipients.items.[INDEX].confirmed_at","typeLabel":"string | null"},"unsubscribed_at":{"oneOf":[{"type":"string","uniqueKey":"data.email.oneOf.0.recipients.items.[INDEX].unsubscribed_at.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.email.oneOf.0.recipients.items.[INDEX].unsubscribed_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.email.oneOf.0.recipients.items.[INDEX].unsubscribed_at","typeLabel":"string | null"}},"uniqueKey":"data.email.oneOf.0.recipients.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.email.oneOf.0.recipients","typeLabel":"object[]"}},"uniqueKey":"data.email.oneOf.0","typeLabel":"object"},{"type":"null","description":"Email alerts: one email per check that finds changes, to every `active` address. `null` when the monitor emails nobody.","properties":{"to":{"type":"array","items":{"type":"string"},"description":"Every address, in the form `PATCH` takes back.","example":["[email protected]"]},"recipients":{"type":"array","items":{"type":"object","properties":{"address":{"type":"string"},"status":{"type":"string","enum":["active","pending","unsubscribed"],"description":"`active` receives alerts. `pending` was sent a confirmation email and receives nothing until it confirms. `unsubscribed` stopped them from a link in an email."},"confirmation_sent_at":{"oneOf":[{"type":"string","description":"When the confirmation email went out. `null` on a pending address means it could not be sent: retry with `resend_confirmation`."},{"type":"null","description":"When the confirmation email went out. `null` on a pending address means it could not be sent: retry with `resend_confirmation`."}]},"confirmed_at":{"oneOf":[{"type":"string"},{"type":"null"}]},"unsubscribed_at":{"oneOf":[{"type":"string"},{"type":"null"}]}}}}},"uniqueKey":"data.email.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.email","typeLabel":"object | null"},"retention_days":{"type":"integer","uniqueKey":"data.retention_days","typeLabel":"integer"},"estimated_credits_per_check":{"type":"integer","description":"Upper bound: every page fetched, and judged when a goal is set. A real check costs less — only fetched pages are billed, and only changed ones judged.","uniqueKey":"data.estimated_credits_per_check","typeLabel":"integer"},"estimated_credits_per_month":{"type":"integer","description":"`estimated_credits_per_check` times the runs in an average month.","uniqueKey":"data.estimated_credits_per_month","typeLabel":"integer"},"last_check_summary":{"oneOf":[{"type":"object","description":"Counts from the most recent check, or `null` before the first one.","properties":{"total_pages":{"type":"integer","uniqueKey":"data.last_check_summary.oneOf.0.total_pages","typeLabel":"integer"},"same":{"type":"integer","uniqueKey":"data.last_check_summary.oneOf.0.same","typeLabel":"integer"},"new":{"type":"integer","uniqueKey":"data.last_check_summary.oneOf.0.new","typeLabel":"integer"},"changed":{"type":"integer","uniqueKey":"data.last_check_summary.oneOf.0.changed","typeLabel":"integer"},"removed":{"type":"integer","uniqueKey":"data.last_check_summary.oneOf.0.removed","typeLabel":"integer"},"error":{"type":"integer","uniqueKey":"data.last_check_summary.oneOf.0.error","typeLabel":"integer"},"check_id":{"type":"string","uniqueKey":"data.last_check_summary.oneOf.0.check_id","typeLabel":"string"},"status":{"type":"string","enum":["queued","running","completed","failed","partial","skipped_overlap","skipped_no_credits"],"uniqueKey":"data.last_check_summary.oneOf.0.status","typeLabel":"enum\u003cstring>"},"finished_at":{"type":"string","format":"date-time","uniqueKey":"data.last_check_summary.oneOf.0.finished_at","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"data.last_check_summary.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"data.last_check_summary.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.last_check_summary","typeLabel":"object | null"},"thumbnail_url":{"oneOf":[{"type":"string","description":"A screenshot of the first page the monitor watches (JPEG, 640 px wide), taken once in the background after the monitor is created and again when an edit changes that page. A signed link, good for at least a day: read it again from the monitor rather than storing it. Null until the picture is taken, and for a page that would not render or a monitor of searches.","uniqueKey":"data.thumbnail_url.oneOf.0","typeLabel":"string"},{"type":"null","description":"A screenshot of the first page the monitor watches (JPEG, 640 px wide), taken once in the background after the monitor is created and again when an edit changes that page. A signed link, good for at least a day: read it again from the monitor rather than storing it. Null until the picture is taken, and for a page that would not render or a monitor of searches.","uniqueKey":"data.thumbnail_url.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.thumbnail_url","typeLabel":"string | null"},"created_at":{"type":"string","format":"date-time","uniqueKey":"data.created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","description":"When the settings last changed. Checks do not touch it.","uniqueKey":"data.updated_at","typeLabel":"string\u003cdate-time>"}},"isRequired":true,"uniqueKey":"data","typeLabel":"object"},"meta":{"type":"object","properties":{"requestId":{"type":"string","format":"uuid","description":"Unique identifier for this request.","example":"a3f2c1d4-7b6e-4f2a-9c1d-8e3f2a1b4c5d","isRequired":true,"uniqueKey":"meta.requestId","typeLabel":"string\u003cuuid>"},"durationMs":{"oneOf":[{"type":"integer","description":"Time taken to process the request in milliseconds.","example":1842,"isRequired":true,"uniqueKey":"meta.durationMs.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Time taken to process the request in milliseconds.","example":1842,"isRequired":true,"uniqueKey":"meta.durationMs.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"meta.durationMs","typeLabel":"integer | null"}},"required":["requestId","durationMs"],"isRequired":true,"uniqueKey":"meta","typeLabel":"object"}},"required":["success","data","meta"],"uniqueKey":"","typeLabel":"object"},"example":{"success":true,"data":{"id":"mon_3f9a1c2b7d4e4f6a8b0c1d2e3f4a5b6c","name":"Competitor pricing","status":"active","schedule":{"cron":"0 9 * * 1-5","timezone":"Europe/Athens","text":"every weekday at 9am"},"next_run_at":"2026-10-12T06:00:00.000Z","last_run_at":null,"current_check_id":null,"goal":"Alert me when a plan price or its included features change","judge_enabled":true,"targets":[{"id":"tgt_8d1e0f2a3b4c5d6e","type":"scrape","urls":["https://example.com/pricing"],"scrape_options":{"only_main_content":true,"include_links":true,"include_images":false,"include_selectors":[],"exclude_selectors":[]},"change_tracking":{"modes":["json"],"json_prompt":"Each plan: name, monthly price, headline features"}},{"id":"tgt_1a2b3c4d5e6f7a8b","type":"crawl","url":"https://example.com/changelog","crawl_options":{"limit":25,"max_depth":2,"include_paths":["^/changelog/"],"exclude_paths":[],"allow_subdomains":false,"ignore_query_params":true,"respect_robots_txt":true,"use_sitemap":true,"delay_ms":0,"concurrency":2},"scrape_options":{"only_main_content":true,"include_links":true,"include_images":false,"include_selectors":[],"exclude_selectors":[]},"change_tracking":{"modes":["markdown"]}}],"webhook":{"url":"https://you.example.org/hooks/prefetch","headers":{},"metadata":{"env":"production"},"events":["monitor.page","monitor.check.completed"],"secret":"whsec_4f1c9e2a7b3d8e6f0a5c1b9d2e7f3a8c4b6d0e1f9a2c5b7d"},"email":{"to":["[email protected]"],"recipients":[{"address":"[email protected]","status":"active","confirmation_sent_at":null,"confirmed_at":"2026-10-09T10:00:00.000Z","unsubscribed_at":null}]},"retention_days":30,"estimated_credits_per_check":55,"estimated_credits_per_month":1155,"last_check_summary":null,"created_at":"2026-10-09T10:00:00.000Z","updated_at":"2026-10-09T10:00:00.000Z"},"meta":{"requestId":"b8f1d2e3-4a5b-4c6d-8e7f-9a0b1c2d3e4f","durationMs":61}},"examples":{"Example":{"title":"Example","value":{"success":true,"data":{"id":"mon_3f9a1c2b7d4e4f6a8b0c1d2e3f4a5b6c","name":"Competitor pricing","status":"active","schedule":{"cron":"0 9 * * 1-5","timezone":"Europe/Athens","text":"every weekday at 9am"},"next_run_at":"2026-10-12T06:00:00.000Z","last_run_at":null,"current_check_id":null,"goal":"Alert me when a plan price or its included features change","judge_enabled":true,"targets":[{"id":"tgt_8d1e0f2a3b4c5d6e","type":"scrape","urls":["https://example.com/pricing"],"scrape_options":{"only_main_content":true,"include_links":true,"include_images":false,"include_selectors":[],"exclude_selectors":[]},"change_tracking":{"modes":["json"],"json_prompt":"Each plan: name, monthly price, headline features"}},{"id":"tgt_1a2b3c4d5e6f7a8b","type":"crawl","url":"https://example.com/changelog","crawl_options":{"limit":25,"max_depth":2,"include_paths":["^/changelog/"],"exclude_paths":[],"allow_subdomains":false,"ignore_query_params":true,"respect_robots_txt":true,"use_sitemap":true,"delay_ms":0,"concurrency":2},"scrape_options":{"only_main_content":true,"include_links":true,"include_images":false,"include_selectors":[],"exclude_selectors":[]},"change_tracking":{"modes":["markdown"]}}],"webhook":{"url":"https://you.example.org/hooks/prefetch","headers":{},"metadata":{"env":"production"},"events":["monitor.page","monitor.check.completed"],"secret":"whsec_4f1c9e2a7b3d8e6f0a5c1b9d2e7f3a8c4b6d0e1f9a2c5b7d"},"email":{"to":["[email protected]"],"recipients":[{"address":"[email protected]","status":"active","confirmation_sent_at":null,"confirmed_at":"2026-10-09T10:00:00.000Z","unsubscribed_at":null}]},"retention_days":30,"estimated_credits_per_check":55,"estimated_credits_per_month":1155,"last_check_summary":null,"created_at":"2026-10-09T10:00:00.000Z","updated_at":"2026-10-09T10:00:00.000Z"},"meta":{"requestId":"b8f1d2e3-4a5b-4c6d-8e7f-9a0b1c2d3e4f","durationMs":61}}}},"exampleType":"examples"}},"exampleType":"examples"},"b56b9041-d52f-4aea-aa0c-af91c4697a43":{"description":"Invalid or missing parameters. The message names the field.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"Human-readable error message. The wording can change: branch on `error_code`.","example":"Credit limit exceeded","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"error_code":{"type":"string","enum":["INVALID_REQUEST","PAYLOAD_TOO_LARGE","NOT_FOUND","CONFLICT","UNAUTHORIZED","FORBIDDEN","CREDITS_EXHAUSTED","RATE_LIMITED","CONCURRENCY_LIMITED","URL_BLOCKED","URL_NOT_PERMITTED","DNS_RESOLUTION_FAILED","TARGET_BLOCKED","TARGET_CONNECTION_FAILED","TARGET_TIMEOUT","TARGET_SSL_ERROR","TARGET_SERVER_ERROR","TARGET_CLIENT_ERROR","TARGET_NOT_A_PAGE","NO_LINKS_FOUND","TARGET_UNLOADABLE","RESEARCH_INCONCLUSIVE","TIMEOUT","SERVICE_BUSY","SERVICE_UNAVAILABLE","INTERNAL_ERROR"],"description":"What went wrong, for machines. Stable: a code keeps its meaning once published. See [Error handling](/concepts/errors).","example":"CREDITS_EXHAUSTED","isRequired":true,"uniqueKey":"error_code","typeLabel":"enum\u003cstring>"},"retryable":{"type":"boolean","description":"Whether the same request can succeed if sent again after a short wait (honour `Retry-After` when present). False for problems with the request or the target.","example":false,"isRequired":true,"uniqueKey":"retryable","typeLabel":"boolean"},"success":{"type":"boolean","enum":[false],"description":"Always false. Absent, like `meta`, on authentication and rate-limit errors, which are answered before a request is processed.","uniqueKey":"success","typeLabel":"enum\u003cboolean>"},"retryAfterSeconds":{"type":"integer","description":"On `RATE_LIMITED`: seconds until a request will be accepted.","uniqueKey":"retryAfterSeconds","typeLabel":"integer"},"limit":{"type":"integer","description":"On `CONCURRENCY_LIMITED`: how many requests this key may have in flight.","uniqueKey":"limit","typeLabel":"integer"},"meta":{"type":"object","properties":{"requestId":{"type":"string","format":"uuid","description":"Unique identifier for this request.","example":"a3f2c1d4-7b6e-4f2a-9c1d-8e3f2a1b4c5d","isRequired":true,"uniqueKey":"meta.requestId","typeLabel":"string\u003cuuid>"},"durationMs":{"oneOf":[{"type":"integer","description":"Time taken to process the request in milliseconds.","example":1842,"isRequired":true,"uniqueKey":"meta.durationMs.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Time taken to process the request in milliseconds.","example":1842,"isRequired":true,"uniqueKey":"meta.durationMs.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"meta.durationMs","typeLabel":"integer | null"}},"required":["requestId","durationMs"],"uniqueKey":"meta","typeLabel":"object"}},"required":["error","error_code","retryable"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"Credit limit exceeded","error_code":"CREDITS_EXHAUSTED","retryable":false,"success":false,"retryAfterSeconds":123,"limit":123,"meta":{"requestId":"a3f2c1d4-7b6e-4f2a-9c1d-8e3f2a1b4c5d","durationMs":1842}}}},"exampleType":"generated"}},"exampleType":"generated"},"5d17e853-a12c-4d12-93b6-804528441550":{"description":"Missing API key.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"Human-readable error message. The wording can change: branch on `error_code`.","example":"Credit limit exceeded","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"error_code":{"type":"string","enum":["INVALID_REQUEST","PAYLOAD_TOO_LARGE","NOT_FOUND","CONFLICT","UNAUTHORIZED","FORBIDDEN","CREDITS_EXHAUSTED","RATE_LIMITED","CONCURRENCY_LIMITED","URL_BLOCKED","URL_NOT_PERMITTED","DNS_RESOLUTION_FAILED","TARGET_BLOCKED","TARGET_CONNECTION_FAILED","TARGET_TIMEOUT","TARGET_SSL_ERROR","TARGET_SERVER_ERROR","TARGET_CLIENT_ERROR","TARGET_NOT_A_PAGE","NO_LINKS_FOUND","TARGET_UNLOADABLE","RESEARCH_INCONCLUSIVE","TIMEOUT","SERVICE_BUSY","SERVICE_UNAVAILABLE","INTERNAL_ERROR"],"description":"What went wrong, for machines. Stable: a code keeps its meaning once published. See [Error handling](/concepts/errors).","example":"CREDITS_EXHAUSTED","isRequired":true,"uniqueKey":"error_code","typeLabel":"enum\u003cstring>"},"retryable":{"type":"boolean","description":"Whether the same request can succeed if sent again after a short wait (honour `Retry-After` when present). False for problems with the request or the target.","example":false,"isRequired":true,"uniqueKey":"retryable","typeLabel":"boolean"},"success":{"type":"boolean","enum":[false],"description":"Always false. Absent, like `meta`, on authentication and rate-limit errors, which are answered before a request is processed.","uniqueKey":"success","typeLabel":"enum\u003cboolean>"},"retryAfterSeconds":{"type":"integer","description":"On `RATE_LIMITED`: seconds until a request will be accepted.","uniqueKey":"retryAfterSeconds","typeLabel":"integer"},"limit":{"type":"integer","description":"On `CONCURRENCY_LIMITED`: how many requests this key may have in flight.","uniqueKey":"limit","typeLabel":"integer"},"meta":{"type":"object","properties":{"requestId":{"type":"string","format":"uuid","description":"Unique identifier for this request.","example":"a3f2c1d4-7b6e-4f2a-9c1d-8e3f2a1b4c5d","isRequired":true,"uniqueKey":"meta.requestId","typeLabel":"string\u003cuuid>"},"durationMs":{"oneOf":[{"type":"integer","description":"Time taken to process the request in milliseconds.","example":1842,"isRequired":true,"uniqueKey":"meta.durationMs.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Time taken to process the request in milliseconds.","example":1842,"isRequired":true,"uniqueKey":"meta.durationMs.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"meta.durationMs","typeLabel":"integer | null"}},"required":["requestId","durationMs"],"uniqueKey":"meta","typeLabel":"object"}},"required":["error","error_code","retryable"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"Credit limit exceeded","error_code":"CREDITS_EXHAUSTED","retryable":false,"success":false,"retryAfterSeconds":123,"limit":123,"meta":{"requestId":"a3f2c1d4-7b6e-4f2a-9c1d-8e3f2a1b4c5d","durationMs":1842}}}},"exampleType":"generated"}},"exampleType":"generated"},"adc1c4be-1cd9-4402-a868-cbf6589e3fd4":{"description":"Revoked key, expired key, credit limit, blocklisted URL, monitor limit reached, or a RapidAPI subscription — monitors need a direct Prefetch API key.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"Human-readable error message. The wording can change: branch on `error_code`.","example":"Credit limit exceeded","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"error_code":{"type":"string","enum":["INVALID_REQUEST","PAYLOAD_TOO_LARGE","NOT_FOUND","CONFLICT","UNAUTHORIZED","FORBIDDEN","CREDITS_EXHAUSTED","RATE_LIMITED","CONCURRENCY_LIMITED","URL_BLOCKED","URL_NOT_PERMITTED","DNS_RESOLUTION_FAILED","TARGET_BLOCKED","TARGET_CONNECTION_FAILED","TARGET_TIMEOUT","TARGET_SSL_ERROR","TARGET_SERVER_ERROR","TARGET_CLIENT_ERROR","TARGET_NOT_A_PAGE","NO_LINKS_FOUND","TARGET_UNLOADABLE","RESEARCH_INCONCLUSIVE","TIMEOUT","SERVICE_BUSY","SERVICE_UNAVAILABLE","INTERNAL_ERROR"],"description":"What went wrong, for machines. Stable: a code keeps its meaning once published. See [Error handling](/concepts/errors).","example":"CREDITS_EXHAUSTED","isRequired":true,"uniqueKey":"error_code","typeLabel":"enum\u003cstring>"},"retryable":{"type":"boolean","description":"Whether the same request can succeed if sent again after a short wait (honour `Retry-After` when present). False for problems with the request or the target.","example":false,"isRequired":true,"uniqueKey":"retryable","typeLabel":"boolean"},"success":{"type":"boolean","enum":[false],"description":"Always false. Absent, like `meta`, on authentication and rate-limit errors, which are answered before a request is processed.","uniqueKey":"success","typeLabel":"enum\u003cboolean>"},"retryAfterSeconds":{"type":"integer","description":"On `RATE_LIMITED`: seconds until a request will be accepted.","uniqueKey":"retryAfterSeconds","typeLabel":"integer"},"limit":{"type":"integer","description":"On `CONCURRENCY_LIMITED`: how many requests this key may have in flight.","uniqueKey":"limit","typeLabel":"integer"},"meta":{"type":"object","properties":{"requestId":{"type":"string","format":"uuid","description":"Unique identifier for this request.","example":"a3f2c1d4-7b6e-4f2a-9c1d-8e3f2a1b4c5d","isRequired":true,"uniqueKey":"meta.requestId","typeLabel":"string\u003cuuid>"},"durationMs":{"oneOf":[{"type":"integer","description":"Time taken to process the request in milliseconds.","example":1842,"isRequired":true,"uniqueKey":"meta.durationMs.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Time taken to process the request in milliseconds.","example":1842,"isRequired":true,"uniqueKey":"meta.durationMs.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"meta.durationMs","typeLabel":"integer | null"}},"required":["requestId","durationMs"],"uniqueKey":"meta","typeLabel":"object"}},"required":["error","error_code","retryable"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"Credit limit exceeded","error_code":"CREDITS_EXHAUSTED","retryable":false,"success":false,"retryAfterSeconds":123,"limit":123,"meta":{"requestId":"a3f2c1d4-7b6e-4f2a-9c1d-8e3f2a1b4c5d","durationMs":1842}}}},"exampleType":"generated"}},"exampleType":"generated"},"17e9fbbd-1359-44b9-8138-9997c112f90b":{"description":"Rate limit exceeded.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"Human-readable error message. The wording can change: branch on `error_code`.","example":"Credit limit exceeded","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"error_code":{"type":"string","enum":["INVALID_REQUEST","PAYLOAD_TOO_LARGE","NOT_FOUND","CONFLICT","UNAUTHORIZED","FORBIDDEN","CREDITS_EXHAUSTED","RATE_LIMITED","CONCURRENCY_LIMITED","URL_BLOCKED","URL_NOT_PERMITTED","DNS_RESOLUTION_FAILED","TARGET_BLOCKED","TARGET_CONNECTION_FAILED","TARGET_TIMEOUT","TARGET_SSL_ERROR","TARGET_SERVER_ERROR","TARGET_CLIENT_ERROR","TARGET_NOT_A_PAGE","NO_LINKS_FOUND","TARGET_UNLOADABLE","RESEARCH_INCONCLUSIVE","TIMEOUT","SERVICE_BUSY","SERVICE_UNAVAILABLE","INTERNAL_ERROR"],"description":"What went wrong, for machines. Stable: a code keeps its meaning once published. See [Error handling](/concepts/errors).","example":"CREDITS_EXHAUSTED","isRequired":true,"uniqueKey":"error_code","typeLabel":"enum\u003cstring>"},"retryable":{"type":"boolean","description":"Whether the same request can succeed if sent again after a short wait (honour `Retry-After` when present). False for problems with the request or the target.","example":false,"isRequired":true,"uniqueKey":"retryable","typeLabel":"boolean"},"success":{"type":"boolean","enum":[false],"description":"Always false. Absent, like `meta`, on authentication and rate-limit errors, which are answered before a request is processed.","uniqueKey":"success","typeLabel":"enum\u003cboolean>"},"retryAfterSeconds":{"type":"integer","description":"On `RATE_LIMITED`: seconds until a request will be accepted.","uniqueKey":"retryAfterSeconds","typeLabel":"integer"},"limit":{"type":"integer","description":"On `CONCURRENCY_LIMITED`: how many requests this key may have in flight.","uniqueKey":"limit","typeLabel":"integer"},"meta":{"type":"object","properties":{"requestId":{"type":"string","format":"uuid","description":"Unique identifier for this request.","example":"a3f2c1d4-7b6e-4f2a-9c1d-8e3f2a1b4c5d","isRequired":true,"uniqueKey":"meta.requestId","typeLabel":"string\u003cuuid>"},"durationMs":{"oneOf":[{"type":"integer","description":"Time taken to process the request in milliseconds.","example":1842,"isRequired":true,"uniqueKey":"meta.durationMs.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Time taken to process the request in milliseconds.","example":1842,"isRequired":true,"uniqueKey":"meta.durationMs.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"meta.durationMs","typeLabel":"integer | null"}},"required":["requestId","durationMs"],"uniqueKey":"meta","typeLabel":"object"}},"required":["error","error_code","retryable"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"Credit limit exceeded","error_code":"CREDITS_EXHAUSTED","retryable":false,"success":false,"retryAfterSeconds":123,"limit":123,"meta":{"requestId":"a3f2c1d4-7b6e-4f2a-9c1d-8e3f2a1b4c5d","durationMs":1842}}}},"exampleType":"generated"}},"exampleType":"generated"},"5aad335d-a4ff-4b73-be4e-b7a581295b79":{"description":"Monitoring is temporarily unavailable. Retry shortly.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"Human-readable error message. The wording can change: branch on `error_code`.","example":"Credit limit exceeded","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"error_code":{"type":"string","enum":["INVALID_REQUEST","PAYLOAD_TOO_LARGE","NOT_FOUND","CONFLICT","UNAUTHORIZED","FORBIDDEN","CREDITS_EXHAUSTED","RATE_LIMITED","CONCURRENCY_LIMITED","URL_BLOCKED","URL_NOT_PERMITTED","DNS_RESOLUTION_FAILED","TARGET_BLOCKED","TARGET_CONNECTION_FAILED","TARGET_TIMEOUT","TARGET_SSL_ERROR","TARGET_SERVER_ERROR","TARGET_CLIENT_ERROR","TARGET_NOT_A_PAGE","NO_LINKS_FOUND","TARGET_UNLOADABLE","RESEARCH_INCONCLUSIVE","TIMEOUT","SERVICE_BUSY","SERVICE_UNAVAILABLE","INTERNAL_ERROR"],"description":"What went wrong, for machines. Stable: a code keeps its meaning once published. See [Error handling](/concepts/errors).","example":"CREDITS_EXHAUSTED","isRequired":true,"uniqueKey":"error_code","typeLabel":"enum\u003cstring>"},"retryable":{"type":"boolean","description":"Whether the same request can succeed if sent again after a short wait (honour `Retry-After` when present). False for problems with the request or the target.","example":false,"isRequired":true,"uniqueKey":"retryable","typeLabel":"boolean"},"success":{"type":"boolean","enum":[false],"description":"Always false. Absent, like `meta`, on authentication and rate-limit errors, which are answered before a request is processed.","uniqueKey":"success","typeLabel":"enum\u003cboolean>"},"retryAfterSeconds":{"type":"integer","description":"On `RATE_LIMITED`: seconds until a request will be accepted.","uniqueKey":"retryAfterSeconds","typeLabel":"integer"},"limit":{"type":"integer","description":"On `CONCURRENCY_LIMITED`: how many requests this key may have in flight.","uniqueKey":"limit","typeLabel":"integer"},"meta":{"type":"object","properties":{"requestId":{"type":"string","format":"uuid","description":"Unique identifier for this request.","example":"a3f2c1d4-7b6e-4f2a-9c1d-8e3f2a1b4c5d","isRequired":true,"uniqueKey":"meta.requestId","typeLabel":"string\u003cuuid>"},"durationMs":{"oneOf":[{"type":"integer","description":"Time taken to process the request in milliseconds.","example":1842,"isRequired":true,"uniqueKey":"meta.durationMs.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Time taken to process the request in milliseconds.","example":1842,"isRequired":true,"uniqueKey":"meta.durationMs.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"meta.durationMs","typeLabel":"integer | null"}},"required":["requestId","durationMs"],"uniqueKey":"meta","typeLabel":"object"}},"required":["error","error_code","retryable"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"Credit limit exceeded","error_code":"CREDITS_EXHAUSTED","retryable":false,"success":false,"retryAfterSeconds":123,"limit":123,"meta":{"requestId":"a3f2c1d4-7b6e-4f2a-9c1d-8e3f2a1b4c5d","durationMs":1842}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"a1fe7f7c-62a7-42f3-b340-a37bf2940fc6":{"apiKey":{"type":"apiKey","in":"header","name":"X-API-Key","description":"Your Prefetch API key. Obtain one from the dashboard.","scopes":[],"schemeName":"apiKey"}}},"servers":{"a72447d6-010c-4889-ae7b-b9e4d80db41a":{"url":"https://api.prefetch.io","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"X-API-Key","description":"Your Prefetch API key. Obtain one from the dashboard.","scopes":[],"schemeName":"apiKey"},"schema":{"title":"X-API-Key","type":"string","description":"Your Prefetch API key. Obtain one from the dashboard.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"apiKey","name":"X-API-Key"}],"title":"apiKey"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"prefetch","siteName":"Prefetch API","title":"POST /monitor - Prefetch API","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-05T00:20:50.161Z","originalFileLocation":"api-reference/endpoint/monitor.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Watch pages, sites and searches on a schedule, and get told what changed. Free to create; each check is billed per page.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Prefetch API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/prefetch/LfH_u0wIgIMJj9SU/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/prefetch/LfH_u0wIgIMJj9SU/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/prefetch/LfH_u0wIgIMJj9SU/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/prefetch/LfH_u0wIgIMJj9SU/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/prefetch/LfH_u0wIgIMJj9SU/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/prefetch/LfH_u0wIgIMJj9SU/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/prefetch/LfH_u0wIgIMJj9SU/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/prefetch/LfH_u0wIgIMJj9SU/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/prefetch/LfH_u0wIgIMJj9SU/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"POST /monitor - Prefetch API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Watch pages, sites and searches on a schedule, and get told what changed. Free to create; each check is billed per page.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Prefetch API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.prefetch.io/api-reference/endpoint/monitor\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://prefetch.mintlify.site/_mintlify/api/og/v2?division=Monitors\u0026amp;title=POST+%2Fmonitor\u0026amp;description=Watch+pages%2C+sites+and+searches+on+a+schedule%2C+and+get+told+what+changed.+Free+to+create%3B+each+check+is+billed+per+page.\u0026amp;theme=53a3f409698e98a035ca36d8\u0026amp;signature=0c66f7a3805d9b1082e27e3a40d5916d7fe18e7eff0533f50b11826c257eabe0\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"POST /monitor - Prefetch API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Watch pages, sites and searches on a schedule, and get told what changed. Free to create; each check is billed per page.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://prefetch.mintlify.site/_mintlify/api/og/v2?division=Monitors\u0026amp;title=POST+%2Fmonitor\u0026amp;description=Watch+pages%2C+sites+and+searches+on+a+schedule%2C+and+get+told+what+changed.+Free+to+create%3B+each+check+is+billed+per+page.\u0026amp;theme=53a3f409698e98a035ca36d8\u0026amp;signature=0c66f7a3805d9b1082e27e3a40d5916d7fe18e7eff0533f50b11826c257eabe0\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/prefetch/LfH_u0wIgIMJj9SU/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Prefetch API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#8A5A00\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.prefetch.io/api-reference/endpoint/monitor\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/endpoint/monitor.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.prefetch.io/#organization\",\"name\":\"Prefetch API\",\"url\":\"https://docs.prefetch.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/prefetch/0cLjeQZN2Dy6gN5Q/logo/light.svg?fit=max\u0026auto=format\u0026n=0cLjeQZN2Dy6gN5Q\u0026q=85\u0026s=7b9ea0ec7c23b929ff607e56c0de9713\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.prefetch.io#website\",\"name\":\"Prefetch API\",\"url\":\"https://docs.prefetch.io\",\"publisher\":{\"@id\":\"https://docs.prefetch.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.prefetch.io/api-reference/endpoint/monitor#webpage\",\"url\":\"https://docs.prefetch.io/api-reference/endpoint/monitor\",\"name\":\"POST /monitor\",\"description\":\"Watch pages, sites and searches on a schedule, and get told what changed. Free to create; each check is billed per page.\",\"dateModified\":\"2026-11-05T00:20:50.161Z\",\"isPartOf\":{\"@id\":\"https://docs.prefetch.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.prefetch.io/api-reference/endpoint/monitor#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.prefetch.io/api-reference/endpoint/monitor#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Prefetch API\",\"item\":\"https://docs.prefetch.io\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"POST /monitor\",\"item\":\"https://docs.prefetch.io/api-reference/endpoint/monitor\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.prefetch.io/api-reference/endpoint/monitor#apireference\",\"headline\":\"POST /monitor\",\"name\":\"POST /monitor\",\"description\":\"Watch pages, sites and searches on a schedule, and get told what changed. Free to create; each check is billed per page.\",\"url\":\"https://docs.prefetch.io/api-reference/endpoint/monitor\",\"mainEntityOfPage\":{\"@id\":\"https://docs.prefetch.io/api-reference/endpoint/monitor#webpage\"},\"dateModified\":\"2026-11-05T00:20:50.161Z\",\"publisher\":{\"@id\":\"https://docs.prefetch.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.prefetch.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Prefetch API\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Prefetch API\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/endpoint/monitor.md","siteName":"Prefetch API","nav":{"global":{},"tabs":[{"tab":"Docs","pages":[{"title":"Docs","href":""}]},{"tab":"Recipes","pages":[{"title":"Recipes","href":"/recipes/overview"}]},{"tab":"Integrations","pages":[{"title":"Integrations","href":"/integrations/overview"}]},{"tab":"API reference","groups":[{"group":"Overview","pages":[{"title":"API reference","sidebarTitle":"Introduction","href":"/api-reference/introduction"}]},{"group":"Find a company","pages":[{"title":"GET /resolve","sidebarTitle":"Resolve a name","openapi":"GET /resolve","href":"/api-reference/endpoint/resolve"},{"title":"GET /transaction","sidebarTitle":"Card transaction","openapi":"GET /transaction","href":"/api-reference/endpoint/transaction"}]},{"group":"Company data","pages":[{"title":"GET /enrich","sidebarTitle":"Enrich","openapi":"GET /enrich","href":"/api-reference/endpoint/enrich"},{"title":"GET /brand","sidebarTitle":"Brand","openapi":"GET /brand","href":"/api-reference/endpoint/brand"},{"title":"GET /company","sidebarTitle":"Company","openapi":"GET /company","href":"/api-reference/endpoint/company"},{"title":"GET /classify","sidebarTitle":"Classify","openapi":"GET /classify","href":"/api-reference/endpoint/classify"},{"title":"GET /styleguide","sidebarTitle":"Styleguide","openapi":"GET /styleguide","href":"/api-reference/endpoint/styleguide"}]},{"group":"Web data","pages":[{"title":"GET /scrape","sidebarTitle":"Scrape","openapi":"GET /scrape","href":"/api-reference/endpoint/scrape"},{"title":"GET /search","sidebarTitle":"Search","openapi":"GET /search","href":"/api-reference/endpoint/search"},{"title":"GET /map","sidebarTitle":"Map","openapi":"GET /map","href":"/api-reference/endpoint/map"},{"title":"GET /screenshot","sidebarTitle":"Screenshot","openapi":"GET /screenshot","href":"/api-reference/endpoint/screenshot"}]},{"group":"Crawls","pages":[{"title":"POST /crawl","sidebarTitle":"Start a crawl","openapi":"POST /crawl","href":"/api-reference/endpoint/crawl"},{"title":"GET /crawl/{id}","sidebarTitle":"Get crawl status","openapi":"GET /crawl/{id}","href":"/api-reference/endpoint/crawl-status"},{"title":"GET /crawl/{id}/errors","sidebarTitle":"Get crawl errors","openapi":"GET /crawl/{id}/errors","href":"/api-reference/endpoint/crawl-errors"},{"title":"DELETE /crawl/{id}","sidebarTitle":"Cancel a crawl","openapi":"DELETE /crawl/{id}","href":"/api-reference/endpoint/crawl-cancel"}]},{"group":"Batches","pages":[{"title":"POST /batch/scrape","sidebarTitle":"Start a batch scrape","openapi":"POST /batch/scrape","href":"/api-reference/endpoint/batch-scrape"},{"title":"GET /batch/scrape/{id}","sidebarTitle":"Get batch scrape status","openapi":"GET /batch/scrape/{id}","href":"/api-reference/endpoint/batch-scrape-status"},{"title":"GET /batch/scrape/{id}/errors","sidebarTitle":"Get batch scrape errors","openapi":"GET /batch/scrape/{id}/errors","href":"/api-reference/endpoint/batch-scrape-errors"},{"title":"DELETE /batch/scrape/{id}","sidebarTitle":"Cancel a batch scrape","openapi":"DELETE /batch/scrape/{id}","href":"/api-reference/endpoint/batch-scrape-cancel"},{"title":"POST /batch/{endpoint}","sidebarTitle":"Start a batch","openapi":"POST /batch/{endpoint}","href":"/api-reference/endpoint/batch"},{"title":"GET /batch/{endpoint}/{id}","sidebarTitle":"Get batch status","openapi":"GET /batch/{endpoint}/{id}","href":"/api-reference/endpoint/batch-status"},{"title":"GET /batch/{endpoint}/{id}/errors","sidebarTitle":"Get batch errors","openapi":"GET /batch/{endpoint}/{id}/errors","href":"/api-reference/endpoint/batch-errors"},{"title":"DELETE /batch/{endpoint}/{id}","sidebarTitle":"Cancel a batch","description":"Stop a running batch. URLs already answered stay readable, and are charged.","openapi":"DELETE /batch/{endpoint}/{id}","href":"/api-reference/endpoint/batch-cancel"}]},{"group":"Monitors","pages":[{"title":"POST /monitor","sidebarTitle":"Create a monitor","openapi":"POST /monitor","href":"/api-reference/endpoint/monitor"},{"title":"GET /monitor","sidebarTitle":"List monitors","description":"List the monitors your API key owns, newest first. Free.","openapi":"GET /monitor","href":"/api-reference/endpoint/monitor-list"},{"title":"GET /monitor/{id}","sidebarTitle":"Get a monitor","openapi":"GET /monitor/{id}","href":"/api-reference/endpoint/monitor-get"},{"title":"PATCH /monitor/{id}","sidebarTitle":"Update a monitor","openapi":"PATCH /monitor/{id}","href":"/api-reference/endpoint/monitor-update"},{"title":"DELETE /monitor/{id}","sidebarTitle":"Delete a monitor","openapi":"DELETE /monitor/{id}","href":"/api-reference/endpoint/monitor-delete"},{"title":"POST /monitor/{id}/run","sidebarTitle":"Run a check now","openapi":"POST /monitor/{id}/run","href":"/api-reference/endpoint/monitor-run"},{"title":"GET /monitor/{id}/checks","sidebarTitle":"List checks","openapi":"GET /monitor/{id}/checks","href":"/api-reference/endpoint/monitor-checks"},{"title":"GET /monitor/{id}/checks/{checkId}","sidebarTitle":"Get a check","openapi":"GET /monitor/{id}/checks/{checkId}","href":"/api-reference/endpoint/monitor-check"},{"group":"Webhooks","pages":[{"title":"monitor.page webhook","sidebarTitle":"monitor.page event","openapi":"WEBHOOK monitor.page","href":"/api-reference/endpoint/monitor-webhook-page"},{"title":"monitor.check.completed webhook","sidebarTitle":"monitor.check.completed event","openapi":"WEBHOOK monitor.check.completed","href":"/api-reference/endpoint/monitor-webhook-check"}]}]},{"group":"Logo CDN","pages":[{"title":"GET /logo/token","sidebarTitle":"Get logo token","openapi":"GET /logo/token","href":"/api-reference/endpoint/logo-token"},{"title":"POST /logo/token/rotate","sidebarTitle":"Rotate logo token","openapi":"POST /logo/token/rotate","href":"/api-reference/endpoint/logo-token-rotate"}]},{"group":"Service","pages":[{"title":"GET /health","sidebarTitle":"Health","openapi":"GET /health","href":"/api-reference/endpoint/health"},{"title":"GET /ready","sidebarTitle":"Readiness","openapi":"GET /ready","href":"/api-reference/endpoint/ready"}]}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog"}]}]},"basePath":"","title":"POST /monitor - Prefetch API","buildId":"dpl_715YoAgvjTGBDdo8RtXmHKM22b5p","deploymentId":"dpl_715YoAgvjTGBDdo8RtXmHKM22b5p","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-BvKnMd7F.js","utils-BMt52org.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-CGXZuDGO.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-Dl57XWH2.js","snippetPresets-CWd8CxSk.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BR-Wkc_D.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-YMmi08aZ.js","shallow-DBC1OB78.js","getApiPlaygroundDisplay-Be7mmEzP.js","CodeSnippet-B14o1TgQ.js","CodeSnippets-CJ2q3fTq.js","Page-Chgj7sZe.js","getPastedJson-DnpLXm8x.js","icon-BpkSFtdK.js","MethodPill-BO3zPf-g.js","DuplicateIcon-Bib3qwfw.js","createIcon-CY2noFo3.js","DynamicMarkdown-TAXIW2vN.js","SectionHeading-Dfs3Fmfw.js","axios-vUo_bRtp.js","Markdown-CGAo_eqA.js","clsx-BNa-H6W6.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-r2tNEC1n.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-B7oWe6jc.js"]}