Skip to main content

kapi store rebuild

kapi rebuild

Empty this project's terms, content memory and voice profiles, and the rules it applied to the whole workspace, and write them again from the history of every change.

Every change to a project's context is recorded in that history with what it wrote, so the store holds nothing the history does not. Rebuilding gives the same store the changes left behind. Use it when the store is damaged, or after changes from another machine were merged in.

With --checkpoint it keeps a copy of the store as it stands afterwards, so the next rebuild starts there and replays only the changes after it.

Commandstore rebuild
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 store rebuild
Flags
FlagTypeDefaultDescription
--checkpointboolfalsekeep a checkpoint of the rebuilt store for the next rebuild to start from
--project, -pstringpath to a kapi.yaml project recipe or its directory (auto-discovered from cwd if omitted)
More examples
kapi store rebuild --checkpoint

← Back to the Command Reference