AimableDocs
DocsAPI Reference
POST/v1/pii/redact_image

Redact Image Endpoint

Authenticated proxy to PII server /api/redact_image with optional sidecar persistence. `space_id` enforces membership + `apply_pii_pseudonymization=True` and pulls the thread mapping if `thread_id` is set. `source_id` + `collection_id` persist the redacted PNG and mapping JSON next to the original file.

Headers

NameTypeRequiredDescription
X-API-KeystringOptional

Request

curl -X POST '/api-proxy/v1/pii/redact_image' \
  -H 'Authorization: Bearer <YOUR_TOKEN>'

Response

200

No response body documented

Error Responses