Journal Event • AI Agent SDK
JournalEvent: A single append-only journal event.
JournalEvent
Defined in the journal module.
AI Agent
A single append-only journal event.
`(run_id, seq, kind) is the natural key: a step number seq produces at most one event of each kind (e.g. a tool step has one tool_call and one tool_result). payload is any JSON-serialisable dict — the decision text, {name, args, idempotency_key}, the tool result, the approval decision, or {index}`.
Properties
ResponseField
strNo description available.
ResponseField
intNo description available.
ResponseField
strNo description available.
ResponseField
Dict[str, Any]No description available.
ResponseField
floatNo description available.
Source
View on GitHubpraisonaiagents/runtime/journal.py at line 126