Plan monitoring for websites
plan_siteUse this when the user wants FlareWarden to monitor a website or API they run, or up to 50 of them at once. Returns a plan: what each site runs on (hosting, CDN, cloud regions, payments and other services, found from its DNS and page), which automatic page checks hold on it now, and the decisions to put to the user with recommendations and their cost in monitors. Saves the plan and changes nothing in the account; call again with the plan id and the user's answers. Not for adding a check to a site already monitored: use plan_dependency, plan_content_check or plan_cron_monitor.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | The site's URL, such as https://acme.com, for one site. | |
| name | No | The site's name, for one site; the host name by default. | |
| urls | No | Up to 50 site URLs, for adding many at once. | |
| group | No | A group to put the sites in. | |
| answers | No | The user's answers, by decision id: services, checks, interval, group, anomaly, fit, exclude_sites, and deps.<service>.* for a service's configuration. Also timeout, never asked: the seconds each site's checks wait for an answer (5, 10, 15 or 30; 10 unless given), longer for a page that is slow but up. | |
| plan_id | No | An earlier plan_site plan's id, to read it again or answer its decisions. | |
| from_workspace | No | For one site only: services the site uses that are visible in the user's own workspace and not from outside, such as its infrastructure config, package manifests or environment variable names. Each is a service by its FlareWarden catalogue name, the regions it runs in as region ids, and the file it was found in; a service the catalogue does not list also needs its kind and status page. Names, regions, file paths and status pages only: no values, secrets or file contents. They are pre-selected in the plan and labelled as the assistant's; the user still confirms. | |
| component_query | No | Searches a dependency's long component list (more than 50) by name. | |
| accept_recommended | No | True when the user asked FlareWarden to choose: every open decision that has a recommendation takes it. |