Skip to main content
Standalone endpoint for masking PII and secrets in text. Use this endpoint when you need to mask text independently of LLM provider proxies.

Use Cases

  • Browser extensions that need to mask clipboard content before pasting
  • CLI tools that pre-process prompts
  • Custom integrations that handle their own LLM communication
  • Multi-turn conversations where you need to maintain placeholder numbering

Request

Browser extensions can identify themselves in dashboard logs by sending:

Parameters

Response

Detection Options

Control what gets detected using the detect parameter:

Multi-Turn Support

For conversations spanning multiple requests, use the counters from the response as startFrom in the next request to maintain consistent numbering: First request:
Response:
Second request (continue numbering):
Response:

Client-Side Unmasking

The context field provides a mapping for unmasking responses on the client side:

Error Responses

Validation Error (400)

Detection Error (503)

Returned when the PII detector or secrets detection is unavailable: