latestOpenAPI 3.1.02026-08-236994571.1 MB

79928a3d37d3

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

Path parameters

policy_idstring required

Response

Successful Response

{"stackTrail":"paths:/policies/{policy_id}/resolved-guardrails:get:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}