Skip to content
KurrentDB

Delete a session

Deleting a session removes its data from the server, including its subagents. It cannot be undone. The session’s owner can delete it, and so can a workspace admin

Open the session and choose Delete session, the bin icon in its header. A confirmation names the session; Yes, delete removes the transcript and its sharing settings. The icon shows only to the session’s owner and to admins

The confirmation kcap asks for before it deletes a stored sessionThe confirmation kcap asks for before it deletes a stored session
Delete session asks before it removes anything

The web app removes the server copy and leaves your machine alone. To delete a session that is still running, ask your agent or use the terminal, which also stop storing it

An admin who only wants an abandoned session marked ended, not deleted, uses Close stale session in the same header; it shows on a session that has gone quiet without ending

Stop storing this session and delete it

The disable skill stops storing and deletes

Terminal window
kcap disable # the session this terminal is in
kcap disable <sessionId> # by UUID

The command stops the local watcher, silences future capture for that session, and asks the server to delete it. No confirmation is asked. Read the result: if the server could not be reached, local storing is off but the server copy remains; retry when you are connected

  • The agent’s own transcript file on your machine. kcap never writes to it and never deletes it
  • Other segments of a continuation chain, unless you delete them too
  • Anything already derived and anonymous, such as counts in Insights, is recomputed as the projections catch up

kcap disable <id> works on imported sessions too. To keep history off the server in the first place, scope the import with --repo or --cwd, or exclude the folders before importing. --private does not keep anything off the server: it uploads the sessions readable by you alone

Your own data as a member: delete sessions one at a time, from the web app, your agent or the terminal. An admin can delete any member’s session the same way from the web app. An organisation’s data: see Data security and privacy

A local edition: in the desktop app, Uninstall kcap… in the app menu removes kcap and, with it, the local server and every session stored on it; its confirmation says so first. From a terminal, where you choose:

Terminal window
kcap local uninstall --purge # the server, its data and its logs
kcap uninstall --purge-local # kcap itself, and the local edition's data with it