---
title: "Commission Hierarchy Validator"
method: POST
path: "/v1/tools/validate_commission_hierarchy"
tags: ["TODO_TAGS_REVIEW", "TODO_AP2_EXPORT_REVIEW"]
---

# Commission Hierarchy Validator

`POST /v1/tools/validate_commission_hierarchy`

## Request

- Base URL: `https://ainumbers.co`
- URL: `https://ainumbers.co/v1/tools/validate_commission_hierarchy`
- Auth: none declared

BFS structural validation of multi-level sales commission hierarchies. Detects orphan agents (unreachable from root), circular references (cycle in parent chain), split-sum violations (direct-report allocations exceeding 100% of parent), and max-depth-exceeded flag. Returns is_valid (bool), violations[], and structural metrics. Accepts agent_id, parent_id, split_pct arrays. No National Producer Numbers, SSNs, or TINs. Zero PII by construction.

**Tool URL:** https://ainumbers.co/chaingraph/art-264-validate-commission-hierarchy.html

## Request body

- object
  - `hierarchy` object[]: type not evidenced by kernel source
    - `parent_id` unknown
  - `max_levels` unknown

## Response `200`

Successful tool execution result

- object
  - `agent_count` integer
  - `by_level` object[]
    - `agent_count` integer
    - `agents` string[]
    - `level` integer
    - `total_split_pct` integer
  - `is_valid` boolean
  - `not_legal_advice` string
  - `orphan_count` integer
  - `override_stacking_detected` boolean
  - `pii_note` string
  - `regulatory_basis` string
  - `table_source` string
  - `table_version` string
  - `total_levels` integer
  - `violations` unknown[]
    - unknown

---

[API](https://skmtc.dev/ainumbers/apis/ainumbers-co-fintech-intelligence-suite.md) · [All operations](https://skmtc.dev/ainumbers/apis/ainumbers-co-fintech-intelligence-suite/llms.txt) · [OpenAPI document](https://skmtc.dev/ainumbers/apis/ainumbers-co-fintech-intelligence-suite/revisions/b462e4f5bb28?raw)
