Analyzes audio with text using a saved policy.
The policy name
"Test Guardrails Policy"
Request body for policy-based audio detection. Detectors are defined by the policy; no inline detectors config is needed.
Multimodal audio detection results.
Per-detector integer flags (1 = detected, 0 = not detected).
{
"toxicity": 0,
"nsfw": 0,
"pii": 1,
"injection_attack": 0,
"policy_violation": 0
}Per-detector detail objects containing human-readable results and any extra fields (e.g. entities for PII, explanation for policy_violation).
{
"toxicity": { "toxicity": "Toxicity Not Detected" },
"nsfw": { "nsfw": "NSFW Not Detected" },
"pii": {
"entities": { "person": { "John Doe": "<person_0>" } }
},
"injection_attack": {
"injection_attack": "Injection Attack Not Detected"
},
"policy_violation": {
"policy_violation": "Policy Violation Not Detected"
}
}