Retrieve a list of check rule ids
/api/alerting/check-rulesParameters 3
datasetqueryOptional dataset to query across. Defaults to whatever is configured to be the default dataset for the organization.
"^[a-zA-Z0-9_-]{3,26}$"idPrefixqueryIf provided, only check rules for which the origin starts with the given string are returned. (deprecated)
The originPrefix query parameter takes precedence over this parameter if both are provided.
originPrefixqueryIf provided, only check rules for which the origin starts with the given string are returned.
Sample request12curl --request GET 'https://api.eu-west-1.aws.dash0.com/api/alerting/check-rules' \--header "Authorization: Bearer ${DASH0_AUTH_TOKEN}"
Responses
Successful response in case the list of check rules could be retrieved.
Array items
The ID, origin, dataset, and the name of a check rule.
The unique identifier of the check rule.
For backward compatibility, this field is also filled with the origin, if it exists. However in a future version, this field will only return the actual check rule ID.
User defined origin for getting/updating/deleting the alert rule through the API.
Origin of a Dash0 resource, derived from dash0.com/origin on read.
ui: created interactively in the Dash0 UI.terraform: managed via the Dash0 Terraform provider.operator: managed via the Dash0 Kubernetes operator.dash0-cli: managed via the Dash0 CLI.platform: owned by Dash0 rather than by anyone in your organization. Covers both resources Dash0 generates from another resource you own (the recording rules an SLO produces) and resources Dash0 ships with the product (the built-in views).api: created directly through the API, and the fallback for any origin whose prefix is not recognized.
New values may be added over time. Treat an unrecognized value as api
rather than rejecting the response.
"ui""terraform""operator""dash0-cli""platform""api"Optional dataset to query across. Defaults to whatever is configured to be the default dataset for the organization.
Human-readable and templatable name for the check. In Prometheus alerting rules this is called "alert".