POST
/
api
/
v1
/
monitors
/
create
/
metric

Body

application/json
alert
object

Condition for triggering alerts.

connection_id
integer
required

The identifier for the data source configuration.

description
string

The description of the monitor.

enabled
boolean
default: true

Indicates whether the monitor is enabled.

metric
object
required

Configuration for the metric being monitored.

name
string
required

The name of the monitor.

notifications
object[]

Notification configuration for the monitor.

schedule
object
required

The schedule at which the monitor runs.

tags
string[]

Tags associated with the monitor.

Response

200 - application/json
id
integer
required

Unique identifier for the monitor.