Recipes

ShieldstralModeration

Changed on

Evaluate text or generation prompts against configurable natural-language Shieldstral policies. /// Generates one single-token yes/no ChatCompletion job per policy and returns normalized policy scores.

post/v2/consumer/recipes/shieldstralModeration

Request

  • The document declares no server URL.
  • Auth: none required

Query parameters

experimentalboolean
allowMatureContentboolean
whatifboolean
ephemeralboolean
tier'paid' | 'free'

How a workflow is paid for.

Request body

modestring required
policiesstring[] nullable

Optional policy filter. When omitted, every configured policy for the selected mode is evaluated.

Response

OK

blockedboolean required
triggeredPoliciesstring[] required

Changes