Get recognizers
Returns the names of PII recognizers available for the requested language.
/recognizersGetRecognizers 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 Analyzer sidecar (GET /recognizers) to list the PII recognizers available for a language. This endpoint is an upstream capability discovery query; BookWorm’s runtime PII middleware calls only POST /analyze (defaulting to language: "en").
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-analyzer) |
| Protocol / Format | HTTP GET /recognizers, application/json response |
| Gateway Endpoint | Internal sidecar GET /recognizers (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 /recognizers; it calls Analyze textCommandv1.0.0Analyze textDetects PII entities in one text string or a batch, returning entity types, text offsets, confidence scores, and optiona...Ownerplatform-engineering-teamSchemaDiagramOpen docs with language: "en".
Request & Response Contract
Query Parameters
| Name | Type | Required | Constraints | Description |
|---|---|---|---|---|
language | string | No | Two-character ISO 639-1 code (e.g., en) | Filters returned recognizers to those loaded for the specified language |
Success Response (200 OK)
| Name | Type | Required | Constraints | Description |
|---|---|---|---|---|
| Root value | string[] | Yes | Array of recognizer names | Names of PII recognizers loaded for the requested language |
Behavior & Side Effects
- Read-only discovery: Returns loaded recognizer names from the sidecar without mutating state.
Error Responses
| Status / Code | Condition | Client Recovery Action |
|---|---|---|
500 Internal Server Error | Unsupported language ("No matching recognizers were found to serve the request.") or sidecar error | Supply a supported ISO 639-1 language code (e.g., en) |
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.
- Analyze textCommandv1.0.0Analyze textDetects PII entities in one text string or a batch, returning entity types, text offsets, confidence scores, and optiona...Ownerplatform-engineering-teamSchemaDiagramOpen docs — Runtime
POST /analyzecommand 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 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 anonymizersQueryv1.0.0Get anonymizersReturns the names of the built-in anonymization operators supported by Presidio Anonymizer.Ownerplatform-engineering-teamSchemaDiagramOpen docs — List built-in anonymization operators in Presidio Anonymizer.
Get recognizers schema
This schema defines an array of objects. Each item in the array has the properties shown below.
Recognizer names available for the requested language.
This array contains items of type: string