Supported File Types
This page lists file types currently supported by Guardian Layer file de-identification.
File Type Reference
| File type | Supported | Endpoint family | Notes |
|---|---|---|---|
.csv | Yes | CSV / tabular | Returns a processed CSV file. |
.xlsx | Yes | CSV / tabular | Spreadsheet content is processed and returned as a spreadsheet file. |
.xls | Yes | CSV / tabular | Legacy spreadsheet support. |
.docx | Yes | DOCX | Word document text is processed. |
.doc | No for API endpoint | Convert to .docx | Convert legacy Word files before upload. |
.pdf | Yes | Works best with PDFs that contain extractable text. | |
.txt | Yes | TXT | Plain text file support. |
| Image files | Coming soon | Image | Image de-identification is not currently documented as generally available. |
Endpoint Mapping
| File type | Endpoint |
|---|---|
.csv, .xlsx, .xls | /api/v1/deidentify/text/proprietary/outputs/csv |
.docx | /api/v1/deidentify/text/proprietary/outputs/docx |
.pdf | /api/v1/deidentify/text/proprietary/outputs/pdf |
.txt | /api/v1/deidentify/text/proprietary/outputs/txt |
Common Notes
- File requests use
multipart/form-data. - The file field should be named
file. - The API key is sent with the
X-API-Keyheader. - Output files are usually returned with a
deid_filename prefix. - Scanned image-only PDFs may not produce useful results unless text can be extracted.