policy management
Test Policy Matching
Test which policies would match a given request context.
This is useful for debugging and understanding policy behavior.
Request body:
{
"team_alias": "healthcare-team",
"key_alias": "my-api-key",
"model": "gpt-4"
}
Returns:
- matching_policies: List of policy names that match
- resolved_guardrails: Final list of guardrails that would be applied
post/policy/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/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.