Hooks
AGH RuntimeHooks
agh hooks runs
Show persisted hook execution history
- Audience
- Operators running durable agent work
- Focus
- Hooks guidance shaped for scanability, day-two clarity, and operator context.
agh hooks runs
Show persisted hook execution history
agh hooks runs [flags]Options
--event string Filter by hook event
-h, --help help for runs
--last int Show only the most recent N runs
--outcome string Filter by hook outcome
--session string Session ID
--since string Show runs since an RFC3339 timestamp or relative durationOptions 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 hooks runs -o json