# Get a Policy Set

One version with its rules, in the order they are evaluated.

## Overview

- The set as [List Policy Sets](https://docs.aureahub.com/docs/policy-sets-list.md) shows it, plus `rules` — each with every field, `null` where it matches anything — as [Create a Draft](https://docs.aureahub.com/docs/policy-set-create.md) answers it.
- `404` `POLICY_SET_NOT_FOUND` (`Policy set not found`), also for another tenant's set.

## Endpoint

### `GET /v1/policy-sets/{setId}`

Authentication: bearer token required.

A policy set with its rules in order.

**Path parameters**

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `setId` | string | yes | The set's id |

**Responses**

`404` Not found

```json
{
  "statusCode": 404,
  "error": "NotFoundError",
  "message": "Policy set not found",
  "details": { "code": "POLICY_SET_NOT_FOUND" }
}
```

---

Web version: https://docs.aureahub.com/#policy-set-get
