How can I "clear" the transcript history of a specific sessionID?
After developing a flow for quite some time, my user transcript has gotten quite long which causes long delays to load the debug. I tried deleting the transcript but after sending another message it shows up again with everything there was before as well.
1 Reply
To really wipe the conversation for one session you have to delete the state that Voiceflow keeps on the server – otherwise the runtime will simply reload that state and the full transcript will come back.
1. Identify the Session ID you’re using in the Debugger (it’s the value in the “Session / User ID” field).
2. Call the DM API’s Delete State endpoint:
• This removes all stored state (stack + variables + transcript) for that user ID.
• The next time you send a message with that same ID the transcript starts empty and the debug panel will load instantly.
Quick alternatives inside the Creator
• Change the Session/User ID in the debugger to any new value ➜ spawns a completely fresh state.
• If your local transcript view is cluttered you can also hit the “Reset session / trash-can” icon in the test chat, but the API call above is the definitive way to clear it server-side.
Docs: https://docs.voiceflow.com (DM API → Delete State)