Skip to main content

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.

Commandcontext log
Groupcontext-assistant
Try 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
Flags
FlagTypeDefaultDescription
--actorstringonly one actor, by name or by kind
--limitint0keep the most recent N (0 keeps them all)
--project, -pstringpath to a kapi.yaml project recipe or its directory (auto-discovered from cwd if omitted)
--sessionstringonly what one agent session recorded, or "this" for the session this run records under
--sincestringonly what happened after a date (2006-01-02) or instant
--statusstringonly operations at one status: suggested, established, contested, withdrawn, dropped or reset
--subjectsboolfalseonly what was recorded, leaving out the decisions about it
More examples
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