Skip to main content
POST
Create a Metric Monitor

Authorizations

Authorization
string
header
required

Use the 'Authorization' header with the format 'Key '

Body

application/json
connection_id
integer
required

The identifier for the data source configuration.

metric
Table · object
required

Configuration for the metric being monitored.

name
string
required

The name of the monitor.

schedule
Interval · object
required

The schedule at which the monitor runs.

alert
Anomaly Detection · object

Condition for triggering alerts.

description
string | null

The description of the monitor.

enabled
boolean
default:true

Indicates whether the monitor is enabled.

notifications
(Email · object | PagerDuty · object | Webhook · object | Slack · object | Teams · object)[]

Notification configuration for the monitor.

owner
string | null

Email of the monitor owner.

tags
string[]

Tags associated with the monitor.

Response

Successful Response

id
integer
required

Unique identifier for the monitor.