AimableDocs
DocsAPI ReferenceRelease Notes
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
Authentication
X-API-Key: ak.<key_id>.<secret>Authentication & errors →

Request

curl -X POST '/api/v1/pii/redact_image' \
  -H 'X-API-Key: ak.<key_id>.<secret>'

Response

200

No response body documented

Error Responses