--- title: PrivBERT Proxy emoji: 🔒 colorFrom: blue colorTo: purple sdk: docker pinned: false --- # PrivBERT Proxy REST API proxy for the PrivacyWhisper PrivBERT model. ## Endpoint ### `POST /analyze` ```json { "text": "privacy policy text here", "threshold": 0.75 } ``` Returns: ```json { "success": true, "topics": ["Third Party Sharing/Collection", "Data Retention", ...], "granular_topics": ["Sensitive Data for Advertising", ...], "annotated_html": "
...
", "clause_count": 12 } ``` ### `GET /health` Returns `{ "status": "ok" }`.