Method
createRealtimeMonitor POST
Copy POST

Real time monitors compute and monitor metrics of real time prediction data.

Arguments:

REQUIRED KEY TYPE DESCRIPTION
Yes deploymentId str Unique string identifier for the deployment.
No realtimeMonitorSchedule str The cron expression for triggering monitor.
No lookbackTime int Lookback time (in seconds) for each monitor trigger
Note: The arguments for the API methods follow camelCase but for Python SDK underscore_case is followed.

Response:

KEY TYPE DESCRIPTION
success Boolean true if the call succeeded, false if there was an error
result RealtimeMonitor
KEY TYPE Description
realtimeMonitorId str The unique identifier of the real-time monitor.
name str The user-friendly name for the real-time monitor.
createdAt str Date and time at which the real-time monitor was created.
deploymentId str Deployment ID that this real-time monitor is monitoring.
lookbackTime int The lookback time for the real-time monitor.
realtimeMonitorSchedule str The drift computation schedule for the real-time monitor.

Exceptions:

TYPE WHEN
DataNotFoundError

deploymentId is not found.

Language: