A monitor runs its sources on a schedule, compares each check with the previous one, and alerts you when something changed. The Monitors guide explains each option; this page shows the request.
The first check runs straight away and records the starting point (“Started watching (1 item)”). It doesn’t alert. Send "checkNow": false to wait for the schedule instead. nextRunAt is in UTC.recipients lists any extra email addresses with their status. Each one gets a confirmation email and receives alerts only after confirming.
A field needs fixing. errors lists each one, for example { "field": "schedule", "message": "Your plan checks at most every 15 minutes." } or { "field": "sources[0].urls[0]", "message": "\"http://localhost/x\" can't be a private or internal address." }.
403
Your plan’s monitor limit is reached (MONITOR_LIMIT). Paused monitors count.
409
Another monitor is being created on your account at the same moment (BUSY). Try again.
Extra email recipients and whether they confirmed.
Show child attributes
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Spidra","description":"Spidra documentation — REST API reference, SDK guides, browser automation, CAPTCHA solving, and proxy scraping for AI-powered web data extraction.","colors":{"primary":"#007AFF","light":"#007AFF","dark":"#007AFF"},"logo":{"light":"https://mintcdn.com/spidra/tjYTncBEy2qwqvSx/logo/logo-light.png?fit=max\u0026auto=format\u0026n=tjYTncBEy2qwqvSx\u0026q=85\u0026s=9ee4bb079b87d8aea61a7d42bfecf118","dark":"https://mintcdn.com/spidra/tjYTncBEy2qwqvSx/logo/logo-dark.png?fit=max\u0026auto=format\u0026n=tjYTncBEy2qwqvSx\u0026q=85\u0026s=3633ab236061c0e8200d4d9e0f1a9c05"},"favicon":"https://mintcdn.com/spidra/47EJpglRIcFOVcnQ/favicon.ico?fit=max\u0026auto=format\u0026n=47EJpglRIcFOVcnQ\u0026q=85\u0026s=3c0c6b781fffaaa0dd242f4b886d8917","navbar":{"links":[{"href":"mailto:[email protected]","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.spidra.io"}},"footer":{"socials":{"x":"https://x.com/spidra_io","github":"https://github.com/spidra-io","linkedin":"https://www.linkedin.com/company/spidra-io"}},"seo":{"indexing":"all"},"interaction":{"drilldown":false},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Dashboard","icon":"book-open-cover","href":"https://app.spidra.io"},{"anchor":"GitHub","icon":"github","href":"https://github.com/spidra-io"},{"anchor":"Blog","icon":"newspaper","href":"https://spidra.io/blog"},{"anchor":"Changelog","icon":"clock-rotate-left","href":"https://spidra.io/changelog"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"spidra","hasAudioNarration":false,"actualSubdomain":"spidra","customDomains":["docs.spidra.io"],"gitSource":{"type":"github","owner":"spidra-io","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ad4495f7ccf34937951f5ee","collectionId":"ec3770cf-22c0-4667-883c-7fa72b946637","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ad4495f7ccf34937951f5ee"},"feedback":{"thumbs":true},"entitlements":{},"buildId":"6add84bd4a5b340ece6cb7c9","clientVersion":"0.0.3965","searchFilterCounts":[{"language":"default","tag":"Documentation","count":37},{"language":"default","tag":"API Reference","count":32},{"language":"default","tag":"Core Features","count":14},{"language":"default","tag":"SDKs","count":13},{"language":"default","tag":"Crawl Endpoints","count":10},{"language":"default","tag":"Official SDKs","count":10},{"language":"default","tag":"Scrape Endpoints","count":9},{"language":"default","tag":"Automation","count":6},{"language":"default","tag":"Search Endpoints","count":5},{"language":"default","tag":"Billing \u0026 Usage","count":5}]},"assistantConfig":{},"hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","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":"editor-v7-file-tree","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":"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":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","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":"per-site-search-delta","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":"editor-private-page-search","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":"editor-nav-generations","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":"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":"byok-sep-25","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":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","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}],"isAtlas":false,"googleFontsInlined":false},"customCss":[{"filePath":"custom.css","content":"table{width:100%!important;display:table!important}td,th{white-space:normal}"}],"page":{"pagePath":"api-reference/monitors/create","slug":"/api-reference/monitors/create","pageMetadata":{"title":"Create a Monitor","description":"Watch a template, a preset or a list of pages on a schedule, and get told what changed.","openapi":"POST /monitors","keywords":["create monitor","POST /monitors","website change detection API","monitor web data"],"href":"/api-reference/monitors/create"},"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 a template, a preset or a list of pages on a schedule, and get told what changed.\"\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`,pre:`pre`,span:`span`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,CodeGroup,Heading,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`A monitor runs its sources on a schedule, compares each check with the previous one, and alerts you when something changed. The `,_jsx(_components.a,{href:`/monitors`,children:`Monitors guide`}),` explains each option; this page shows the request.`]}),`\n`,_jsx(Heading,{level:`2`,id:`example-request`,children:`Example request`}),`\n`,_jsx(_components.p,{children:`Watch Google Maps for new dentists in Lekki, every morning at 8:`}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`12`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`12`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.spidra.io/api/monitors`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$SPIDRA_API_KEY`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"name\": \"Dentists in Lekki\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"sources\": [`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` { \"kind\": \"template\", \"template\": \"google-maps-leads\", \"inputs\": { \"query\": \"dentist\", \"areas\": [\"Lekki, Lagos\"] } }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"schedule\": { \"every\": \"1d\", \"at\": \"08:00\", \"timezone\": \"Africa/Lagos\" },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"alertOn\": \"new\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"notify\": { \"email\": { \"enabled\": true } }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`JavaScript`,numberOfLines:`15`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`15`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` res`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` fetch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://api.spidra.io/api/monitors\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` method:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"POST\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` headers:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` Authorization:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\" `Bearer \"}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`process`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`env`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:`SPIDRA_API_KEY`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\"`\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"application/json\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` body:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` JSON`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`stringify`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` name:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Dentists in Lekki\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` sources:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [{ `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`kind:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"template\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`template:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"google-maps-leads\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`inputs:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`query:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"dentist\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`areas:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Lekki, Lagos\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`] } }],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` schedule:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`every:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"1d\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`at:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"08:00\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`timezone:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Africa/Lagos\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` alertOn:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"new\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` notify:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`email:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`enabled:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } },`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }),`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:`monitor`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` res`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`json`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Python`,numberOfLines:`14`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`14`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` os, requests`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`res `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests.post(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.spidra.io/api/monitors\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` headers`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Authorization\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`f`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Bearer `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`os.environ[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'SPIDRA_API_KEY'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`},`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` json`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Dentists in Lekki\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"sources\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [{`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"kind\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"template\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"template\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"google-maps-leads\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"inputs\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"query\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"dentist\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"areas\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Lekki, Lagos\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]}}],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"schedule\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"every\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1d\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"08:00\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"timezone\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Africa/Lagos\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`},`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"alertOn\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"new\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"notify\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"email\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"enabled\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`True`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}},`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`monitor `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` res.json()[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"monitor\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`]})})})]}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`201`}),` with the monitor. This one watches a single page for text changes, with email alerts off:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`24`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`24`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"monitor\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"d6761e12-b011-4633-a593-fa6be2ef466c\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Docs test page\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"active\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"sources\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [{ `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ae22524a61ad\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"kind\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"urls\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"urls\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://httpbin.org/uuid\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`], `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"label\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"httpbin.org\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"schedule\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"every\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1d\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"09:00\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"timezone\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Africa/Lagos\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"cron\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0 9 * * *\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"alertOn\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"page\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"watchFields\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"rule\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"goal\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"notify\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"email\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"enabled\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"nextRunAt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-10-25T08:00:00.000Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"lastCheckAt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"lastChangeAt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"lastStatus\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"lastSummary\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"createdAt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-10-24T18:50:07.000Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"updatedAt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-10-24T18:50:07.000Z\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"recipients\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: []`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`The first check runs straight away and records the starting point (“Started watching (1 item)”). It doesn’t alert. Send `,_jsx(_components.code,{children:`\"checkNow\": false`}),` to wait for the schedule instead. `,_jsx(_components.code,{children:`nextRunAt`}),` is in UTC.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`recipients`}),` lists any extra email addresses with their status. Each one gets a confirmation email and receives alerts only after confirming.`]}),`\n`,_jsx(Heading,{level:`2`,id:`sources`,children:`Sources`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:_jsx(_components.code,{children:`kind`})}),_jsx(_components.th,{children:`Fields`}),_jsx(_components.th,{children:`Watches`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`template`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`template`}),`, `,_jsx(_components.code,{children:`inputs`})]}),_jsx(_components.td,{children:`A template’s rows. Each row has a stable key, so new, changed and removed items are exact.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`preset`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`presetId`})}),_jsx(_components.td,{children:`A saved scrape, batch, map, search or template preset.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`urls`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`urls`}),` (up to 50)`]}),_jsx(_components.td,{children:`Public pages.`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`Up to 10 sources per monitor. Each can have a `,_jsx(_components.code,{children:`label`}),`, shown in alerts.`]}),`\n`,_jsx(Heading,{level:`2`,id:`errors`,children:`Errors`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`When`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsxs(_components.td,{children:[`A field needs fixing. `,_jsx(_components.code,{children:`errors`}),` lists each one, for example `,_jsx(_components.code,{children:`{ \"field\": \"schedule\", \"message\": \"Your plan checks at most every 15 minutes.\" }`}),` or `,_jsx(_components.code,{children:`{ \"field\": \"sources[0].urls[0]\", \"message\": \"\\\\\"http://localhost/x\\\\\" can't be a private or internal address.\" }`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`403`})}),_jsxs(_components.td,{children:[`Your plan’s monitor limit is reached (`,_jsx(_components.code,{children:`MONITOR_LIMIT`}),`). Paused monitors count.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`409`})}),_jsxs(_components.td,{children:[`Another monitor is being created on your account at the same moment (`,_jsx(_components.code,{children:`BUSY`}),`). Try again.`]})]})]})]})]})}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":{"config":{},"pageMetadata":{"title":"Create a Monitor","description":"Watch a template, a preset or a list of pages on a schedule, and get told what changed.","openapi":"POST /monitors","keywords":["create monitor","POST /monitors","website change detection API","monitor web data"],"href":"/api-reference/monitors/create"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Example request","slug":"example-request","depth":2,"children":[]},{"title":"Response","slug":"response","depth":2,"children":[]},{"title":"Sources","slug":"sources","depth":2,"children":[]},{"title":"Errors","slug":"errors","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Create a Monitor","tags":["Monitors"],"description":"Watch a template, a preset or a list of pages on a schedule, and get told what changed.","requestBody":"47cea13d-d0f3-408c-ab28-149fc888292a","responses":{"201":"5ff82890-3e0e-49f9-aea3-2733f7a50fa5","401":"fd3463bf-b140-4ff0-9241-acb0da1f00cb","403":"ccd630dc-2109-4c9c-a867-c96d05707e44","409":"d09804a6-ef9a-4d0c-92e0-0bc77057e8c7","422":"d908d77b-d333-4735-8d68-e491652e5a0c"},"method":"post","type":"path","servers":["2c40fa78-f4e2-4a16-b7ad-d0626c5c0048"],"security":["9e90f399-408f-4b1d-8e77-7d8632f63d86","c2e073a5-989f-4b10-9399-eafbc0a86ab4"],"path":"/monitors","baseUrlOptions":["https://api.spidra.io/api"],"title":"Create a Monitor","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"Defaults to the first source's label.","uniqueKey":"name","typeLabel":"string"},"sources":{"type":"array","items":{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["template","preset","urls"],"isRequired":true,"uniqueKey":"sources.items.[INDEX].kind","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"Optional. Kept per source so changes are compared against the same source next time.","uniqueKey":"sources.items.[INDEX].id","typeLabel":"string"},"label":{"type":"string","description":"Shown in alerts. Defaults to the template, preset or site name.","uniqueKey":"sources.items.[INDEX].label","typeLabel":"string"},"template":{"type":"string","description":"kind template: the template's slug.","uniqueKey":"sources.items.[INDEX].template","typeLabel":"string"},"inputs":{"type":"object","description":"kind template: the template's inputs.","uniqueKey":"sources.items.[INDEX].inputs","typeLabel":"object"},"presetId":{"type":"string","description":"kind preset: the preset's ID. Scrape, batch, map, search and template presets can be watched.","uniqueKey":"sources.items.[INDEX].presetId","typeLabel":"string"},"urls":{"type":"array","items":{"type":"string","uniqueKey":"sources.items.[INDEX].urls.items.[INDEX]","typeLabel":"string"},"maxItems":50,"description":"kind urls: up to 50 public pages.","uniqueKey":"sources.items.[INDEX].urls","typeLabel":"string[]"}},"uniqueKey":"sources.items.[INDEX]","typeLabel":"object"},"minItems":1,"maxItems":10,"uniqueKey":"sources","typeLabel":"object[]"},"schedule":{"type":"object","properties":{"every":{"type":"string","enum":["5m","15m","30m","1h","6h","12h","1d","1w"],"uniqueKey":"schedule.every","typeLabel":"enum\u003cstring>"},"at":{"type":"string","description":"\"HH:MM\". The time for 1d and 1w, and the minute past the hour for 1h, 6h and 12h. Default 09:00.","uniqueKey":"schedule.at","typeLabel":"string"},"day":{"type":"integer","minimum":0,"maximum":6,"description":"1w only: 0 is Sunday. Default 1 (Monday).","uniqueKey":"schedule.day","typeLabel":"integer"},"cron":{"type":"string","description":"Instead of `every`: a 5-field cron expression.","uniqueKey":"schedule.cron","typeLabel":"string"},"timezone":{"type":"string","description":"An IANA time zone such as Africa/Lagos. Default UTC.","uniqueKey":"schedule.timezone","typeLabel":"string"}},"description":"Your plan sets the shortest interval: daily on Free, hourly on Starter, every 15 minutes on Builder, every 5 minutes on Pro.","uniqueKey":"schedule","typeLabel":"object"},"alertOn":{"type":"string","enum":["new","changed","removed","page","every"],"description":"What counts as a change. Default `page` when every source is a URL list, otherwise `new`.","uniqueKey":"alertOn","typeLabel":"enum\u003cstring>"},"watchFields":{"type":"array","items":{"type":"string","uniqueKey":"watchFields.items.[INDEX]","typeLabel":"string"},"maxItems":20,"description":"alertOn changed: only these fields count. Empty means every field.","uniqueKey":"watchFields","typeLabel":"string[]"},"rule":{"oneOf":[{"type":"object","properties":{"field":{"type":"string","uniqueKey":"rule.oneOf.0.field","typeLabel":"string"},"op":{"type":"string","enum":["lt","lte","gt","gte","eq","neq","contains","drops_by_pct","rises_by_pct"],"uniqueKey":"rule.oneOf.0.op","typeLabel":"enum\u003cstring>"},"value":{"oneOf":[{"type":"number","uniqueKey":"rule.oneOf.0.value.oneOf.0","typeLabel":"number"},{"type":"string","uniqueKey":"rule.oneOf.0.value.oneOf.1","typeLabel":"string"}],"uniqueKey":"rule.oneOf.0.value","typeLabel":"number | string"}},"description":"Only alert about items where this is true, for example `{ \"field\": \"price\", \"op\": \"drops_by_pct\", \"value\": 10 }`.","uniqueKey":"rule.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"field":{"type":"string"},"op":{"type":"string","enum":["lt","lte","gt","gte","eq","neq","contains","drops_by_pct","rises_by_pct"]},"value":{"oneOf":[{"type":"number"},{"type":"string"}]}},"description":"Only alert about items where this is true, for example `{ \"field\": \"price\", \"op\": \"drops_by_pct\", \"value\": 10 }`.","uniqueKey":"rule.oneOf.1","typeLabel":"null"}],"uniqueKey":"rule","typeLabel":"object | null"},"goal":{"oneOf":[{"type":"string","maxLength":1000,"description":"Plain-language goal. When something changed, AI decides whether it matches before alerting, and says why.","uniqueKey":"goal.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":1000,"description":"Plain-language goal. When something changed, AI decides whether it matches before alerting, and says why.","uniqueKey":"goal.oneOf.1","typeLabel":"null"}],"uniqueKey":"goal","typeLabel":"string | null"},"notify":{"type":"object","properties":{"email":{"type":"object","properties":{"enabled":{"type":"boolean","default":true,"uniqueKey":"notify.email.enabled","typeLabel":"boolean"},"recipients":{"type":"array","items":{"type":"string","uniqueKey":"notify.email.recipients.items.[INDEX]","typeLabel":"string"},"maxItems":10,"description":"Extra addresses. Each gets alerts only after confirming by email.","uniqueKey":"notify.email.recipients","typeLabel":"string[]"}},"description":"Your account's email is on unless `enabled` is false.","uniqueKey":"notify.email","typeLabel":"object"},"webhook":{"type":"object","properties":{"url":{"type":"string","description":"A public https URL.","uniqueKey":"notify.webhook.url","typeLabel":"string"},"secret":{"type":"string","description":"16 to 128 letters, digits, - or _. Generated when you leave it out.","uniqueKey":"notify.webhook.secret","typeLabel":"string"}},"uniqueKey":"notify.webhook","typeLabel":"object"},"slack":{"type":"object","properties":{"webhookUrl":{"type":"string","description":"A Slack incoming webhook URL (https://hooks.slack.com/...).","uniqueKey":"notify.slack.webhookUrl","typeLabel":"string"}},"uniqueKey":"notify.slack","typeLabel":"object"},"discord":{"type":"object","properties":{"webhookUrl":{"type":"string","description":"A Discord webhook URL (https://discord.com/api/webhooks/...).","uniqueKey":"notify.discord.webhookUrl","typeLabel":"string"}},"uniqueKey":"notify.discord","typeLabel":"object"}},"uniqueKey":"notify","typeLabel":"object"},"checkNow":{"type":"boolean","default":true,"description":"Create only: run the first check straight away. It records the starting point and doesn't alert.","uniqueKey":"checkNow","typeLabel":"boolean"}},"uniqueKey":"","typeLabel":"object"},"example":{"name":"Dentists in Lekki","sources":[{"kind":"template","template":"google-maps-leads","inputs":{"query":"dentist","areas":["Lekki, Lagos"]}}],"schedule":{"every":"1d","at":"08:00","timezone":"Africa/Lagos"},"alertOn":"new","notify":{"email":{"enabled":true}}},"examples":{"Example":{"title":"Example","value":{"name":"Dentists in Lekki","sources":[{"kind":"template","template":"google-maps-leads","inputs":{"query":"dentist","areas":["Lekki, Lagos"]}}],"schedule":{"every":"1d","at":"08:00","timezone":"Africa/Lagos"},"alertOn":"new","notify":{"email":{"enabled":true}}}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"5ff82890-3e0e-49f9-aea3-2733f7a50fa5":{"description":"Created.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","enum":["success"],"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"monitor":{"type":"object","properties":{"id":{"type":"string","uniqueKey":"monitor.id","typeLabel":"string"},"name":{"type":"string","uniqueKey":"monitor.name","typeLabel":"string"},"status":{"type":"string","enum":["active","paused"],"uniqueKey":"monitor.status","typeLabel":"enum\u003cstring>"},"sources":{"type":"array","items":{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["template","preset","urls"],"isRequired":true,"uniqueKey":"monitor.sources.items.[INDEX].kind","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"Optional. Kept per source so changes are compared against the same source next time.","uniqueKey":"monitor.sources.items.[INDEX].id","typeLabel":"string"},"label":{"type":"string","description":"Shown in alerts. Defaults to the template, preset or site name.","uniqueKey":"monitor.sources.items.[INDEX].label","typeLabel":"string"},"template":{"type":"string","description":"kind template: the template's slug.","uniqueKey":"monitor.sources.items.[INDEX].template","typeLabel":"string"},"inputs":{"type":"object","description":"kind template: the template's inputs.","uniqueKey":"monitor.sources.items.[INDEX].inputs","typeLabel":"object"},"presetId":{"type":"string","description":"kind preset: the preset's ID. Scrape, batch, map, search and template presets can be watched.","uniqueKey":"monitor.sources.items.[INDEX].presetId","typeLabel":"string"},"urls":{"type":"array","items":{"type":"string","uniqueKey":"monitor.sources.items.[INDEX].urls.items.[INDEX]","typeLabel":"string"},"maxItems":50,"description":"kind urls: up to 50 public pages.","uniqueKey":"monitor.sources.items.[INDEX].urls","typeLabel":"string[]"}},"uniqueKey":"monitor.sources.items.[INDEX]","typeLabel":"object"},"uniqueKey":"monitor.sources","typeLabel":"object[]"},"schedule":{"type":"object","properties":{"every":{"type":"string","enum":["5m","15m","30m","1h","6h","12h","1d","1w"],"uniqueKey":"monitor.schedule.every","typeLabel":"enum\u003cstring>"},"at":{"type":"string","description":"\"HH:MM\". The time for 1d and 1w, and the minute past the hour for 1h, 6h and 12h. Default 09:00.","uniqueKey":"monitor.schedule.at","typeLabel":"string"},"day":{"type":"integer","minimum":0,"maximum":6,"description":"1w only: 0 is Sunday. Default 1 (Monday).","uniqueKey":"monitor.schedule.day","typeLabel":"integer"},"cron":{"type":"string","description":"Instead of `every`: a 5-field cron expression.","uniqueKey":"monitor.schedule.cron","typeLabel":"string"},"timezone":{"type":"string","description":"An IANA time zone such as Africa/Lagos. Default UTC.","uniqueKey":"monitor.schedule.timezone","typeLabel":"string"}},"description":"Your plan sets the shortest interval: daily on Free, hourly on Starter, every 15 minutes on Builder, every 5 minutes on Pro.","uniqueKey":"monitor.schedule","typeLabel":"object"},"cron":{"type":"string","description":"The schedule as a cron expression.","uniqueKey":"monitor.cron","typeLabel":"string"},"alertOn":{"type":"string","uniqueKey":"monitor.alertOn","typeLabel":"string"},"watchFields":{"type":"array","items":{"type":"string","uniqueKey":"monitor.watchFields.items.[INDEX]","typeLabel":"string"},"uniqueKey":"monitor.watchFields","typeLabel":"string[]"},"rule":{"oneOf":[{"type":"object","properties":{"field":{"type":"string","uniqueKey":"monitor.rule.oneOf.0.field","typeLabel":"string"},"op":{"type":"string","enum":["lt","lte","gt","gte","eq","neq","contains","drops_by_pct","rises_by_pct"],"uniqueKey":"monitor.rule.oneOf.0.op","typeLabel":"enum\u003cstring>"},"value":{"oneOf":[{"type":"number","uniqueKey":"monitor.rule.oneOf.0.value.oneOf.0","typeLabel":"number"},{"type":"string","uniqueKey":"monitor.rule.oneOf.0.value.oneOf.1","typeLabel":"string"}],"uniqueKey":"monitor.rule.oneOf.0.value","typeLabel":"number | string"}},"description":"Only alert about items where this is true, for example `{ \"field\": \"price\", \"op\": \"drops_by_pct\", \"value\": 10 }`.","uniqueKey":"monitor.rule.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"field":{"type":"string"},"op":{"type":"string","enum":["lt","lte","gt","gte","eq","neq","contains","drops_by_pct","rises_by_pct"]},"value":{"oneOf":[{"type":"number"},{"type":"string"}]}},"description":"Only alert about items where this is true, for example `{ \"field\": \"price\", \"op\": \"drops_by_pct\", \"value\": 10 }`.","uniqueKey":"monitor.rule.oneOf.1","typeLabel":"null"}],"uniqueKey":"monitor.rule","typeLabel":"object | null"},"goal":{"oneOf":[{"type":"string","uniqueKey":"monitor.goal.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"monitor.goal.oneOf.1","typeLabel":"null"}],"uniqueKey":"monitor.goal","typeLabel":"string | null"},"notify":{"type":"object","properties":{"email":{"type":"object","properties":{"enabled":{"type":"boolean","default":true,"uniqueKey":"monitor.notify.email.enabled","typeLabel":"boolean"},"recipients":{"type":"array","items":{"type":"string","uniqueKey":"monitor.notify.email.recipients.items.[INDEX]","typeLabel":"string"},"maxItems":10,"description":"Extra addresses. Each gets alerts only after confirming by email.","uniqueKey":"monitor.notify.email.recipients","typeLabel":"string[]"}},"description":"Your account's email is on unless `enabled` is false.","uniqueKey":"monitor.notify.email","typeLabel":"object"},"webhook":{"type":"object","properties":{"url":{"type":"string","description":"A public https URL.","uniqueKey":"monitor.notify.webhook.url","typeLabel":"string"},"secret":{"type":"string","description":"16 to 128 letters, digits, - or _. Generated when you leave it out.","uniqueKey":"monitor.notify.webhook.secret","typeLabel":"string"}},"uniqueKey":"monitor.notify.webhook","typeLabel":"object"},"slack":{"type":"object","properties":{"webhookUrl":{"type":"string","description":"A Slack incoming webhook URL (https://hooks.slack.com/...).","uniqueKey":"monitor.notify.slack.webhookUrl","typeLabel":"string"}},"uniqueKey":"monitor.notify.slack","typeLabel":"object"},"discord":{"type":"object","properties":{"webhookUrl":{"type":"string","description":"A Discord webhook URL (https://discord.com/api/webhooks/...).","uniqueKey":"monitor.notify.discord.webhookUrl","typeLabel":"string"}},"uniqueKey":"monitor.notify.discord","typeLabel":"object"}},"uniqueKey":"monitor.notify","typeLabel":"object"},"nextRunAt":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"monitor.nextRunAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"monitor.nextRunAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"monitor.nextRunAt","typeLabel":"string\u003cdate-time> | null"},"lastCheckAt":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"monitor.lastCheckAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"monitor.lastCheckAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"monitor.lastCheckAt","typeLabel":"string\u003cdate-time> | null"},"lastChangeAt":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"monitor.lastChangeAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"monitor.lastChangeAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"monitor.lastChangeAt","typeLabel":"string\u003cdate-time> | null"},"lastStatus":{"oneOf":[{"type":"string","uniqueKey":"monitor.lastStatus.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"monitor.lastStatus.oneOf.1","typeLabel":"null"}],"uniqueKey":"monitor.lastStatus","typeLabel":"string | null"},"lastSummary":{"oneOf":[{"type":"string","description":"The last check in a few words, such as \"3 new\" or \"No change\".","uniqueKey":"monitor.lastSummary.oneOf.0","typeLabel":"string"},{"type":"null","description":"The last check in a few words, such as \"3 new\" or \"No change\".","uniqueKey":"monitor.lastSummary.oneOf.1","typeLabel":"null"}],"uniqueKey":"monitor.lastSummary","typeLabel":"string | null"},"createdAt":{"type":"string","format":"date-time","uniqueKey":"monitor.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"type":"string","format":"date-time","uniqueKey":"monitor.updatedAt","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"monitor","typeLabel":"object"},"recipients":{"type":"array","items":{"type":"object","properties":{"email":{"type":"string","uniqueKey":"recipients.items.[INDEX].email","typeLabel":"string"},"status":{"type":"string","enum":["pending","confirmed","unsubscribed"],"uniqueKey":"recipients.items.[INDEX].status","typeLabel":"enum\u003cstring>"}},"uniqueKey":"recipients.items.[INDEX]","typeLabel":"object"},"description":"Extra email recipients and whether they confirmed.","uniqueKey":"recipients","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"status":"success","monitor":{"id":"\u003cstring>","name":"\u003cstring>","status":"active","sources":[{"kind":"template","id":"\u003cstring>","label":"\u003cstring>","template":"\u003cstring>","inputs":{},"presetId":"\u003cstring>","urls":["\u003cstring>"]}],"schedule":{"every":"5m","at":"\u003cstring>","day":3,"cron":"\u003cstring>","timezone":"\u003cstring>"},"cron":"\u003cstring>","alertOn":"\u003cstring>","watchFields":["\u003cstring>"],"rule":{"field":"\u003cstring>","op":"lt","value":123},"goal":"\u003cstring>","notify":{"email":{"enabled":true,"recipients":["\u003cstring>"]},"webhook":{"url":"\u003cstring>","secret":"\u003cstring>"},"slack":{"webhookUrl":"\u003cstring>"},"discord":{"webhookUrl":"\u003cstring>"}},"nextRunAt":"2023-11-07T05:31:56Z","lastCheckAt":"2023-11-07T05:31:56Z","lastChangeAt":"2023-11-07T05:31:56Z","lastStatus":"\u003cstring>","lastSummary":"\u003cstring>","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z"},"recipients":[{"email":"\u003cstring>","status":"pending"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"fd3463bf-b140-4ff0-9241-acb0da1f00cb":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","enum":["error"],"isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"required":["status","message"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"status":"error","message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"ccd630dc-2109-4c9c-a867-c96d05707e44":{"description":"Your plan's monitor limit is reached (`MONITOR_LIMIT`).","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","enum":["error"],"isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"required":["status","message"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"status":"error","message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"d09804a6-ef9a-4d0c-92e0-0bc77057e8c7":{"description":"Another monitor is being created on your account right now (`BUSY`). Try again.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","enum":["error"],"isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"required":["status","message"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"status":"error","message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"d908d77b-d333-4735-8d68-e491652e5a0c":{"description":"Some inputs need fixing. `errors` lists each field.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","enum":["error"],"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"code":{"type":"string","enum":["INVALID_INPUT"],"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","uniqueKey":"errors.items.[INDEX].field","typeLabel":"string"},"message":{"type":"string","uniqueKey":"errors.items.[INDEX].message","typeLabel":"string"}},"uniqueKey":"errors.items.[INDEX]","typeLabel":"object"},"description":"One entry per field that needs fixing.","uniqueKey":"errors","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"status":"error","code":"INVALID_INPUT","message":"\u003cstring>","errors":[{"field":"\u003cstring>","message":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"9e90f399-408f-4b1d-8e77-7d8632f63d86":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"API key","scopes":[],"schemeName":"BearerAuth"}},"c2e073a5-989f-4b10-9399-eafbc0a86ab4":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key","scopes":[],"schemeName":"ApiKeyAuth"}}},"servers":{"2c40fa78-f4e2-4a16-b7ad-d0626c5c0048":{"url":"https://api.spidra.io/api"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"API key","scopes":[],"schemeName":"BearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"BearerAuth","name":"Authorization"}],"title":"BearerAuth"},{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"x-api-key","scopes":[],"schemeName":"ApiKeyAuth"},"schema":{"title":"x-api-key","type":"string","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKeyAuth","name":"x-api-key"}],"title":"ApiKeyAuth"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"spidra","siteName":"Spidra","title":"Create a Monitor - Spidra","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-25T04:25:47.829Z","originalFileLocation":"api-reference/monitors/create.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=\"system\"}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 a template, a preset or a list of pages on a schedule, and get told what changed.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Spidra\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/spidra/JYxAUddv93IVFozP/_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/spidra/JYxAUddv93IVFozP/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/spidra/JYxAUddv93IVFozP/_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/spidra/JYxAUddv93IVFozP/_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/spidra/JYxAUddv93IVFozP/_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/spidra/JYxAUddv93IVFozP/_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/spidra/JYxAUddv93IVFozP/_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/spidra/JYxAUddv93IVFozP/_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/spidra/JYxAUddv93IVFozP/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create a Monitor - Spidra\">\u003cmeta data-mint-head property=\"og:description\" content=\"Watch a template, a preset or a list of pages on a schedule, and get told what changed.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Spidra\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.spidra.io/api-reference/monitors/create\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://spidra.mintlify.app/_mintlify/api/og/v2?division=Monitors\u0026amp;title=Create+a+Monitor\u0026amp;description=Watch+a+template%2C+a+preset+or+a+list+of+pages+on+a+schedule%2C+and+get+told+what+changed.\u0026amp;theme=fd0fe7fea6781527f1876f07\u0026amp;signature=94469d7b722a19b277df6aad4ead88f14a4600542823bbfac96ca1328f1369ca\">\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=\"Create a Monitor - Spidra\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Watch a template, a preset or a list of pages on a schedule, and get told what changed.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://spidra.mintlify.app/_mintlify/api/og/v2?division=Monitors\u0026amp;title=Create+a+Monitor\u0026amp;description=Watch+a+template%2C+a+preset+or+a+list+of+pages+on+a+schedule%2C+and+get+told+what+changed.\u0026amp;theme=fd0fe7fea6781527f1876f07\u0026amp;signature=94469d7b722a19b277df6aad4ead88f14a4600542823bbfac96ca1328f1369ca\">\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/spidra/JYxAUddv93IVFozP/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Spidra\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#007AFF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.spidra.io/api-reference/monitors/create\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/monitors/create.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.spidra.io/#organization\",\"name\":\"Spidra\",\"url\":\"https://docs.spidra.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/spidra/tjYTncBEy2qwqvSx/logo/logo-light.png?fit=max\u0026auto=format\u0026n=tjYTncBEy2qwqvSx\u0026q=85\u0026s=9ee4bb079b87d8aea61a7d42bfecf118\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.spidra.io#website\",\"name\":\"Spidra\",\"url\":\"https://docs.spidra.io\",\"publisher\":{\"@id\":\"https://docs.spidra.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.spidra.io/api-reference/monitors/create#webpage\",\"url\":\"https://docs.spidra.io/api-reference/monitors/create\",\"name\":\"Create a Monitor\",\"description\":\"Watch a template, a preset or a list of pages on a schedule, and get told what changed.\",\"dateModified\":\"2026-10-25T04:25:47.829Z\",\"isPartOf\":{\"@id\":\"https://docs.spidra.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.spidra.io/api-reference/monitors/create#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.spidra.io/api-reference/monitors/create#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Spidra\",\"item\":\"https://docs.spidra.io\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create a Monitor\",\"item\":\"https://docs.spidra.io/api-reference/monitors/create\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.spidra.io/api-reference/monitors/create#apireference\",\"headline\":\"Create a Monitor\",\"name\":\"Create a Monitor\",\"description\":\"Watch a template, a preset or a list of pages on a schedule, and get told what changed.\",\"url\":\"https://docs.spidra.io/api-reference/monitors/create\",\"mainEntityOfPage\":{\"@id\":\"https://docs.spidra.io/api-reference/monitors/create#webpage\"},\"dateModified\":\"2026-10-25T04:25:47.829Z\",\"keywords\":\"create monitor, POST /monitors, website change detection API, monitor web data\",\"publisher\":{\"@id\":\"https://docs.spidra.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.spidra.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Spidra\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Spidra","nav":{"global":{"anchors":[{"anchor":"Dashboard","icon":"book-open-cover","href":"https://app.spidra.io"},{"anchor":"GitHub","icon":"github","href":"https://github.com/spidra-io"},{"anchor":"Blog","icon":"newspaper","href":"https://spidra.io/blog"},{"anchor":"Changelog","icon":"clock-rotate-left","href":"https://spidra.io/changelog"}]},"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":""}]},{"tab":"SDKs and AI","pages":[{"title":"SDKs and AI","href":"/sdks/overview"}]},{"tab":"API Reference","groups":[{"group":"Using the API","pages":[{"title":"API introduction","icon":"book","href":"/api-reference/introduction"},{"title":"Errors","icon":"triangle-exclamation","href":"/api-reference/errors"},{"title":"Rate limits","icon":"gauge","href":"/api-reference/rate-limits"},{"title":"Webhooks","icon":"webhook","href":"/api-reference/webhooks"}]},{"group":"Scrape","pages":[{"title":"Scrape","openapi":"POST /scrape","href":"/api-reference/scraping/scrape"},{"title":"Get a scrape","openapi":"GET /scrape/{jobId}","href":"/api-reference/scraping/scrape-status"}]},{"group":"Batch scrape","pages":[{"title":"Batch scrape","openapi":"POST /batch/scrape","href":"/api-reference/scraping/batch-scrape"},{"title":"Get a batch","openapi":"GET /batch/scrape/{batchId}","href":"/api-reference/scraping/batch-scrape-status"},{"title":"List batches","openapi":"GET /batch/scrape","href":"/api-reference/scraping/batch-scrape-list"},{"title":"Retry a batch","openapi":"POST /batch/scrape/{batchId}/retry","href":"/api-reference/scraping/batch-scrape-retry"},{"title":"Cancel a batch","openapi":"DELETE /batch/scrape/{batchId}","href":"/api-reference/scraping/batch-scrape-cancel"}]},{"group":"Crawl","pages":[{"title":"Crawl","openapi":"POST /crawl","href":"/api-reference/crawling/crawl"},{"title":"Get a crawl","openapi":"GET /crawl/{jobId}","href":"/api-reference/crawling/crawl-status"},{"title":"Get crawl pages","openapi":"GET /crawl/{jobId}/pages","href":"/api-reference/crawling/crawl-pages"},{"title":"Get a crawl report","openapi":"GET /crawl/{jobId}/report","href":"/api-reference/crawling/crawl-report"},{"title":"Extract from a crawl","openapi":"POST /crawl/{jobId}/extract","href":"/api-reference/crawling/crawl-extract"},{"title":"Retry a crawl page","openapi":"POST /crawl/{jobId}/retry/{pageId}","href":"/api-reference/crawling/crawl-retry-page"},{"title":"Download a crawl","openapi":"GET /crawl/{jobId}/download","href":"/api-reference/crawling/crawl-download"},{"title":"Get crawl details","openapi":"GET /crawl/job/{jobId}","href":"/api-reference/crawling/crawl-details"},{"title":"List crawls","openapi":"GET /crawl/history","href":"/api-reference/crawling/crawl-history"},{"title":"Cancel a crawl","openapi":"DELETE /crawl/{jobId}","href":"/api-reference/crawling/crawl-cancel"}]},{"group":"Map","pages":[{"title":"Map","openapi":"POST /map","href":"/api-reference/crawling/map"}]},{"group":"Search","pages":[{"title":"Search","openapi":"POST /search","href":"/api-reference/search/search"},{"title":"Get a search","openapi":"GET /search/{jobId}","href":"/api-reference/search/search-status"},{"title":"Cancel a search","openapi":"DELETE /search/{jobId}","href":"/api-reference/search/search-cancel"}]},{"group":"Parse","pages":[{"title":"Parse","openapi":"POST /parse","href":"/api-reference/parse/parse"},{"title":"Get a parse job","openapi":"GET /parse/{jobId}","href":"/api-reference/parse/parse-status"},{"title":"Parse a batch","openapi":"POST /parse/batch","href":"/api-reference/parse/parse-batch"},{"title":"Get a parse batch","openapi":"GET /parse/batch/{batchId}","href":"/api-reference/parse/parse-batch-status"},{"title":"Prepare a large upload","openapi":"POST /parse/uploads","href":"/api-reference/parse/parse-uploads"},{"title":"Delete a document","openapi":"DELETE /parse/files/{fileId}","href":"/api-reference/parse/parse-delete-file"},{"title":"List formats","openapi":"GET /parse/formats","href":"/api-reference/parse/parse-formats"}]},{"group":"Templates","pages":[{"title":"List Templates","openapi":"GET /templates","href":"/api-reference/templates/list"},{"title":"Get a Template","openapi":"GET /templates/{slug}","href":"/api-reference/templates/get"},{"title":"Estimate a Template Run","openapi":"POST /templates/{slug}/estimate","href":"/api-reference/templates/estimate"},{"title":"Run a Template","openapi":"POST /templates/{slug}/runs","href":"/api-reference/templates/run"},{"title":"Get a Template Run","openapi":"GET /template-runs/{runId}","href":"/api-reference/templates/get-run"},{"title":"List Template Runs","openapi":"GET /template-runs","href":"/api-reference/templates/list-runs"},{"title":"Look Up Airports","openapi":"GET /templates/lookups/airports","href":"/api-reference/templates/airports"}]},{"group":"Presets","pages":[{"title":"Create a Preset","openapi":"POST /presets","href":"/api-reference/presets/create"},{"title":"List Presets","openapi":"GET /presets","href":"/api-reference/presets/list"},{"title":"Get a Preset","openapi":"GET /presets/{presetId}","href":"/api-reference/presets/get"},{"title":"Update a Preset","openapi":"PATCH /presets/{presetId}","href":"/api-reference/presets/update"},{"title":"Delete a Preset","openapi":"DELETE /presets/{presetId}","href":"/api-reference/presets/delete"},{"title":"Run a Preset","description":"Run a saved template or tool request, optionally changing some of its inputs for this run.","openapi":"POST /presets/{presetId}/runs","href":"/api-reference/presets/run"}]},{"group":"Monitors","pages":[{"title":"Create a Monitor","openapi":"POST /monitors","href":"/api-reference/monitors/create"},{"title":"List Monitors","description":"Your monitors with their schedule, last check and next check.","openapi":"GET /monitors","href":"/api-reference/monitors/list"},{"title":"Get a Monitor","openapi":"GET /monitors/{monitorId}","href":"/api-reference/monitors/get"},{"title":"Update a Monitor","openapi":"PATCH /monitors/{monitorId}","href":"/api-reference/monitors/update"},{"title":"Delete a Monitor","openapi":"DELETE /monitors/{monitorId}","href":"/api-reference/monitors/delete"},{"title":"Check a Monitor Now","openapi":"POST /monitors/{monitorId}/check","href":"/api-reference/monitors/check-now"},{"title":"Pause a Monitor","openapi":"POST /monitors/{monitorId}/pause","href":"/api-reference/monitors/pause"},{"title":"Resume a Monitor","openapi":"POST /monitors/{monitorId}/resume","href":"/api-reference/monitors/resume"},{"title":"List Monitor Checks","openapi":"GET /monitors/{monitorId}/checks","href":"/api-reference/monitors/list-checks"},{"title":"Get a Monitor Check","openapi":"GET /monitors/{monitorId}/checks/{checkId}","href":"/api-reference/monitors/get-check"},{"title":"Estimate a Monitor","openapi":"POST /monitors/estimate","href":"/api-reference/monitors/estimate"},{"title":"Get Monitor Limits","openapi":"GET /monitors/limits","href":"/api-reference/monitors/limits"},{"title":"Send a Test Notification","openapi":"POST /monitors/test-notification","href":"/api-reference/monitors/test-notification"}]},{"group":"Logs","pages":[{"title":"List scrape logs","openapi":"GET /scrape-logs","href":"/api-reference/scraping/scrape-logs"},{"title":"Get a scrape log","openapi":"GET /scrape-logs/{uuid}","href":"/api-reference/scraping/scrape-logs-detail"},{"title":"List search logs","openapi":"GET /search-logs","href":"/api-reference/search/search-logs"},{"title":"Get a search log","openapi":"GET /search-logs/{uuid}","href":"/api-reference/search/search-logs-detail"},{"title":"List map logs","openapi":"GET /map-logs","href":"/api-reference/logs/map-logs"},{"title":"Get a map log","openapi":"GET /map-logs/{uuid}","href":"/api-reference/logs/map-logs-detail"},{"title":"List parse logs","openapi":"GET /parse-logs","href":"/api-reference/logs/parse-logs"}]},{"group":"Account","pages":[{"title":"Account","openapi":"GET /account","href":"/api-reference/account/account"},{"title":"Usage stats","openapi":"GET /usage-stats","href":"/api-reference/account/usage-stats"},{"title":"Usage by tool","openapi":"GET /usage-stats/breakdown","href":"/api-reference/account/usage-breakdown"}]}]}]},"title":"Create a Monitor - Spidra","buildId":"dpl_849ArpqvBiCczQiT1Y1stNGpbqHT","deploymentId":"dpl_849ArpqvBiCczQiT1Y1stNGpbqHT","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-Bbp7I60D.js","utils-C3RIvJha.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DqD-vLt8.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-B31Loprg.js","snippetPresets-DKpk-b8t.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-Cj65AhOR.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BXtn5gcC.js","shallow-RY2b03Cp.js","getApiPlaygroundDisplay-B0jeiPk3.js","CodeSnippet-CYgBjjwn.js","CodeSnippets-DOngDrYB.js","Page-n7I5XbKb.js","getPastedJson-DRQbJx-T.js","icon-CQiQCicY.js","MethodPill-BKTLdNtu.js","DuplicateIcon-B9jpAdat.js","createIcon-DCddRrXv.js","DynamicMarkdown-a8hUKrw6.js","SectionHeading-eECVV2eH.js","axios-vUo_bRtp.js","Markdown--GF7ZIpf.js","clsx-DZLdJUrt.js","lib--scc4DXi.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-2LoAhjKH.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-Zwc0ZncM.js"]}