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"]
}
Path parameters
Response
Successful Response
Changes
Changed in 7 of the 21 revisions of this API.14
- ○
api tag
Policiesaddedapi-tag-added
- ○
api tag
policy_engineremovedapi-tag-removed
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ○
api tag
policy_engineaddedapi-tag-added
- ○
api tag
Policiesremovedapi-tag-removed
This revision also has 17 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ○
api tag
Policiesaddedapi-tag-added
- ○
api tag
policy_engineremovedapi-tag-removed
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ○
api tag
policy_engineaddedapi-tag-added
- ○
api tag
Policiesremovedapi-tag-removed
This revision also has 19 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ○
api tag
Policiesaddedapi-tag-added
- ○
api tag
policy_engineremovedapi-tag-removed
- ○
- ○
api tag
policy_engineaddedapi-tag-added
- ○
api tag
Policiesremovedapi-tag-removed
- ○
- ○
api tag
Policiesaddedapi-tag-added
- ○
api tag
policy_engineremovedapi-tag-removed
- ○