policies
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 URL: https://docs.litellm.com.cn (the document declares no server; this is the origin it was published from)
- URL: https://docs.litellm.com.cn/policy/templates/test
- Auth: API key in header x-litellm-api-key
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.