policy management
Test Policy Template
Test a policy template's guardrails against a text input without creating them.
Instantiates temporary guardrails from the template definitions, runs them against the provided text, and returns per-guardrail results so users can verify the template solves their problem before creating it.
post/policy/templates/test
Request
- Base URLhttps://api.koboillm.com (the document declares no server; this is the origin it was published from)
- URLhttps://api.koboillm.com/policy/templates/test
- Auth
- API key in header x-litellm-api-key
- or API key in header x-litellm-api-key
- or API key in header x-litellm-api-key
- or API key in header x-litellm-api-key
- or API key in header x-litellm-api-key
- or API key in header x-litellm-api-key
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 17 revisions of this API.