policies
Test Policies And Guardrails
Apply policies and/or guardrails to inputs (for compliance UI testing).
Use inputs_list for batch testing: each input is processed as a separate call so per-input block/allow and errors are returned.
Use inputs for a single call (legacy).
post/utils/test_policies_and_guardrails
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/utils/test_policies_and_guardrails
- Auth: API key in header x-litellm-api-key
Request body
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 1 revision of this API.