Skip to content
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 duration

Options 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:

  • human for interactive terminal use
  • json for scripts and other machine-readable consumers
  • jsonl for wait or streaming commands that emit one JSON record per line
  • toon for compact agent-readable summaries

Example:

agh hooks runs -o json

On this page