Monitors

post

List Monitors

Required scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired
Body
limitinteger · int64Optional

Maximum number of monitors to return.

Default: 1000
Responses
200

MonitorListResponseWrapper defines the response structure for listing monitors.

No content

post
/api/monitors/list

No content

get

Get Monitor Definition (YAML)

Required scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired
Path parameters
idstringRequired

UUID of the monitor to retrieve

Responses
200

MonitorYamlResponse defines the response structure for getting a monitor's YAML.

No content

get
/api/monitors/{id}

No content

post

Create Monitor

Required scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired
Body
Responses
200

CreateMonitorResponseWrapper defines the response structure for creating a monitor.

No content

post
/api/monitors

No content

put

Update Monitor

Required scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired
Path parameters
idstringRequired

UUID of the monitor to update

Body
Responses
put
/api/monitors/{id}

No content

delete

Delete Monitor

Required scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired
Path parameters
idstringRequired

UUID of the monitor to delete

Responses
200Success

No content

delete
/api/monitors/{id}

No content

Get All Silences

get

Retrieves all silences with optional filtering.

Required scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired
Query parameters
activebooleanOptional

Filter to show only active silences

limitinteger · int64Optional

Maximum number of silences to return

skipinteger · int64Optional

Number of silences to skip

Responses
200Success

No content

get
/api/monitors/silences

No content

Create Silence

post

Creates a new silence for monitoring alerts.

Required scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired
Body
BackendIDstringOptional
ClientIDstringOptional
commentstringOptional

Optional comment for the silence

endsAtstring · date-timeRequired

End time for the silence (must be after StartsAt)

startsAtstring · date-timeRequired

Start time for the silence

Responses
200Success

No content

post
/api/monitors/silences

No content

Get Silence by ID

get

Retrieves a specific silence by its UUID.

Required scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired
Path parameters
idstringRequired

UUID of the silence to retrieve

Responses
200Success

No content

get
/api/monitors/silences/{id}

No content

Update Silence

put

Updates an existing silence by its UUID.

Required scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired
Path parameters
idstringRequired

UUID of the silence to update

Body
BackendIDstringOptional
ClientIDstringOptional
commentstringOptional

Optional comment for the silence

endsAtstring · date-timeOptional

End time for the silence (must be after StartsAt)

startsAtstring · date-timeOptional

Start time for the silence

Responses
200Success

No content

put
/api/monitors/silences/{id}

No content

Delete Silence

delete

Deletes a silence by its UUID.

Required scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired
Path parameters
idstringRequired

UUID of the silence to delete

Responses
200Success

No content

delete
/api/monitors/silences/{id}

No content

Execute Prometheus query.

post

Executes a Prometheus query (instant or range) against the metrics server. Accepts either a direct 'promql' string or components ('pipeline', 'filters', 'conditions', 'subPipelines') to build the query.

Required scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired
Body
Endstring · date-timeOptional
FiltersstringOptional
PromqlstringOptional
QueryTypestring · enumOptionalPossible values:
Startstring · date-timeOptional
StepstringOptional
Responses
200Success

No content

post
/api/metrics/query

No content

Last updated