跳至主要内容

List alert policies

GET 

/api/v1/orgs/{orgId}/alert-policies

Retrieve a paginated list of alert policies for the org.

Parameters

  • keyword (string, optional): Fuzzy match against policyName.
  • dataStreamId (UUID, optional): Reverse lookup — return only the policies attached to this data stream, instead of filtering the policy's own fields.
  • sorting (string, optional, default: sorted by creation time): Sort expression using the same field names as the response body, e.g. policyName desc or createdAt desc. Supports comma-separated multi-field sorting, e.g. createdAt desc, policyName.
  • skipCount (integer, optional, default: 0): Number of records to skip.
  • maxResultCount (integer, optional, default: 10): Maximum records to return.

Responses

  • 200 OK: Returns a paginated list of alert policies.

Request

Responses

OK