policy management
Test Policy Template
Changed onTest 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.flock.io (the document declares no server; this is the origin it was published from)
- URLhttps://api.flock.io/policy/templates/test
- AuthAPI key in header x-litellm-api-key
Request body
Response
Successful Response
Changes
- info
api tag
policy managementadded - info
api tag
policiesremoved
- info
- info
api tag
policiesadded - info
api tag
policy managementremoved
- info