Skip to main content
Monitoring & Collection/Monitoring Cache

GetLearnedRules

Retrieve the automatically learned warmup rules derived from access patterns

GET/api/v1/monitoring/cache/smart-warmup/rules

Operation ID

GetLearnedRules

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

    Collection of result items

    Example: (nested array)

    • query
      Object

      Query for this resource

      • metric
        String

        Name of the metric to pre-warm in cache

        Example: cpu_usage_percent

      • aggregation
        String

        Aggregation function to use (e.g. avg, max, sum)

        Example: avg

      • timeRange
        String

        Time range for the warmup query (e.g. 1h, 24h)

        Example: 1h

      • priority
        Integer

        Execution priority; lower value means higher priority

        Example: 1

    • accessFrequency
      Integer

      Number of times this query was accessed in the learning window

      Example: 42

    • avgResponseTimeMs
      String

      Average response time in milliseconds without cache

      Example: 350

    • estimatedCost
      String

      Estimated computational cost of executing this query

      Example: 1200

    • priority
      Integer

      Assigned execution priority for this learned rule

      Example: 2