# Retrieve the current credential's policies

`GET https://api.cademi.com.br/api/v3/credentials/current/policies`

Operation ID: `credentials.current_policies` · API v3

Returns the active policy revision of the credential used to authenticate the request. Use this operation to inspect what the calling credential is allowed to do; it cannot be used to read other credentials.

## Responses

### 200

Returns the active policy revision of the authenticated credential.

Body: `data`: CredentialPolicy.

Fields of CredentialPolicy:

| Field | Type | Required | Description |
|---|---|---|---|
| `catalog_version` | string | yes |  |
| `credential_id` | string | yes |  |
| `grants` | array of object | yes |  |
| `object` | string, one of `credential_policy` | yes |  |
| `published_at` | string or null (date-time) | yes |  |
| `version` | integer | yes |  |

### 401

The credential is missing, malformed, expired, or revoked.

Body: Error.

Full schema: https://cademi.dev/openapi/v3.json
