CLARIXO Behavior Evidence Export API Integration Protocol
The contract document for exporting user-facing AI behavior into traceable, provable, and auditable evidence records.
A contract for post-behavior traceability, proof, and audit
This protocol defines the formal contract for CLARIXO Behavior Evidence Export API, including role, boundary, minimum evidence record, and integrity rule. It stays separate from runtime control infrastructure so teams can establish evidence export without first redesigning the live execution path.
Defines the evidence export role
Use this document to understand what the Behavior Evidence Export API is, what it is not, what the minimum record must contain, and how evidence integrity is defined in the contract.
Does not take over runtime control
This protocol does not define routing, fallback control, guard enforcement, approval gating, or execution governance. It preserves evidence after execution, while runtime control responsibilities remain with CLARIXO Core Runtime API.
Standardize the outbound evidence export path
This protocol governs when an evidence event should be created, what the minimum record must contain, how the record should be normalized, and how basic integrity should be preserved through evidence_hash. It assumes that the source AI system still owns its own runtime execution path.
Evidence plane, not control plane
The Behavior Evidence Export API sits on the enterprise-to-end-user evidence side. Its role begins after user-facing AI behavior has been formed or delivered.
Preserve behavior for later review
The protocol exists to support traceability, dispute review, incident reconstruction, support escalation, audit preparation, and internal quality review without claiming execution control.
Keep evidence export separate from runtime governance
Keep the first contract intentionally narrow
POST /v1/evidence/events
Submit one normalized evidence event or an events array after the user-facing AI behavior has already occurred and the delivered path is known.
GET /v1/evidence/events
Retrieve previously exported evidence events for filtering, review, reconstruction, support handling, and audit support.
Choose one meaningful user-facing behavior boundary
Under this protocol, one evidence event should describe one meaningful unit of user-facing AI behavior. In most systems, that means one completed assistant reply, recommendation, moderated output, transformed result, or operator-assisted final response.
One reviewable behavior unit
A good event boundary maps cleanly to a human review question and stays stable enough that later reviewers can reconstruct what happened without ambiguity.
Do not over-expand the first contract
The protocol does not require every internal helper call to become an evidence event. It requires a stable, interpretable unit of user-facing behavior.
Define one stable record contract before expanding scope
Keep the record useful for later human review
metadata.context_admissibility may carry a compact review-strengthening summary of context quality, including input binding, runtime source, runtime scope, pollution flags, clean context hash, and recomposition posture.closure_state, responsibility_declared, authority_consistency_status, handoff_eligible, evidentiary_strength, degradation_reason, trace_continuity_status, trace_reconstruction_status, attribution_validity, and attribution_strength.evidence_hash is part of the protocol contract
sha256:<hex>.evidence_hash canonical core.none for empty guard_flags.Separate exact evidence review from internal evidence observation
After completing Evidence API integration, a connected product should separate its internal evidence-facing surfaces into two distinct pages: Evidence Records and Internal Evidence Observation Window. These two surfaces should not be merged into a single page because they solve different review problems.
Protected record-level query and review
Evidence Records is the protected record-level query and review surface. It is used for exact evidence lookup, record inspection, protected review, export preparation, and dispute or compliance follow-up.
Internal evidence visibility and triage
Internal Evidence Observation Window is the higher-level internal visibility and triage surface. It is used to help internal teams observe evidence activity before deciding which records require deeper review.
GET /v1/evidence/events?project_id=<project_id>&application_id=<application_id>&recorded_from=<iso8601>