Store Messages
Pipe can store both prompts and their completions if the Store messages in Pipe meta is enabled. Otherwise, only system prompts and few-shot messages will be saved. No completions, final prompts or variables will be retained to ensure privacy.
How to enable/disable message storage?
Follow this quick guide to learn how to enable or disable storage of your messages in Langbase.
Step #1Toggle the store message option
Navigate to your Langbase pipe. In the Meta section find the Store messages option. Toggle the switch to enable or disable message storage.
![Store messages option in Pipe](https://raw.githubusercontent.com/LangbaseInc/docs-images/main/features/store-messages-1-light.jpg)
Here is what your logs will look like if the Pipe does not store messages.
![Logs without storing messages in Pipe](https://raw.githubusercontent.com/LangbaseInc/docs-images/main/features/not-store-messages-light.jpg)
Your logs will look like this if Pipe stores messages.
![Logs with storing messages in Pipe](https://raw.githubusercontent.com/LangbaseInc/docs-images/main/features/store-messages-light.jpg)