API.create_monitor#
- API.create_monitor(check_id: int, monitor: Dict[str, Any], raise_on_status: bool = True) Union[Response, Dict[str, Any]] #
Create monitor.
- Parameters
- check_idint
The ID of the check
- monitordict
The monitor object
- raise_on_statusbool
Whether to raise error on bad status code or not
- Returns
- Union[httpx.Response, dict]
The response from the server