Flight Recorder
POST /v1/audit/flight-recorder
Replay what memory the Agent could see, what was blocked, what was used, and why.
Use Flight Recorder for debugging, incident review, admission analysis, and operator reporting.
Request body
Send a full product_trace or individual replay artifacts.
| Field | Type | Required | Description |
|---|---|---|---|
tenant_id | string | No | Tenant boundary. |
scope | string | No | Project or workspace boundary. |
run_id | string | No | Execution run identifier. |
guide_trace_id | string | No | Guide trace connected to the decision. |
decision_time | string | No | ISO timestamp for the replay point. |
product_trace | object | Conditional | Full trace containing guide, feedback, and measurement inputs. |
agent_context | object | Conditional | Agent context returned by guide. |
memory_decision_trace | object | Conditional | Decision trace from guide or measure. |
memory_use_receipt | object | Conditional | Receipt returned by guide. |
operator_snapshot | object | Conditional | Snapshot returned by /v1/operator/snapshot. |
feedback_result | object | Conditional | Feedback result connected to the run. |
At least one replay artifact is required when product_trace is absent.
Example
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:abc",
"agent_context": {},
"memory_decision_trace": {},
"memory_use_receipt": {},
"feedback_result": {},
"decision_time": "2026-06-15T00:00:00.000Z"
}'SDK
const report = await aionis.flightRecorder({
run_id: "run-001",
guide_trace_id: guide.guide_trace_id,
agent_context: guide.agent_context,
memory_use_receipt: guide.memory_use_receipt,
feedback_result: feedback,
});Response
Important fields:
| Field | Meaning |
|---|---|
contract_version | aionis_agent_flight_recorder_result_v1. |
agent_flight_recorder.agent_view | Memory visible to the Agent at decision time. |
agent_flight_recorder.blocked_or_suppressed | Memory blocked from action or suppressed. |
agent_flight_recorder.attribution | Outcome linkage to used, supported, or contradicted memory. |
agent_flight_recorder.claims | Bounded audit claims supported by the replay artifacts. |