Outcomes and thresholds

How scores become Pass, FlaggedForReview, or Rejected, and how to tune them.

Models return a score between 0 and 1 for each category. Your workspace policy turns those scores into a single outcome.

How outcomes are decided

Each category can have two thresholds, both inclusive:

Score Category result
Below the review threshold Pass
At or above the review threshold, below the rejection threshold Flagged for review
At or above the rejection threshold Rejected

The most severe category decides the overall outcome: Rejected, then FlaggedForReview, then Pass. categories lists every category that didn't pass.

For example, with a harassment review threshold of 50% and a rejection threshold of 90%:

Harassment score Outcome
0.32 Pass
0.50 FlaggedForReview
0.94 Rejected

Scores are model estimates, not calibrated probabilities. Test with messages that are representative of your community before choosing thresholds.

Set thresholds in the playground

Open Portal → Playground to analyze sample messages and adjust thresholds per category:

  1. Paste a representative message and select Analyze content. The playground shows each category's score and the resulting outcome.
  2. Move the review and rejection sliders. The preview updates instantly using the last analysis.
  3. Select Save production settings. New API requests use the saved policy immediately.

Quick presets set review / rejection thresholds for every category:

Preset Review Reject
Strict 30% 70%
Balanced 50% 90%
Relaxed 80% 95%

Select Provider defaults and save to remove your overrides. Analyses in the playground cost credits like API requests.

Categories without custom thresholds

When a category has no threshold of yours, the model's own decision applies: a model flag means flagged for review, never automatic rejection. A missing score is not treated as zero. If a model flags a message without naming a category, the result conservatively requires review.

A rejection threshold must be at or above the review threshold. Setting both to the same value rejects immediately at that score.

When manual review is off

FlaggedForReview is only returned when manual review is enabled for your workspace. Manual review is off by default. While it's off, results that would need review are returned as Rejected, so your integration only has to handle two outcomes:

Manual review Possible outcomes
Off (default) Pass, Rejected
On Pass, FlaggedForReview, Rejected

Write your integration to handle all three values anyway, so turning on manual review later doesn't require a deployment.

The flagged field

flagged is true for both FlaggedForReview and Rejected. It predates outcome and is kept for backward compatibility. New integrations should branch on outcome.

Questions about this guide? Contact us or try requests in the playground.