Skip to content

Configuration

Find the Presidio files, request fields, input limits, and connection settings.

Where things live

Path What it is
sushi-presidio-api.service API service.
Port 8443 HTTPS API.
~/.config/sushi/presidio/access.json Account file for ubuntu, mode 0600.
server.crt beside that file TLS certificate for this instance.
sushi-presidio-api Helper. It reads the account file and checks TLS without printing credentials.
/var/lib/presidio Application state.
/etc/presidio Server configuration and the TLS identity.
/home/ubuntu/.config/sushi/presidio Client account files.
/opt/presidio and /usr/share/doc/presidio Installed package and notices.

Request fields

The example in Getting started sends language, text, and entities. Supported languages in that page are en and es. Omitting entities analyzes all supported types and can return overlapping spans. The entities list, when present, must contain 1 to 32 distinct recognizer names for that language. An invalid selection returns HTTP 400.

Limits

Text only, 1 to 32,000 characters, one operation at a time. The image uses small spaCy models and a score threshold of 0.6. There is no PDF or OCR pipeline, database connector, or reversible encryption. Detection can miss entities or mark text that is not an entity. Review the output.

Listen address

Forward port 8443 with Session Manager. Do not disable certificate verification. Do not delete /etc/presidio as a reset. The certificate expires after 365 days.

Last updated November 1, 2026 · Suggest an improvement