Presidio API
External HTTP sidecar API for detecting PII in text and anonymizing detected entities in the Chat and Rating AI agent pipelines.
Integration Purpose & Boundary
Presidio provides external sidecar HTTP services (Analyzer and Anonymizer) for detecting and redacting personally identifiable information (PII) in text before and after AI model execution. BookWorm’s deterministic PII middleware invokes Presidio on behalf of 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 agents so foundation models cannot bypass privacy screening.
Although the attached upstream OpenAPI specification documents discovery endpoints (GetRecognizers, GetSupportedEntities, GetAnonymizers), BookWorm’s runtime integration invokes only 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 and Anonymize textCommandv1.0.0Anonymize textReplaces or transforms detected PII in text using the supplied analysis results and configured anonymization operators.Ownerplatform-engineering-teamSchemaDiagramOpen docs—targeting email addresses, phone numbers, and credit-card numbers. All screening executes fail-closed: any timeout or non-success response aborts the AI turn rather than sending unscreened text.
Integration Profile
| Property | Value |
|---|---|
| Provider / Sidecar | Microsoft Presidio (presidio-analyzer and presidio-anonymizer sidecar containers) |
| BookWorm Consumers | Chat APIServicev1.0.0Chat APIInternal HTTP host for BookWorm's interactive multi-agent chat workflow, agent discovery, and session persistence. Ownerai-capabilities-teamDiagramRepositoryOpen docs (Book AgentAgentv1.0.0Book AgentPrimary conversational book discovery and recommendation specialist that grounds catalog answers in read-only MCP lookup...PublishesAnalyzeText, AnonymizeTextOwnerai-capabilities-teamDiagramRepositoryOpen docs, Book Catalog ResearcherAgentv1.0.0Book Catalog ResearcherInternal delegated subagent that performs low-temperature factual catalog lookups for the Book Agent and never communica...PublishesAnalyzeText, AnonymizeTextOwnerai-capabilities-teamDiagramRepositoryOpen docs, Book Recommendation ResearcherAgentv1.0.0Book Recommendation ResearcherInternal delegated subagent that curates catalog-verified book shortlists matching customer preferences for the Book Age...PublishesAnalyzeText, AnonymizeTextOwnerai-capabilities-teamDiagramRepositoryOpen docs, QA AgentAgentv1.0.0QA AgentRead-only customer support and store-policy specialist that answers operational, shipping, returns, account, and billing...PublishesAnalyzeText, AnonymizeTextOwnerai-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 (Rating AgentAgentv1.0.0Rating AgentRead-only review intelligence specialist that summarizes customer feedback over A2A gRPC and map-reduce workflows while ...PublishesAnalyzeText, AnonymizeTextOwnercatalog-experience-teamDiagramRepositoryOpen docs) |
| Runtime Transport & Protocol | Internal HTTP/HTTPS via service discovery (not routed via public API Gateway) |
| Auth / Credential Boundary | Internal cluster network boundary; no public exposure or customer credentials forwarded |
| Data / PII Sensitivity | Critical — processes raw customer prompts, review text, and model responses; never log raw inputs, outputs, or detected PII spans |
| Failure / Fallback Behavior | Fail-closed — connection errors, timeouts, or non-success status codes propagate and fail the request immediately |
Visualizations & Specifications
Privacy Screening Context
Loading graph...
Service Interactions
Sends messages (0)
Quickly find the message you need by searching for the name, type, or summary.| Name | Version | Type | Summary | Channels |
|---|---|---|---|---|
| No messages found | ||||
Receives messages (5)
Quickly find the message you need by searching for the name, type, or summary.Related Documentation
- API and contracts indexCustom DocAPI and contracts indexConsolidated index of BookWorm HTTP v1, gRPC, AG-UI, MCP, A2A, and Kafka/Wolverine contracts grouped by service with aut...Ownerplatform-engineering-teamOpen doc — Consolidated service and contract index.
- Chat APIServicev1.0.0Chat APIInternal HTTP host for BookWorm's interactive multi-agent chat workflow, agent discovery, and session persistence. Ownerai-capabilities-teamDiagramRepositoryOpen docs — Conversational consumer of Presidio PII middleware.
- 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 — Review summarization consumer of Presidio PII middleware.
- 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 — Request and response contract for PII detection.
- 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 and response contract for PII redaction.
- Data PrivacySystemv1.0.0Data PrivacyExternal Presidio system that detects and anonymizes personally identifiable information in the Reviews feedback-summari...Ownerplatform-engineering-teamDiagramOpen docs — External Data Privacy system boundary.