kapi context log
kapi log [id]List what has been noted, imported and decided about this project's context, newest first.
Each line carries an id, when it happened, who did it, what it was about and where it stands: suggested and waiting for a person, established and in force, contested by another rule it names, or withdrawn, dropped or reset.
"--session this" is an assistant reading back what its own run recorded, which is how it ends a task report. Narrow the list with --status to see what is waiting for a decision, or with --session to see what one run did. Name one id to see that rule or fact and every decision about it, the history Kapi Desktop's Explore shows for it.
Runs in your browser against a small sample file. Edit the command before running, or press Run to execute it as shown.
kapi context log --session this| Flag | Type | Default | Description |
|---|---|---|---|
| --actor | string | only one actor, by name or by kind | |
| --limit | int | 0 | keep the most recent N (0 keeps them all) |
| --project, -p | string | path to a kapi.yaml project recipe or its directory (auto-discovered from cwd if omitted) | |
| --session | string | only what one agent session recorded, or "this" for the session this run records under | |
| --since | string | only what happened after a date (2006-01-02) or instant | |
| --status | string | only operations at one status: suggested, established, contested, withdrawn, dropped or reset | |
| --subjects | bool | false | only what was recorded, leaving out the decisions about it |
kapi context log --status suggested kapi context log --session 0ab4e399 --json kapi context log --actor agent --since 2026-09-01 kapi context log 0q7yfmxhj2← Back to the Command Reference