ReferenceCLI commands
BetaYou are reading docs for the beta channel (
2.4.1-beta.1) — updated automatically on every beta release.Switch to stable →CLI commands
ak watch status
Show current watch state (all repos, or a specific one)
Report each watched repository: whether its watcher is active, when it last polled, how many issues it has responded to, and the rate-limit budget. Pass owner/repo to scope to one.
Who it's for: Both: scripts checking whether a watcher is alive (--json) and users auditing background watchers.
When to use it: After ak watch start --daemon to confirm a watcher is running, or to inspect responded counts.
What changes on disk: Read-only. Reads ~/.agentkit/watch/<repo-slug>/state.json (AGENTKIT_HOME overrides the base dir). Unreadable or corrupt state files are skipped in the all-repos listing.
Usage
ak watch status [owner/repo] [flags]Examples
ak watch status
ak watch status owner/repo
ak watch status --jsonFlags
| Flag | Description |
|---|---|
-h, --help | help for status |
--json | Emit machine-readable JSON (implies --no-interactive) |
--no-interactive | Disable interactive prompts (CI-safe) |
-q, --quiet | Suppress non-error output on stderr |
-V, --verbose | Extra diagnostic output on stderr (loses to --quiet) |
-y, --yes | Assume yes for all prompts |
Output modes
| Mode | Behavior |
|---|---|
pretty | default on TTY (colors, ASCII markers) |
plain | auto when stdout piped or --no-interactive |
json | --json (single-object envelope, NDJSON-safe) |
Exit codes
| Code | Meaning |
|---|---|
0 | success |
1 | runtime error |
2 | invalid flags |
3 | user-cancel (SIGINT, prompt-cancel) |
Related commands
ak watch— Watch a GitHub repository and auto-respond to issues