Monitors

post

List Monitors

chevron-right
lockRequired scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired
Body
limitinteger · int64Optional

Maximum number of monitors to return (default 1000).

querystringOptional

GCQL filter string (filters only, no pipes or aggregations). Supported fields: monitor_name, type.

skipinteger · int64Optional

Number of monitors to skip for pagination.

sortstringOptional

Field to sort by: "name" (default) or "type".

Responses
chevron-right
200

MonitorListResponseWrapper defines the response structure for listing monitors.

application/json
donebooleanOptional

Whether all matching results have been returned (no more pages).

post
/api/monitors/list
get

Get Monitor Definition (YAML)

chevron-right
lockRequired scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired
Path parameters
idstringRequired

UUID of the monitor to retrieve

Responses
chevron-right
200

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

application/json
integer · uint8[]Optional
get
/api/monitors/{id}
post

Create Monitor

chevron-right
lockRequired scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired
Body
autoResolvebooleanOptional

Whether the alert should auto-resolve.

categorystringOptional

Category of the monitor.

executionErrorStatestring · enumOptional

State to enter if execution fails.

Possible values:
isPausedbooleanOptional

Whether the monitor is paused.

measurementTypestring · enumOptional

Type of measurement (state or event).

Possible values:
noDataStatestring · enumOptional

State to enter if no data is returned.

Possible values:
routingstring[]Optional

Routing information.

severitystringOptional

Severity level (e.g., critical, warning, info).

teamstringOptional

Team associated with the monitor.

titlestringRequired

Title of the monitor.

Responses
chevron-right
200

CreateMonitorResponseWrapper defines the response structure for creating a monitor.

application/json
monitorIdstringOptional

The UUID of the newly created monitor.

post
/api/monitors
put

Update Monitor

chevron-right
lockRequired scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired
Path parameters
idstringRequired

UUID of the monitor to update

Body
autoResolvebooleanOptional

Whether the alert should auto-resolve.

categorystringOptional

Category of the monitor.

executionErrorStatestring · enumOptional

State to enter if execution fails.

Possible values:
isPausedbooleanOptional

Whether the monitor is paused.

measurementTypestring · enumOptional

Type of measurement (state or event).

Possible values:
noDataStatestring · enumOptional

State to enter if no data is returned.

Possible values:
routingstring[]Optional

Routing information.

severitystringOptional

Severity level (e.g., critical, warning, info).

teamstringOptional

Team associated with the monitor.

titlestringRequired

Title of the monitor.

Responses
put
/api/monitors/{id}

No content

delete

Delete Monitor

chevron-right
lockRequired scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired
Path parameters
idstringRequired

UUID of the monitor to delete

Responses
chevron-right
200

NoContentResponse indicates success but that no response body is expected or included.

No content

delete
/api/monitors/{id}

No content

Get All Silences

get

Retrieves all silences with optional filtering.

chevron-right
lockRequired 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
chevron-right
200Success
application/json
activebooleanOptional
commentstringOptional
createdBystringOptional
createdByEmailstringOptional
endsAtstring · date-timeOptional
idstring · uuidOptional
recurringSilenceIdstring · uuidOptional
startsAtstring · date-timeOptional
get
/api/monitors/silences

Create Silence

post

Creates a new silence for monitoring alerts.

chevron-right
lockRequired 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
chevron-right
200Success
application/json
activebooleanOptional
commentstringOptional
createdBystringOptional
createdByEmailstringOptional
endsAtstring · date-timeOptional
idstring · uuidOptional
recurringSilenceIdstring · uuidOptional
startsAtstring · date-timeOptional
post
/api/monitors/silences

Get Silence by ID

get

Retrieves a specific silence by its UUID.

chevron-right
lockRequired scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired
Path parameters
idstringRequired

UUID of the silence to retrieve

Responses
chevron-right
200Success
application/json
activebooleanOptional
commentstringOptional
createdBystringOptional
createdByEmailstringOptional
endsAtstring · date-timeOptional
idstring · uuidOptional
recurringSilenceIdstring · uuidOptional
startsAtstring · date-timeOptional
get
/api/monitors/silences/{id}

Update Silence

put

Updates an existing silence by its UUID.

chevron-right
lockRequired 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
chevron-right
200Success
application/json
activebooleanOptional
commentstringOptional
createdBystringOptional
createdByEmailstringOptional
endsAtstring · date-timeOptional
idstring · uuidOptional
recurringSilenceIdstring · uuidOptional
startsAtstring · date-timeOptional
put
/api/monitors/silences/{id}

Delete Silence

delete

Deletes a silence by its UUID.

chevron-right
lockRequired scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired
Path parameters
idstringRequired

UUID of the silence to delete

Responses
chevron-right
200

NoContentResponse indicates success but that no response body is expected or included.

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.

chevron-right
lockRequired scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired
Body

QueryRequest represents a request to query metrics

Endstring · date-timeOptional

End time for the query

FiltersstringOptional

GCQL filters to apply

PromqlstringOptional

Direct PromQL query string

QueryTypestring · enumOptional

Query type: either "range" or "instant" range MetricsQueryTypeRange instant MetricsQueryTypeInstant

Possible values:
Startstring · date-timeOptional

Start time for the query

StepstringOptional

Step duration for range queries (e.g., "1m", "5m")

Responses
chevron-right
200Success
application/json
post
/api/metrics/query

No content

Last updated