Illicit policies cover content that’s either outright illegal or falls into categories that are regulated, age-restricted, or commonly disallowed by platform terms. Most also support image, video, and audio so you can moderate uploads as well as text.
Policies
id | Type | Supported | What it does |
|---|
illicit | classifier | text, audio | General detector for illicit or illegal content and activities. |
illicit_drugs | classifier | text, image, video, audio | Illegal drugs, narcotics, controlled substances. |
illicit_alcohol | classifier | text, image, video, audio | Illegal alcohol sales or underage drinking. |
illicit_firearms | classifier | text, image, video, audio | Illegal firearms, weapons, weapon sales. |
illicit_tobacco | classifier | text, image, video, audio | Illegal tobacco sales or underage tobacco/vape use. |
illicit_gambling | classifier | text, image, video, audio | Illegal gambling activities. |
cannabis | classifier | text, audio | Cannabis and marijuana content — split out so you can allow or deny independently of other drugs. |
adult | classifier | text, audio | Adult products, escort solicitation, pornography, adult websites. |
crypto | classifier | text, audio | Cryptocurrency, NFT, and blockchain promotions — useful for filtering shilling and scam-adjacent content. |
Reading the result
const cannabis = response.policies.find(p => p.id === "cannabis");
if (cannabis?.flagged) {
// Block in regions where it's illegal; allow elsewhere.
}
These categories are independent. Enable only the ones that match your jurisdiction and product. For example, a cannabis-focused community would disable cannabis but keep illicit_drugs enabled.
See Understanding API responses for the full response shape.