AxonFlow · Schema

DecisionExplanation

ADR-043 decision explanation

CompanyAI GovernanceAI AgentsPolicy EnforcementAudit LoggingComplianceMCPOpen Source

Properties

Name Type Description
decision_id string
timestamp string
policy_matches array Always an array (`[]` when empty)
matched_rules array Per-rule match detail; omitted when unavailable
decision string Verdict echoed verbatim from the audit row's policy_decision column (not normalized), so historical spellings can appear
reason string
risk_level string
override_available boolean Always false from v11.0.0: session overrides are retired (PRD v11 §1.5, #4252), so explain offers none.
override_existing_id string Not set from v11.0.0: explain offers no override, and the step gate no longer reads one (#4252).
historical_hit_count_session integer Rolling-24h hit count for the first matched policy by this user
policy_source_link string
tool_signature string
policy_version_at_decision integer Policy version recorded at decision time; omitted when unknown
latest_policy_version integer Current head version of the first matched (static) policy
context object
context_truncated boolean
View JSON Schema on GitHub

JSON Schema

axonflow-decision-explanation-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/axonflow/json-schema/axonflow-decision-explanation-schema.json",
  "title": "DecisionExplanation",
  "description": "ADR-043 decision explanation",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/axonflow-decisions-overrides-api-openapi.yml#/components/schemas/DecisionExplanation",
  "type": "object",
  "properties": {
    "decision_id": {
      "type": "string"
    },
    "timestamp": {
      "type": "string",
      "format": "date-time"
    },
    "policy_matches": {
      "type": "array",
      "description": "Always an array (`[]` when empty)",
      "items": {
        "type": "object",
        "properties": {
          "policy_id": {
            "type": "string"
          },
          "policy_name": {
            "type": "string"
          },
          "action": {
            "type": "string"
          },
          "risk_level": {
            "type": "string"
          },
          "allow_override": {
            "type": "boolean"
          },
          "policy_description": {
            "type": "string"
          }
        }
      }
    },
    "matched_rules": {
      "type": "array",
      "description": "Per-rule match detail; omitted when unavailable",
      "items": {
        "type": "object",
        "properties": {
          "policy_id": {
            "type": "string"
          },
          "rule_id": {
            "type": "string"
          },
          "rule_text": {
            "type": "string"
          },
          "matched_on": {
            "type": "string"
          }
        }
      }
    },
    "decision": {
      "type": "string",
      "description": "Verdict echoed verbatim from the audit row's policy_decision\ncolumn (not normalized), so historical spellings can appear\n"
    },
    "reason": {
      "type": "string"
    },
    "risk_level": {
      "type": "string"
    },
    "override_available": {
      "type": "boolean",
      "description": "Always false from v11.0.0: session overrides are retired (PRD v11\n§1.5, #4252), so explain offers none.\n"
    },
    "override_existing_id": {
      "type": "string",
      "description": "Not set from v11.0.0: explain offers no override, and the step\ngate no longer reads one (#4252).\n"
    },
    "historical_hit_count_session": {
      "type": "integer",
      "description": "Rolling-24h hit count for the first matched policy by this user"
    },
    "policy_source_link": {
      "type": "string"
    },
    "tool_signature": {
      "type": "string"
    },
    "policy_version_at_decision": {
      "type": "integer",
      "description": "Policy version recorded at decision time; omitted when unknown"
    },
    "latest_policy_version": {
      "type": "integer",
      "description": "Current head version of the first matched (static) policy"
    },
    "context": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      }
    },
    "context_truncated": {
      "type": "boolean"
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/axonflow-decision-explanation"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.