---
title: "Admin Execute"
method: POST
path: "/api/v1/alerts/admin/rules/{rule_id}/execute"
tags: ["ALERTS_V1"]
---

# Admin Execute

`POST /api/v1/alerts/admin/rules/{rule_id}/execute`

## Request

- Base URL: `https://api.myaltimate.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.myaltimate.com/api/v1/alerts/admin/rules/{rule_id}/execute`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

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.

## Path parameters

- `rule_id` integer, required

## Request body

- AdminExecuteRequest: Request body for admin on-demand rule execution.
  - `reason` string, required: Why this manual execution is needed (logged for audit).
  - `reference_time` string, date-time, nullable: Evaluate as if 'now' were this timestamp (ISO-8601). Defaults to UTC now.

## Response `202`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/myaltimate/apis/myaltimate-api.md) - [All operations](https://skmtc.dev/myaltimate/apis/myaltimate-api/llms.txt) - [OpenAPI document](https://skmtc.dev/myaltimate/apis/myaltimate-api/revisions/727657ce54e9?raw)
