policy_engine
Get Resolved Guardrails
Changed onGet 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://api.sea-lion.ai (the document declares no server; this is the origin it was published from)
- URL: https://api.sea-lion.ai/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
- info
api tag
policy_engineadded - info
api tag
Policiesremoved - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- info