API.fetch_monitor#

API.fetch_monitor(monitor_id: int, raise_on_status: bool = True)#

Create monitor.

Parameters
monitor_idint

The ID of the monitor

raise_on_statusbool

Whether to raise error on bad status code or not

Returns
Union[httpx.Response, Dict[str, Any]]

The response from the server