[Guide][5 steps] Exporting chats & prompts from Cursor

  1. Go to workspaceStorage. (On Windows, cd %APPDATA%\Cursor\User\workspaceStorage)
  2. You will see a list of folders whose names are md5 hashes. Open each of them.
  3. datasette state.vscdb
  4. Visit “http://localhost:8001/state?” in a browser and enter this query:

SELECT
rowid,
[key],
value
FROM
ItemTable
WHERE
[key] IN (‘aiService.prompts’, ‘workbench.panel.aichat.view.aichat.chatdata’)

  1. Parse the json based on your use case.
5 Likes

Thank you so much for this workaround! Hopefully the Cursor team can make this into a “button” in the near future.

1 Like

And on Mac? i cant find it

Edit: Found it!

/Users/YOUR_USERNAME/Library/Application Support/Cursor/User/workspaceStorage

1 Like