CreateWarmupRule
Create a new cache warmup rule defining which queries to pre-warm
POST
/api/v1/monitoring/cache/warmup-rulesOperation ID
CreateWarmupRuleSince
1.0.0Execution Mode
SynchronousAuth Context
Auth RequiredAuth Context
Send these values as request headers when calling this API.
AuthorizationstringRequiredBearer Token
X-Tenant-IDstringX-Tenant-ID
Request Inputs
application/jsonBody Fields
nameStringRequiredDisplay name for the new warmup rule
Example: Nightly Warmup
enabledBooleanRequiredWhether to enable this rule immediately upon creation
Example: true
queriesListRequiredQueries for this resource
Example: (nested array)
metricStringName of the metric to pre-warm in cache
Example: cpu_usage_percent
aggregationStringAggregation function to use (e.g. avg, max, sum)
Example: avg
timeRangeStringTime range for the warmup query (e.g. 1h, 24h)
Example: 1h
priorityIntegerExecution priority; lower value means higher priority
Example: 1
triggerStringRequiredTrigger type for this rule (e.g. schedule, event)
Example: schedule
priorityIntegerRequiredExecution priority for this rule relative to others
Example: 1
