Legacy PII detection

Deprecated

DEPRECATED - Legacy endpoint for PII detection. Please migrate to /v2/guard endpoint.

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
inputstringOptional

Text to scan for PII

Response

PII detection results

modelstringOptional

Currently always ‘lakera-guard-1’

resultslist of objectsOptional

List of detection results

dev_infoobjectOptional

Build information