---
title: "Detect policy conflicts"
method: POST
path: "/api/v1/policies/conflicts"
tags: ["Simulation"]
deprecated: true
---

# Detect policy conflicts

`POST /api/v1/policies/conflicts`

## Request

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

> **Deprecated.**

Analyze the tenant's active policies for contradictions, shadows, and
redundancies. Optionally scope the analysis to a single policy by
passing `policy_id` in the request body (the body may be omitted
entirely to check all policies).

**Evaluation tier and above** — requires an Evaluation or Enterprise
license. Counts against the daily simulation quota.

## Headers

- `X-Tenant-ID` string, required

## Request body

- PolicyConflictRequest
  - `policy_id` string: Optional: check a specific policy against all others

## Response `200`

Conflict detection results

- PolicyConflictResponse
  - `conflicts` PolicyConflict[]
    - `policy_a` PolicyConflictRef: Identifies a policy in a conflict pair
      - `id` string
      - `name` string
      - `type` string
    - `policy_b` PolicyConflictRef: Identifies a policy in a conflict pair
      - `id` string
      - `name` string
      - `type` string
    - `conflict_type` 'contradictory_action' | 'shadow' | 'redundant'
    - `description` string
    - `severity` 'high' | 'medium' | 'low'
    - `overlapping_field` string: Condition field both policies evaluate
  - `total_policies` integer: Number of active policies analyzed
  - `conflict_count` integer
  - `checked_at` string, date-time
  - `tier` string

## Other responses

- `400`: Missing X-Tenant-ID header or invalid request body
- `403`: Requires an Evaluation or Enterprise license
- `429`: Daily simulation limit reached
- `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)
