Skip to main content
Bolt keeps every session, message, and tool call in a local SQLite database. It’s fully inspectable and fully yours β€” nothing is uploaded unless you explicitly share a session.

Common operations

Backing it up

Because it’s a single SQLite file, backup is a copy:
For long-term storage or transport, prefer bolt export / bolt import β€” they produce a portable JSON representation that survives schema migrations.

Schema at a glance

  • sessions β€” one row per session, with title, project, timestamps, and status.
  • messages β€” the full turn log per session.
  • tool_calls β€” every invocation with inputs, outputs, and duration.
Exact columns evolve; use PRAGMA table_info(<table>) to see the live schema.
  • Sessions β€” what the database stores.
  • Stats & Cost β€” aggregated views over the same data.