Skip to Content
Aionis v0.3.2 is the current Runtime baseline for SDK/API hosts, MCP clients, plugins, Substrate-backed recall, and self-managed agent loops.

Operator Snapshot

POST /v1/operator/snapshot

Create an operator snapshot for a run.

Snapshots combine guide context, decision trace, feedback, measurement, and execution state into a compact operator-facing view.

Request body

FieldTypeRequiredDescription
tenant_idstringNoTenant boundary.
scopestringNoProject or workspace boundary.
run_idstringRecommendedExecution run identifier.
task_signaturestringNoStable task identity.
agent_contextobjectNoAgent context returned by guide.
guide_packetobjectNoGuide packet returned by Runtime.
memory_decision_traceobjectNoDecision trace from guide or measure.
memory_decision_auditobjectNoCompact decision audit.
effect_reportobjectNoReport returned by /v1/measure.
execution_contextobjectNoExecution state or workflow projection.
guide_trace_idstringNoGuide trace connected to the snapshot.
include_markdownbooleanNoInclude a markdown snapshot body.

Example

curl -s http://127.0.0.1:3001/v1/operator/snapshot \ -H 'content-type: application/json' \ -d '{ "tenant_id": "default", "scope": "checkout-migration", "run_id": "run-001", "task_signature": "checkout-migration", "guide_trace_id": "guide_trace:abc", "agent_context": {}, "memory_decision_trace": {}, "effect_report": {}, "include_markdown": true }'

SDK

const snapshot = await aionis.operatorSnapshot({ run_id: "run-001", task_signature: "checkout-migration", guide_trace_id: guide.guide_trace_id, agent_context: guide.agent_context, effect_report: measure.effect_report, include_markdown: true, });

Response

Important fields:

FieldMeaning
contract_versionaionis_operator_snapshot_result_v1.
operator_snapshotStructured snapshot for the run.
markdownMarkdown body when include_markdown is true.
source_mapInputs and Runtime surfaces used to assemble the snapshot.