---
title: "Generate a policy impact report"
method: POST
path: "/api/v1/policies/impact-report"
tags: ["Simulation"]
deprecated: true
---

# Generate a policy impact report

`POST /api/v1/policies/impact-report`

## Request

- Base URL: `https://agent.getaxonflow.com`
- URL: `https://agent.getaxonflow.com/api/v1/policies/impact-report`
- Auth: none declared. Required headers: `X-Tenant-ID`
- TypeScript: <https://skmtc.dev/getaxonflow/apis/axonflow-policy-management-api/docs/api/v1/policies/impact-report/post.ts> (a function with typed inputs; its response is checked against the schema)

> **Deprecated.**

Test a single policy against multiple inputs and return aggregate
match/block statistics plus per-input results.

**Evaluation tier and above** — requires an Evaluation or Enterprise
license. The number of inputs per request is capped per tier.

## Headers

- `X-Tenant-ID` string, required

## Request body

- ImpactReportRequest
  - `policy_id` string, required: Policy to test against the inputs
  - `inputs` ImpactReportInput[], required: Test inputs (per-tier maximum applies)
    - `query` string, required
    - `request_type` string
    - `user` object: User context for testing
    - `context` object

## Response `200`

Impact report

- ImpactReportResponse
  - `policy_id` string
  - `policy_name` string
  - `total_inputs` integer
  - `matched` integer: Number of inputs that matched the policy
  - `blocked` integer: Number of inputs that would be blocked
  - `match_rate` number, float
  - `block_rate` number, float
  - `results` ImpactReportResult[]
    - `input_index` integer
    - `matched` boolean
    - `blocked` boolean
    - `actions` string[]: Action types that would trigger for this input
  - `processing_time_ms` integer
  - `generated_at` string, date-time
  - `tier` string

## Other responses

- `400`: Invalid request body, missing policy_id/inputs, or input limit exceeded
- `401`: Missing tenant identification
- `403`: Requires an Evaluation or Enterprise license
- `500`: Internal server error

---

[API](https://skmtc.dev/getaxonflow/apis/axonflow-policy-management-api.md) - [All operations](https://skmtc.dev/getaxonflow/apis/axonflow-policy-management-api/llms.txt) - [OpenAPI document](https://skmtc.dev/getaxonflow/apis/axonflow-policy-management-api/revisions/302fbde24320?raw)
