Profanity filtering users can't bypass.
Coral joins its Custom endpoint with the operation name, so the endpoint ends in /v1alpha1. Two fields change.
Tested with Coral 9.11.8 itself, run on October 13, 2026. How
Toxic comment filter: OnRemove: API key: YOUR_GOOGLE_KEYAdd: API key: up_test_YOUR_KEYRemove: Custom endpoint: (empty)Add: Custom endpoint: https://api.unprofane.com/v1alpha1Toxicity model: TOXICITY (or empty)2 lines change. Set Coral’s Custom endpoint to https://api.unprofane.com/v1alpha1 and its API key to an Unprofane key. Coral adds comments:analyze and comments:suggestscore itself.
Tested with Coral 9.11.8 itself, run on October 13, 2026.
Sign in and make two keys on the keys page of the dashboard: a test key (up_test_…) for staging and a live key (up_live_…) for production. A test key is free and answers 100 checks a month across the account; a live key needs a plan. Keep your Google key: it is your way back until Google’s service ends on December 31, 2026.
Turn the filter on, set the API key to your test key and the Custom endpoint to the Unprofane host with /v1alpha1 and nothing after it. Coral adds the operation: it calls https://api.unprofane.com/v1alpha1/comments:analyze for each comment, and https://api.unprofane.com/v1alpha1/comments:suggestscore when “Allow Coral to send moderation actions” is on. With the bare host it would call /comments:analyze, which answers 404.
Toxic comment filter: On
API key: up_test_YOUR_KEY
Custom endpoint: https://api.unprofane.com/v1alpha1
Toxicity model: TOXICITY (or empty)Coral waits 800 ms by default for the whole call (PERSPECTIVE_TIMEOUT), then publishes the comment unscored. Unprofane reads most comments with the model as well as the rules and gives the model up to 800 ms before answering with the rules alone, so with Coral’s default the slowest checks time out on Coral’s side. Set the variable in Coral’s environment and restart it.
PERSPECTIVE_TIMEOUT=2000Run these from the machine Coral runs on. The first answers attributeScores.TOXICITY, the second {}. Do this before posting: Coral fails open. When a request errors or takes longer than its timeout, it logs “could not determine comment toxicity” and publishes the comment unscored, so a wrong endpoint or key looks like a quiet week.
curl -s -X POST "https://api.unprofane.com/v1alpha1/comments:analyze?key=up_test_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"comment":{"text":"you are a clown"},"requestedAttributes":{"TOXICITY":{}},"languages":["en"],"doNotStore":true}'
curl -s -X POST "https://api.unprofane.com/v1alpha1/comments:suggestscore?key=up_test_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"comment":{"text":"you are a clown"},"attributeScores":{"TOXICITY":{"summaryScore":{"value":1}}},"languages":["en"]}'Coral’s Toxicity threshold is a percentage (80 by default); a comment scoring above it is withheld for a moderator. Do not carry the old number over: the scores come from a different engine, so 0.8 there is not 0.8 here. The replay tool takes a CSV of recent texts with the scores Perspective gave them and shows, for each old threshold, the threshold here that flags the same share, and how often the two flags agree. A queue of the same size is not proof of the same accuracy: two thresholds can flag the same number of comments and disagree on which ones, and agreement with Perspective repeats its mistakes. Before production, run a sample your moderators have already decided (approved and removed) through staging, and for each candidate threshold count the removed items it catches and the approved items it flags. Read the disagreements, then choose.
Set the same two fields with your live key. For the first days, watch Coral’s logs for “could not determine comment toxicity” and the Pending queue for comments withheld as toxic.
API key: up_live_YOUR_KEY
Custom endpoint: https://api.unprofane.com/v1alpha1Clear Custom endpoint, so Coral uses https://commentanalyzer.googleapis.com/v1alpha1 again, and put your Google key back. This works until Google’s service ends on December 31, 2026; after that, rolling back means turning the Toxic comment filter off.
API key: YOUR_GOOGLE_KEY
Custom endpoint: (empty)Tested with Coral 9.11.8 itself (the release built from commit f1b5fcd), run in Docker against a local Unprofane API on October 13, 2026. Configured through Coral’s own API with this Custom endpoint, it withheld an insult and published a thanks in each of the five languages it sends, read each model it may be set to, sent a moderator’s approval to suggestscore, and published an insult unscored with the bare host and with an unscored model. The same run passed against the real model on October 13, 2026, and the rollback below against Google’s own API on October 13, 2026. The snippet checks rebuild Coral’s requests from its source on every run.