Per-action audit report
Aggregates audit logs for a window into per-action counts, average latency, and top policies, tenant-scoped and optionally filtered by user and a single canonical action. Counts reconcile with /api/v1/audit/search for the same filters.
Request
- Base URLhttps://orchestrator.getaxonflow.com
- Authnone declared. Required headers: X-Tenant-ID
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
Tenant identifier scoping the request. The AxonFlow Agent gateway sets this header after authentication; the orchestrator fails closed when it is absent (401 on audit/decision endpoints, 400 on others — see each operation). Clients cannot widen their scope through it: handlers force the tenant filter from this header, never from the request body.
Request body
Response
Per-action report. A fail-closed read (X-Axonflow-Read-Scope: none) returns the seeded all-zeroes report, which has the same shape as "no rows in the window".
Changes
No recorded changes to this operation across all 1 revision of this API.