AmbientMeta Documentation
Use any AI without exposing sensitive data. Strip PII before the LLM, restore it after.Quickstart
Get your first API call working.
API Reference
Complete endpoint documentation.
Python SDK
Install and use the official SDK.
Integrations
LangChain, LlamaIndex, and more.
Feedback & Corrections
Submit corrections to improve detection.
Insights
Resolve conflicts and improve accuracy.
How It Works
AmbientMeta Privacy Gateway sits between your application and external LLMs:- Sanitize — Send text to our API. We detect and replace PII with placeholders like
[PERSON_1]. - Call your LLM — Send the sanitized text to Claude, GPT-4, or any model. The LLM never sees real PII.
- Rehydrate — Send the LLM’s response back to us. We restore the original entities.
Supported Entity Types
| Entity | Examples | Detection |
|---|---|---|
PERSON | John Smith, Dr. Jane Doe | NER + patterns |
EMAIL_ADDRESS | john@acme.com | Regex + validation |
PHONE_NUMBER | (555) 123-4567 | Multi-format regex |
SSN | 123-45-6789 | Regex + checksum |
CREDIT_CARD | 4532-1234-5678-9012 | Regex + Luhn |
LOCATION | NYC, San Francisco | NER |
ADDRESS | 123 Main St, Suite 200 | Regex + NER |
NPI | 1234567890 | Regex + Luhn (10-digit) |
DEA_NUMBER | AB1234567 | Regex + checksum |
MRN | MRN-12345678 | Context-aware regex |
Base URL
Authentication
Include your API key in theX-API-Key header:

