Skip to main content
Alerting & Response/Alert Rules

ListAlertRuleScopeValues

List known values for an allowed alert scope field

GET/api/v1/alerting/rules/scope-values

Operation ID

ListAlertRuleScopeValues

Since

1.2.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

application/json

Query Parameters

  • productType
    String

    Product type used to select scope values

  • resourceType
    String

    Resource type used to narrow available values

  • metricName
    String

    Metric name used to narrow available values

  • field
    String

    Scope field key whose values should be listed

  • platformUuid
    String

    Platform UUID used for platform-specific value lookup

Header Parameters

  • Accept-Language
    String

    Preferred display locale. Supports zh-CN, zh_CN, en-US, and weighted Accept-Language values.

Responses

200 OK

Localized system-enum labels and original resource names; values remain unchanged; display filtering precedes pagination

Content-Type: application/json

Response body root type: object

Response Headers

  • Content-Language
    String

    Actual locale used for scope display

  • Vary
    String

    Indicates that the response varies by Accept-Language

  • items
    List

    List of known values for the requested scope field

    • value
      String

      Scope value used in rule filters

      Example: zone-a

    • label
      String

      Display label for the scope value

      Example: Zone A

    • extra
      LinkedHashMap

      Additional value metadata returned for client display

  • total
    Integer

    Total number of values matching the filter

    Example: 50

    {"format":"int32"}

  • page
    Integer

    Page number returned in this response

    Example: 1

    {"format":"int32"}

  • pageSize
    Integer

    Page size returned in this response

    Example: 20

    {"format":"int32"}

  • limit
    Integer

    Maximum items returned in this response

    Example: 20

    {"format":"int32"}

  • offset
    Integer

    Offset from start of result set

    Example: 20

    {"format":"int32"}

  • Change Time

    AddedRequest parameters Accept-Language
    View API