Guide
Perspective API is shutting down: what to use instead
If you call Perspective API today, you need a plan before the service ends. This page walks through what changed, what to look for in a replacement, and how to map a TOXICITY check to Sigilline's decide call.
What Jigsaw announced
On perspectiveapi.com, Jigsaw states that "Perspective API is sunsetting and service is officially ending after 2026." The service remains active until December 31, 2026. Usage requests and increased quota requests were addressed only until February 2026; after that no new requests are accepted. On extending access past the final date, the FAQ answers: "Can I extend my access past the final date? Unfortunately, no. The API will no longer be in service after 2026." Jigsaw adds: "We will not be offering direct migration support, but there are various tools available that were inspired by Perspective's capabilities." The stated reason: "AI capabilities have evolved, and there is now less demand for a standalone tool specific to this area."
Why fixed toxicity scores do not map one to one
Perspective returns a per-attribute probability—for example TOXICITY—and you choose the threshold in your code. Sigilline scores your customer-defined rules and returns a verdict (allow, flag, or block) with a reason when something matches. You still set thresholds per rule, but a cut-off tuned on Perspective's TOXICITY model does not carry over unchanged; you need to retune against your rules and your traffic.
The TOXICITY model card notes that Perspective "is not intended to be used for fully automated moderation", so plan for human review either way. A Perspective request scores one comment at a time. Sigilline can take up to five earlier turns of conversation history on the same call—a different shape, with the same need to validate on your own data.
What to look for in a replacement
Use this as a generic checklist—not a scorecard for any one vendor:
- Rule and category fit. Can you express what you actually enforce, or are you stuck with fixed attributes like TOXICITY?
- Decision vs score. Do you get a final action your pipeline can branch on, or only a number you still interpret?
- Conversation context. Does the API see prior turns when you need thread-aware moderation?
- Latency. Is the call on your hot path fast enough to hold or release a message in real time?
- Languages. Which locales are supported today, and what happens on unsupported text?
- Pricing predictability. Per-request metering, quotas, and what counts as a billable call.
- Failure behaviour. When the model is down, do you get an error you can fail closed on, or a silent allow?
Side by side: TOXICITY vs one rule
Perspective's sample endpoint is POST https://commentanalyzer.googleapis.com/v1alpha1/comments:analyze?key=YOUR_KEY (sample requests). Sigilline uses POST /v1/decide with a bearer API key—see the API reference.
Perspective's documented sample · comments:analyze · TOXICITY
{
"comment": {
"text": "what kind of idiot name is foo?"
},
"languages": [
"en"
],
"requestedAttributes": {
"TOXICITY": {}
}
}{
"attributeScores": {
"TOXICITY": {
"summaryScore": {
"value": 0.9208521,
"type": "PROBABILITY"
}
}
},
"languages": [
"en"
]
}Your code typically reads attributeScores.TOXICITY.summaryScore.value and compares it to a threshold you chose.
Sigilline · POST /v1/decide · toxicity rule (same message text)
{
"schema_version": "2026-10-18",
"task": "moderation",
"channel": "public",
"sender_role": "viewer",
"language": "en",
"message": "what kind of idiot name is foo?",
"rules": [
{
"key": "toxicity",
"name": "Toxicity",
"description": "Rude, insulting, or hostile language toward someone.",
"action": "block",
"threshold": 0.7,
"examples": [
"what kind of idiot name is that",
"you are an idiot"
],
"channels": [
"public",
"private"
]
}
]
}Illustrative response for a test key (dk_test_), which reports usage.decisions: 0 and omits quota_remaining. Scores and verdict depend on your rules, thresholds, and the model version—not on Perspective's TOXICITY output.
{
"id": "dec_01PERS",
"schema_version": "2026-10-18",
"task": "moderation",
"verdict": "block",
"confidence": 0.91,
"reason": {
"key": "toxicity",
"name": "Toxicity",
"description": "Rude, insulting, or hostile language toward someone."
},
"rules": [
{
"key": "toxicity",
"action": "block",
"score": 0.91,
"threshold": 0.7,
"matched": true
}
],
"skipped_rules": [],
"language": {
"code": "en",
"supported": true
},
"model": {
"id": "sigilline-moderation-2026-10",
"version": "2026-10-25"
},
"usage": {
"decisions": 0
}
}Branching in TypeScript
// Before: Perspective TOXICITY probability + your threshold
const toxicity = data.attributeScores.TOXICITY.summaryScore.value;
if (toxicity > 0.7) holdMessage(message);
// After: Sigilline verdict from your rule
const decision = await res.json();
if (decision.verdict === "block") holdMessage(message, decision.reason);
if (decision.verdict === "flag") queueForReview(message, decision.reason);Run both in parallel before you cut over
Keep Perspective on the live path while you call Sigilline in shadow mode (or the reverse). Log disagreements, adjust rule descriptions, examples, and thresholds, then switch the primary call. Plan for HTTP 503 responses: Sigilline returns model_unavailable or internal_error and never an allow verdict in those cases—decide in your code whether to hold the message or deliver it for human review. See errors and retries in the docs.
Honest limits in Sigilline v1
- English is the supported language in v1. Other languages still get a verdict, with confidence capped at 0.2.
confidenceis the winning rule's score; with no match, it is 1 minus the highest in-scope score, clamped to 0–1. It is not a calibrated probability.- Up to 16 rules per call and up to 2,000 characters per message.
Next steps
Sigilline includes 1,000 decisions a month free— get an API key and send the decide example above with a test key. Most of the work is swapping one HTTP call; the rest is defining rules that match what you used to infer from TOXICITY alone. Start from the quickstart in the docs.
Questions about migration or security review? Talk to us. Read the API reference for the full contract.