Plan a dependency
plan_dependencyUse this when the user wants FlareWarden to watch a third-party service a site relies on (a cloud provider, CDN, payment, email or auth service), either while planning a new site or for a site already monitored. A service FlareWarden's catalogue does not list is watched through its status page (url), or a URL checked over plain HTTP. Returns how the service will be watched (its status page integration, or a plain HTTP check), its cost in monitors against the room the plan has left, then the decisions one step at a time: regions (recommended from the site's DNS), which components count, then, once they are chosen, how serious each one's failure is; the interval is the recommended one unless the user names another. Credentials such as an API token are entered on a secure link it returns, never in the chat. Saves the plan and changes nothing in the account. Not for checking whether a service is down right now: use check_service_status.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | The service's status page, or a URL to check over plain HTTP, when the user gave one. | |
| site | No | A site already monitored, by id, name or part of its URL, to add the dependency to. | |
| answers | No | The user's answers, by decision id (deps.<service>.regions, .components, .severity.<component>, .interval, .url), or service when choosing among detected ones. | |
| plan_id | No | A plan_site plan (with dependency, the service's key from it) or an earlier plan_dependency plan. | |
| regions | No | Region ids the site runs in for this service, such as iad or us-east-1, when the user's code or the user says so: the service's locations there are recommended. | |
| dependency | No | The service: its key from a plan_site plan, or its name, such as Stripe or AWS, or a service the catalogue does not list (with url). On a one-site plan_site plan, a service detection did not find is added to the plan. | |
| integration | No | The integration to use when the user said which (their own monitoring's status page). | |
| component_query | No | Searches a 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. Never covers credentials. |