Get anonymizers
Returns the names of the built-in anonymization operators supported by Presidio Anonymizer.
/anonymizersGetAnonymizers queries the internal Presidio APIServicev1.0.0Presidio APIExternal HTTP sidecar API for detecting PII in text and anonymizing detected
entities in the Chat and Rating AI agent pi...SubscribesAnalyzeText, AnonymizeText +3APIsOpenAPIOwnerplatform-engineering-teamDiagramOpen docs Anonymizer sidecar (GET /anonymizers) to list its built-in anonymization operator names. This endpoint is an upstream capability discovery query; BookWorm’s runtime PII middleware calls only POST /anonymize with the replace operator.
Overview
| Property | Value |
|---|---|
| Bounded Context | Data Privacy (External Integration) |
| Owner Service | Presidio APIServicev1.0.0Presidio APIExternal HTTP sidecar API for detecting PII in text and anonymizing detected
entities in the Chat and Rating AI agent pi...SubscribesAnalyzeText, AnonymizeText +3APIsOpenAPIOwnerplatform-engineering-teamDiagramOpen docs (presidio-anonymizer) |
| Protocol / Format | HTTP GET /anonymizers, application/json response |
| Gateway Endpoint | Internal sidecar GET /anonymizers (not exposed via API Gateway) |
| Authentication & Authorization | None (internal service-to-service network boundary) |
| Idempotency / Concurrency | Read-only and naturally idempotent |
| Rate Limit / Caching | None (sidecar) |
| Contract Version | 1.0.0 |
Capability discovery only: BookWorm’s runtime privacy middleware does not call GET /anonymizers; it uses the built-in replace operator ("<PII>") via Anonymize textCommandv1.0.0Anonymize textReplaces or transforms detected PII in text using the supplied analysis results and configured anonymization operators.Ownerplatform-engineering-teamSchemaDiagramOpen docs.
Request & Response Contract
Request Parameters
Accepts no path parameters, query parameters, or request body.
Success Response (200 OK)
| Name | Type | Required | Constraints | Description |
|---|---|---|---|---|
| Root value | string[] | Yes | Array of operator identifiers | Names of built-in anonymization operators (e.g., hash, mask, redact, replace, encrypt) |
Behavior & Side Effects
- Read-only discovery: Returns supported operator names from the sidecar without mutating state.
Error Responses
| Status / Code | Condition | Client Recovery Action |
|---|---|---|
500 Internal Server Error | Sidecar unreachable or internal error | Verify the presidio-anonymizer sidecar health endpoint |
Related Documentation
- Presidio APIServicev1.0.0Presidio APIExternal HTTP sidecar API for detecting PII in text and anonymizing detected entities in the Chat and Rating AI agent pi...SubscribesAnalyzeText, AnonymizeText +3APIsOpenAPIOwnerplatform-engineering-teamDiagramOpen docs — Service overview and privacy middleware integration.
- Anonymize textCommandv1.0.0Anonymize textReplaces or transforms detected PII in text using the supplied analysis results and configured anonymization operators.Ownerplatform-engineering-teamSchemaDiagramOpen docs — Runtime
POST /anonymizecommand used by Chat APIServicev1.0.0Chat APIInternal HTTP host for BookWorm's interactive multi-agent chat workflow, agent discovery, and session persistence. Ownerai-capabilities-teamDiagramRepositoryOpen docs and Rating APIServicev1.0.0Rating APIInternal HTTP and A2A gRPC service for collecting, listing, deleting, and summarizing customer feedback for Catalog book...PublishesFeedbackCreatedIntegrationEvent, FeedbackDeletedIntegrationEventSubscribesCreateFeedback, DeleteFeedback +3APIsOpenAPI, AsyncAPIOwnercatalog-experience-teamDiagramRepositoryOpen docs. - Get recognizersQueryv1.0.0Get recognizersReturns the names of PII recognizers available for the requested language.Ownerplatform-engineering-teamSchemaDiagramOpen docs — List available PII recognizers in Presidio Analyzer.
- Get supported entitiesQueryv1.0.0Get supported entitiesReturns the PII entity types Presidio Analyzer can detect for the requested language.Ownerplatform-engineering-teamSchemaDiagramOpen docs — List detectable PII entity types in Presidio Analyzer.
Get anonymizers schema
This schema defines an array of objects. Each item in the array has the properties shown below.
Built-in anonymization operator names supported by Presidio Anonymizer.
This array contains items of type: string