Text moderation API
One endpoint returns `allowed`, `decision`, `risk_score`, category scores, matched rules, and a short reason.
{
"decision": "review",
"risk_score": 0.63,
"categories": {"sexual": 0.63}
}
Public beta · Content safety API
Classify user text, links, files, and Discord messages with structured decisions your backend can route.
API keys · Policies · Review queue · Discord guard
Toxly gives your backend a consistent first pass: classify the text, apply project policy thresholds, store a safe log, and return a decision your product can route.
Use it for chats, comments, profiles, prompts, support forms, listings, and Discord servers.
One endpoint returns `allowed`, `decision`, `risk_score`, category scores, matched rules, and a short reason.
{
"decision": "review",
"risk_score": 0.63,
"categories": {"sexual": 0.63}
}
Thresholds convert scores into product actions. Keep strict rules for production and softer rules for testing.
toxicity > 0.75 block self_harm > 0.65 escalate pii > 0.80 mask
Debug decisions without storing the full original text. Logs keep a hash, preview, score, decision, categories, and latency.
Your backend sends user-generated text to Toxly.
The response includes scores from 0.0 to 1.0 for each configured safety category.
Project rules decide whether the content should pass, wait for review, be masked, or be blocked.
Your product routes `allow`, `warn`, `review`, `block`, `mask`, or `escalate`.
The dashboard stays close to the API surface. It shows the parts developers need to operate moderation in production.
Requests today1,284
Block rate4.8%
Avg latency220 ms
The response keeps category scores visible so teams can tune policies without guessing.
The core text moderation API, project policies, logs, usage limits, members, support tickets, and Discord setup are available. Image moderation and deeper model routing are planned next.
Projects, members, API keys, policies, usage, support tickets, billing, and Discord setup are ready for early company testing.
Hashed API keys, CSRF protection, rate limits, request limits, Turnstile support, safe logs, and separate API/dashboard/docs hosts.
Quickstart, API reference, errors, policies, rate limits, Discord setup, legal pages, and production readiness notes.
Create a project, generate an API key, and follow the quickstart from your backend.