Skip to main content
NSFW (not safe for work) policies cover content that’s inappropriate for general audiences — explicit material, graphic violence, profanity, and content related to self-harm.

Policies

idTypeSupportedWhat it does
sexualclassifiertext, image, video, audioSexually explicit or suggestive content.
flirtationclassifiertext, audioCompliments on looks, subtle innuendo, pickup lines, flirtatious behavior. Lighter than sexual.
profanityclassifiertext, audioSwearing, vulgar language, offensive words.
violenceclassifiertext, image, video, audioViolent content, threats, or graphic violence.
self_harmclassifiertext, image, video, audioSelf-harm, suicide, and eating-disorder content.

Reading the result

const sexual = response.policies.find(p => p.id === "sexual");
if (sexual?.flagged) {
  // Send to review queue or reject outright depending on threshold.
}
self_harm content often warrants a different response than other NSFW flags — for example, surfacing a support resource link rather than just rejecting the post. Use the recommendation.action plus the policy id to branch.
See Understanding API responses for the full response shape.