Gå til hovedinnhold

kapi context revert

kapi revert [id]

Undo an operation. Whatever it put in force stops answering, and a rule it got written into the project's terms, voice profile or content memory is taken back out.

With --session it undoes everything one agent run recorded, which puts the project's answers back where they were before that run started.

Nothing is erased. The undone operations stay in the log, marked reverted.

Commandcontext revert
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 revert 7
Flags
FlagTypeDefaultDescription
--note stringwhy
--project , -pstringpath to a kapi.yaml project recipe or its directory (auto-discovered from cwd if omitted)
--session stringundo everything one agent session recorded
More examples
kapi context revert --session 0ab4e399

← Back to the Command Reference