---
title: "Get Resolved Guardrails"
method: GET
path: "/policies/{policy_id}/resolved-guardrails"
tags: ["Policies"]
---

# Get Resolved Guardrails

`GET /policies/{policy_id}/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:
```bash
curl -X GET "http://localhost:4000/policies/123e4567-e89b-12d3-a456-426614174000/resolved-guardrails" \
    -H "Authorization: Bearer <your_api_key>"
```

Example Response:
```json
{
    "policy_id": "123e4567-e89b-12d3-a456-426614174000",
    "policy_name": "healthcare-compliance",
    "resolved_guardrails": ["pii_masking", "prompt_injection", "toxicity_filter"]
}
```

## Path parameters

- `policy_id` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

## Changes

- **2026-09-21** `6246f8d427b7` — 2 info
  - api tag `Policies` added
  - api tag `policy_engine` removed
- **2026-09-19** `c357baf422ab` — 2 info
  - api tag `policy_engine` added
  - api tag `Policies` removed
- **2026-09-18** `082b5fabd909` — 4 info
  - api tag `Policies` added
  - api tag `policy_engine` removed
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status
- **2026-09-17** `e2f308355e2d` — 2 info
  - api tag `policy_engine` added
  - api tag `Policies` removed
- **2026-09-01** `89805a9f84ad` — 2 info
  - api tag `Policies` added
  - api tag `policy_engine` removed

[Full history](https://skmtc.dev/flock/apis/litellm-api/changes/policies/:policy_id/resolved-guardrails/get.md)

---

[API](https://skmtc.dev/flock/apis/litellm-api.md) · [All operations](https://skmtc.dev/flock/apis/litellm-api/llms.txt) · [OpenAPI document](https://skmtc.dev/flock/apis/litellm-api/revisions/7ed45f30a5f0?raw)
