Skip to main content

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
EndpointDoes
POST /deidentify/text/proprietary/outputsDe-identify text. Returns two candidate outputs.
POST /analyze/text/proprietaryDetect sensitive terms without changing the text.
POST /deidentify/text/proprietary/outputs/csvDe-identify a CSV or Excel (.xlsx, .xls) file.
POST /deidentify/text/proprietary/outputs/docxDe-identify a Word document.
POST /deidentify/text/proprietary/outputs/pdfDe-identify a PDF.
POST /deidentify/text/proprietary/outputs/txtDe-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.