Skip to Content
Aionis currently ships as a local-first Lite Runtime for developer machines and self-managed deployments.
API ReferenceFlight Recorder

Flight Recorder

POST /v1/audit/flight-recorder builds a read-only incident replay report.

It answers:

What memory could the Agent see, what was blocked, what was used, and why?

Request

The endpoint accepts either a full product_trace or individual replay artifacts.

curl -s http://127.0.0.1:3001/v1/audit/flight-recorder \ -H 'content-type: application/json' \ -d '{ "tenant_id": "default", "scope": "checkout-migration", "run_id": "run-001", "guide_trace_id": "guide_trace:...", "agent_context": {}, "memory_decision_trace": {}, "memory_use_receipt": {}, "operator_snapshot": {}, "feedback_result": {}, "decision_time": "2026-06-15T00:00:00.000Z" }'

At least one replay artifact is required when product_trace is absent.

SDK

import { agentContextFromGuide, memoryUseReceiptFromGuide, } from "@aionis/sdk"; const guideTraceId = (guide as { guide_trace_id?: string }).guide_trace_id; const report = await aionis.flightRecorder({ run_id, guide_trace_id: guideTraceId, agent_context: agentContextFromGuide(guide), memory_use_receipt: memoryUseReceiptFromGuide(guide), feedback_result: feedback, });

Response Surfaces

SurfaceMeaning
agent_flight_recorder.contract_versionStable report contract.
agent_view.exposed_memory_idsMemory visible to the Agent.
agent_view.use_now_memory_idsMemory admitted for direct use.
agent_view.do_not_use_memory_idsMemory blocked as action guidance.
blocked_or_suppressedSuppressed, stale, failed, or blocked evidence.
attributionOutcome linkage to used, supported, or contradicted memory.
claimsBounded audit claims the report can support.

Prompt Payload Boundary

The Flight Recorder report is designed for incident replay without prompt payload dumping. It should explain decisions, not become a second copy of every Agent prompt.

For product-level usage, see Agent Flight Recorder.