Policies
Get Resolved Guardrails
Get the resolved guardrails for a policy (including inherited guardrails).
This endpoint resolves the full inheritance chain and returns the final set of guardrails that would be applied for this policy.
Example Request:
curl -X GET "http://localhost:4000/policies/123e4567-e89b-12d3-a456-426614174000/resolved-guardrails" \
-H "Authorization: Bearer <your_api_key>"
Example Response:
{
"policy_id": "123e4567-e89b-12d3-a456-426614174000",
"policy_name": "healthcare-compliance",
"resolved_guardrails": ["pii_masking", "prompt_injection", "toxicity_filter"]
}
get/policies/{policy_id}/resolved-guardrails
Request
- Base URL: https://apiclaw.biz (the document declares no server; this is the origin it was published from)
- URL: https://apiclaw.biz/policies/{policy_id}/resolved-guardrails
- Auth: API key in header x-litellm-api-key
Path parameters
policy_idstring required
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 1 revision of this API.