AI & LLM
Content Moderation Response JSON Example
A JSON example of a content moderation API response — flagged status, per-category booleans, and confidence scores. Copy-ready for OpenAI moderation and trust & safety pipelines.
Field Reference
results[].flaggedrequiredbooleanTrue if any category exceeded its threshold — the headline decisionresults[].categoriesrequiredobjectPer-category boolean flags indicating which policies were violatedresults[].category_scoresrequiredobjectPer-category confidence scores (0–1); higher means more likely a violationmodelrequiredstringModeration model used to score the contentVariants
Flagged contentA response where the input violated a policy.
Common Use Cases
- →Screening user-generated content before it's published or sent to an LLM
- →Building trust & safety pipelines with auditable decisions
- →Setting custom thresholds per category for your risk tolerance
moderationcontent moderationtrust and safetyopenaisafetyai
Validate or format this JSON
One click loads this exact example into the tool — no copy-paste needed. Format it, validate it, explore the tree, or generate TypeScript types instantly.
Frequently Asked Questions
Related JSON Examples
AI & LLMOpenAI Chat Completion ResponseOpenAI Chat Completions API response with choices, message, finish_reason, and usage.AI & LLMLLM Structured Output (JSON Schema)Structured output request with a JSON Schema and the model's schema-valid response.SocialSocial Media PostSocial post with author info, text content, media, engagement counters, and hashtags.