policies

Get Policy Info

Get detailed information about a specific policy.

Returns:

  • Policy configuration
  • Resolved guardrails (after inheritance)
  • Inheritance chain
get/policy/info/{policy_name}

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/info/{policy_name}
  • Auth: API key in header x-litellm-api-key

Path parameters

policy_namestring required

Response

Successful Response

inheritstring nullable
inheritance_chainstring[] required
policy_namestring required
resolved_guardrailsstring[] required

Changes

No recorded changes to this operation across all 1 revision of this API.