For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
PlaygroundChangelogSign In
OverviewAPI ReferencePre-recorded STTStreaming STTVoice AgentsSpeech UnderstandingGuardrailsLLM GatewayFAQ
OverviewAPI ReferencePre-recorded STTStreaming STTVoice AgentsSpeech UnderstandingGuardrailsLLM GatewayFAQ
  • Overview
      • How do Content Moderation severity scores work?
      • How can I summarize my audio file?
      • Is Mistral still supported?
      • Is pricing for Speech Understanding per feature or all inclusive?
LogoLogo
PlaygroundChangelogSign In
On this page
  • Severity Score Structure
  • Case Study: Contextual Analysis of Alcohol References:
  • Conclusion
OverviewSpeech understanding

How do Content Moderation severity scores work?

Was this page helpful?
Previous

How can I summarize my audio file?

Next
Built with

AssemblyAI’s content moderation API implements a context-aware severity scoring system that helps developers build more intelligent content filtering solutions. This guide examines how the severity parameter works through practical examples.

Severity Score Structure

The API returns severity scores across three levels for each detected label:

"severity_score_summary": {
"label_name": {
"low": float, // 0-1
"medium": float, // 0-1
"high": float // 0-1
}
}

Please refer to our API Reference for Content Moderation for the full response.

The scores represent probability distributions across severity levels, always summing to 1.0.

Case Study: Contextual Analysis of Alcohol References:

To demonstrate how the system evaluates context, let’s analyze three different transcripts discussing alcohol:

Educational Context

Source: What Are Alcohols? | Organic Chemistry (full transcript + audio)

"severity_score_summary": {
"alcohol": {
"low": 1.0,
"medium": 0,
"high": 0
}
}

The system identifies the educational context, assigning maximum low severity despite explicit alcohol-related terminology.

Social Context

Source: How I Learned To Go To A Bar Alone And Meet Women (full transcript + audio)

"severity_score_summary": {
"alcohol": {
"low": 0.55243415,
"medium": 0.44756585,
"high": 0
}
}

References to bars and casual drinking split the probability between low and medium severity levels.

Substance Abuse Context

Source: Steve-O: I’m grateful my alcoholism was severe (full transcript + audio)

"severity_score_summary": {
"alcohol": {
"medium": 0.22141029,
"high": 0.7785897,
"low": 0
}
}

Discussion of addiction and abuse triggers high severity scores, reflecting potentially sensitive content.

Conclusion

The severity scoring system provides a sophisticated way to understand not just what topics are mentioned, but how they’re discussed. Each severity level (low, medium, high) represents a probability score between 0 and 1, allowing developers to implement precise content filtering based on their specific needs. For example, developers can set custom thresholds for content classification (e.g., flagging content with high severity > 0.7) or create tiered content ratings based on severity distributions. This granular approach to content moderation enables more accurate and context-aware content filtering systems.