Guardian Layer API
The HTTP API behind Guardian Layer. Use it from any language. The Python and TypeScript SDKs wrap the same endpoints.
https://privacy.custodianlabs.io/api/v1
| Endpoint | Does |
|---|---|
POST /deidentify/text/proprietary/outputs | De-identify text. Returns two candidate outputs. |
POST /analyze/text/proprietary | Detect sensitive terms without changing the text. |
POST /deidentify/text/proprietary/outputs/csv | De-identify a CSV or Excel (.xlsx, .xls) file. |
POST /deidentify/text/proprietary/outputs/docx | De-identify a Word document. |
POST /deidentify/text/proprietary/outputs/pdf | De-identify a PDF. |
POST /deidentify/text/proprietary/outputs/txt | De-identify a text file. |
Every request needs an X-API-Key header. See Authentication.
Usage counts toward your plan by the number of tokens in the input.