get_monitor
Get a single LastPing monitor by UUID. Returns the monitor's full configuration including its output assertions (the assertions field: conditions a successful run's ping body must satisfy; absent when the monitor has none) and its metric guards (the guards field: ceilings on a number the job reports about itself; absent when the monitor has none) and its alert ROUTING (the routes field: which destinations receive which event type; absent when the monitor has none). Read this before calling update_monitor with assertions or guards, and before calling set_route — every one of those three writes REPLACES a whole set, so an agent that did not read the current one first will silently drop assertions, guards or destinations somebody else configured.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Monitor UUID. |