BrainstormRouter Governance API
The governance API from BrainstormRouter — 52 operation(s) for governance.
Operations 58
GET
/auth/governance/audit/chain/verify
Verify the hash-chain integrity of the tenant's recent audit window
#
GET
/auth/governance/audit/ledger
Recent chained audit rows projected for the Ledger view (+ head hash)
#
PUT
/auth/governance/behavioral-profiles/{role}
Create or update a behavioral profile for a role (admin)
#
GET
/auth/governance/plans
List the tenant's request-scoped liaison plans (read-only; distinct from grants)
#
POST
/auth/governance/policy/dry-run
Dry-run the tenant policy engine against a hypothetical action
#
POST
/auth/governance/scope-check
Dry multi-source scope composition (per-source lanes, no enforcement side…
#
GET
/auth/governance/scope-enforcement
Per-source scope enforcement: configured vs effective (cohort-aware, R6)
#
GET
/auth/governance/would-deny
Would-deny preview: warn-mode denials over an adjustable lookback, deduped
#
GET
/auth/grants/{id}/chain
Export the per-link-verifiable chain bundle (envelopes + signatures + JWKS ref)
#
POST
/auth/grants/{id}/check
Signed PDP verdict for a principal + requested scope (the dashboard simulator)
#
POST
/auth/grants/{id}/revoke
Break-glass revoke (tenant owner/admin; cascade default true; audited as…
#
GET
/v1/governance/agents/inventory
Agent inventory — every caller seen in the window classified as registered /…
#
GET
/v1/governance/artifacts/{request_id}
Signed Governance Artifact for one request — control-mapped, verifiable evidence
#
GET
/v1/governance/audit/chain/verify
Verify the hash-chain integrity of the completion audit trail
#
POST
/v1/governance/audit/verify
Verify server-held evidence for one request — per-check signature / registry /…
#
GET
/v1/governance/compliance/coverage
Evidence coverage — fraction of recorded decisions bound to the audit chain
#
GET
/v1/governance/data-policy
The tenant's effective data-protection posture — retention, no-training…
#
GET
/v1/governance/lineage
Decision lineage — durable trace reconstruction (or ?live=true ring buffer)
#
GET
/v1/governance/lineage/{request_id}
The WHY answer for one request — verified audit block + policy_context + lineage
#
GET
/v1/governance/memory/reconstruct
Reconstruct memory state at a past timestamp (with optional diff)
#
POST
/v1/governance/policy/dry-run
Evaluate a PolicyContext against the tenant ruleset (no enforcement)
#
GET
/v1/security/policy-packs
List the built-in policy pack library (named, versioned, framework-tagged)
#
DELETE
/v1/security/processor-facts
Clear the tenant's declared processor facts (self-service, API key)
#
GET
/v1/security/processor-facts
Read back the tenant's parsed processor facts, with anything unparseable…
#
POST
/v1/security/processor-facts
Persist the tenant's own processor facts so a constrained request can route…
#
POST
/v1/security/processor-facts/validate
Dry-run validate processor facts before writing them to tenant settings
#