Skip to main content
Open WebUI and LibreChat are examples inside the Apps & APIs path. Users keep the same chat UI while PasteGuard handles masking, forwarding, restoration, and dashboard logging in the background.

Open WebUI

Point Open WebUI to PasteGuard instead of OpenAI directly:
In Docker Compose, use the service name instead of localhost, such as http://pasteguard:3000/openai/v1.

OpenRouter Responses pipe

For an OpenWebUI pipe that calls OpenRouter through the Responses API, configure OpenRouter as PasteGuard’s OpenAI provider:
Then set these pipe valves in Open WebUI: Requests sent to POST /openai/v1/responses are inspected, restored, and shown in the dashboard.

LibreChat

Add PasteGuard as a custom endpoint in your LibreChat configuration:

Mask Mode vs Route Mode

Self-hosted setups can use either privacy mode depending on your requirements: Route Mode requires a local LLM provider configured in config.yaml. See Route Mode for setup details. Mask Mode works out of the box with any provider. See Mask Mode for how masking and unmasking works.

API Endpoints