Metric Policy

List metric policies

Changed on

Returns a paginated list of metric policies for the project, including system policies.

get/v1/metric/policies

Request

  • Base URL
    https://api.roark.ai
  • URL
    https://api.roark.ai/v1/metric/policies
  • Auth
    HTTP bearer

Query parameters

limitinteger

Maximum number of policies to return (default: 20, max: 50)

Example:20
afterstring

Cursor for pagination - use the nextCursor value from a previous response

status'ACTIVE' | 'INACTIVE'

Filter by policy status

Response

Paginated list of metric policies

Changes

    • info

      added the required property //// to the response with the status

    • warning

      added the new conflict enum value to the response property for the response status

    • warning

      added the new conflict enum value to the response property for the response status

    • warning

      added the new conflict enum value to the response property for the response status

    • warning

      added the new conflict enum value to the response property for the response status

    • warning

      added the new payment_required enum value to the response property for the response status

    • warning

      added the new payment_required enum value to the response property for the response status

    • warning

      added the new payment_required enum value to the response property for the response status

    • warning

      added the new payment_required enum value to the response property for the response status