---
title: "Get policy status"
url: https://hexelstudio.com/docs/api/titan/administration/policy-status
---

# Get policy status

**GET** `/titan/admin/policy-status`

## Headers

- `Authorization: string`

  `Bearer <token>`. A Hexel Studio access token for a member or a service user of your organization (or send a service user's API key as X-API-Key).

- `Titan-Enforcement-Deployment: optional string`

  The enforcement deployment this call acts on (its td-... id). Required on the shared plane, where one Gateway serves many tenants and there is no default: a missing, unknown, repeated or other organization's deployment answers 403, like a failed authorization. Optional on a dedicated cell, which defaults to its one deployment.

## Returns

`200` Successful response; exact status varies by operation. (`object`)

- `capability: object`

  - `digest: string`

  - `expires_at: string`

  - `generation: integer`

  - `ready: boolean`

  - `revision_count: integer`

- `enforcement_deployment_id: string`

- `organization_id: string`

- `policy: object`

  - `digest: string`

  - `expires_at: string`

  - `generation: integer`

  - `ready: boolean`

## Errors

- `400` Admin error
- `403` Admin error

## Example

```bash
curl --request GET \
  --url 'https://api.hexelstudio.com/v1/titan/admin/policy-status' \
  --header "Authorization: Bearer $ACCESS_TOKEN"
```

### Response (200)

```json
{
  "capability": {
    "digest": "string",
    "expires_at": "2026-01-01T00:00:00Z",
    "generation": 0,
    "ready": true,
    "revision_count": 0
  },
  "enforcement_deployment_id": "string",
  "organization_id": "string",
  "policy": {
    "digest": "string",
    "expires_at": "2026-01-01T00:00:00Z",
    "generation": 0,
    "ready": true
  }
}
```

### Response (400)

```json
{
  "error": {
    "code": "string",
    "message": "string"
  }
}
```

### Response (403)

```json
{
  "error": {
    "code": "string",
    "message": "string"
  }
}
```
