v

latestOpenAPI 3.1.02026-08-081,0211,3082.1 MB
ALERTS_V1

Admin Execute

Execute any alert/report rule on demand (admin only).

Restricted to the service user (email matching SERVICE_USER_EMAIL). Bypasses schedule and active/inactive status checks. Delegates to the Celery task for actual execution.

Requires a reason (logged for audit) and accepts an optional reference_time to evaluate as if "now" were a different timestamp.

post/api/v1/alerts/admin/rules/{rule_id}/execute

Path parameters

rule_idinteger required

Request body

reasonstring required

Why this manual execution is needed (logged for audit).

reference_timestring date-time nullable

Evaluate as if 'now' were this timestamp (ISO-8601). Defaults to UTC now.

Response

Successful Response

{"stackTrail":"paths:/api/v1/alerts/admin/rules/{rule_id}/execute:post:responses:202:content:application/json:schema","oasType":"schema","type":"unknown"}