Skip to main content
Generate Chat Completions and Responses with automatic PII and secrets protection.
These endpoints receive PII detection and masking. Other OpenAI endpoints (/models, /embeddings, /files, etc.) are proxied directly without modification.

Chat Completions request

Parameters

All OpenAI Chat Completions API parameters are supported.

Response

Streaming

Set stream: true for Server-Sent Events:

Responses

Use the same base URL with the Responses API:
PasteGuard inspects Responses requests, restores supported JSON and streaming responses, and records masking events in the dashboard.

Response Headers

PasteGuard adds headers to indicate PII and secrets handling: