> ## Documentation Index
> Fetch the complete documentation index at: https://docs.e6data.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List governance policy sets

> Find the policy set for a catalog and see how many rules it contains.

`GET /api/v1/governances`

Find the policy set for a catalog and see how many rules it contains. Copy its `name` to read the full set.

## Access

Use this endpoint in a workspace that supports catalog governance through OAuth. Ask your admin to confirm availability for your workspace and use a client acting as itself. For scope-based access, request `query_engine.governances:list`. If your admin confirms that workspace permissions are active for management API calls, omit the management scope and ask for permission for this operation. [Get a workspace access token](https://docs.e6data.com/api-reference/workspace-oauth-2-0/post-oauth2-token.md).

## Request

No request body.

Set `WORKSPACE_URL` to your HTTPS workspace origin and `ACCESS_TOKEN` to its OAuth token.

```bash theme={"theme":{"light":"github-light","dark":"github-dark"}}
curl --proto '=https' --silent --show-error --fail-with-body --request GET \
  --header @- \
  "$WORKSPACE_URL/api/v1/governances" <<< "Authorization: Bearer $ACCESS_TOKEN"
```

## Response

HTTP `200`. Example with selected fields and sample values:

```json theme={"theme":{"light":"github-light","dark":"github-dark"}}
{
  "total": 1,
  "items": [
    {
      "name": "training",
      "catalogName": "training",
      "policyCount": 1
    }
  ]
}
```

For `401`, check the token and workspace URL. For `403`, check the client's scope or effective workspace permissions. [Troubleshoot an API request](https://docs.e6data.com/api-reference/list-clusters-with-oauth.md#troubleshoot-a-request).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.