← Back to ScrapeGraphAI
PATCH/api/monitor/{id}

Update Monitor

Update a monitor configuration.

ScrapeGraphAI·Free

Example code

// Using @orth/sdk - The simplest way to call APIs // Install: npm install @orth/sdk import Orthogonal from "@orth/sdk"; const orthogonal = new Orthogonal({ apiKey: process.env.ORTHOGONAL_API_KEY, }); const output = await orthogonal.run({ api: "scrapegraphai", path: "/api/monitor/{id}", query: { "id": "example" } }); console.log(output);

Query parameters

idrequired
string

Monitor UUID (path parameter)

Body parameters

name
string

Monitor name

formats
array

Output formats

interval
string

Cron interval

webhookUrl
string

Webhook URL

fetchConfig
object

Fetch options

Response

config.url
string
config.name
string
config.formats.0.mode
string
config.formats.0.type
string
config.interval
string
cronId
string
status
string
interval
string
createdAt
string
updatedAt
string
scheduleId
string
    Orthogonal - Giving AI agents the tools they need.