Skip to main content
Monitoring & Collection/Monitoring Cache
GETMonitoringSince 1.0SynchronousAuth Required

GetLearnedRules

Retrieve the automatically learned warmup rules derived from access patterns

Execution Availability

Try It Out

Submit a mock request using the current auth context and example-driven inputs.

Request Inputs

This API requires no request parameters.

Responses

200 OK

On success, this API returns the following response structure.

  • itemsList

    Collection of result items

    Example: (nested array)

    • queryObject

      Query for this resource

      • metricString

        Name of the metric to pre-warm in cache

        Example: cpu_usage_percent

      • aggregationString

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

        Example: avg

      • timeRangeString

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

        Example: 1h

      • priorityInteger

        Execution priority; lower value means higher priority

        Example: 1

    • accessFrequencyInteger

      Number of times this query was accessed in the learning window

      Example: 42

    • avgResponseTimeMsString

      Average response time in milliseconds without cache

      Example: 350

    • estimatedCostString

      Estimated computational cost of executing this query

      Example: 1200

    • priorityInteger

      Assigned execution priority for this learned rule

      Example: 2

Endpoint

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

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

Operation ID

GetLearnedRules

Permalink

Request Example

curl -X GET '{host}/api/v1/monitoring/cache/smart-warmup/rules' -H 'Authorization: Bearer {token}'

Response Example

200
{
  "items": [
    {}
  ]
}

Change History

This API has no change history records yet.

View all change history