Session
AGH RuntimeSession
agh session events
Read session events
- Audience
- Operators running durable agent work
- Focus
- Session guidance shaped for scanability, day-two clarity, and operator context.
agh session events
Read session events
agh session events <id> [flags]Examples
# Read the latest stored events
agh session events sess_1234 --last 20
# Follow new events until interrupted
agh session events sess_1234 --followOptions
--follow Stream new events over SSE
-h, --help help for events
--last int Show only the most recent N events
--since string Show events since an RFC3339 timestamp or relative duration
--type string Filter by event typeOptions inherited from parent commands
--json Emit JSON output
-o, --output string Output format: human, json, jsonl, or toon (default "human")Output Formats
Every AGH command supports -o, --output:
humanfor interactive terminal usejsonfor scripts and other machine-readable consumersjsonlfor wait or streaming commands that emit one JSON record per linetoonfor compact agent-readable summaries
Example:
agh session events <id> -o json