Skip to main content
Alerting & Response/Alert Rules

GetAlertValidationRules

List all available validation rules and their constraints

GET/api/v1/alerting/rules/validation-rules

Operation ID

GetAlertValidationRules

Since

1.0.0

Execution Mode

Synchronous

Auth Context

Auth Required

Auth Context

Send these values as request headers when calling this API.

AuthorizationstringRequired

Bearer Token

X-Tenant-IDstring

X-Tenant-ID

Request Inputs

This API requires no request parameters.

Responses

200 OK
200 OK

On success, this API returns the following response structure.

  • items
    List

    List of validation rule definitions

    Example: (nested array)

    • module
      String

      Module that defines this validation rule

      Example: alert

    • field
      String

      Field name this validation applies to

      Example: threshold

    • validationType
      String

      Type of validation (range, enum, pattern, etc.)

      Example: range

    • description
      String

      Human-readable description of the validation constraint

      Example: Must be between 0 and 100

  • total
    Integer

    Total number of validation rules

    Example: 15