---
title: "Verify ledger"
url: https://hexelstudio.com/docs/api/titan/administration/verify
---

# Verify ledger

**GET** `/titan/admin/ledger/verify`

## 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`)

- `broken_at_seq: integer`

- `broken_root_seq: integer`

- `broken_root_session_id: string`

- `count: integer`

- `head_digest: string`

- `head_seq: integer`

- `ok: boolean`

- `pruned_through_digest: string`

- `pruned_through_seq: integer`

- `session_chains: integer`

- `session_entries: integer`

- `unanchored_entries: integer`

## Errors

- `403` Admin error
- `500` Admin error

## Example

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

### Response (200)

```json
{
  "broken_at_seq": 0,
  "broken_root_seq": 0,
  "broken_root_session_id": "string",
  "count": 0,
  "head_digest": "string",
  "head_seq": 0,
  "ok": true,
  "pruned_through_digest": "string",
  "pruned_through_seq": 0,
  "session_chains": 0,
  "session_entries": 0,
  "unanchored_entries": 0
}
```

### Response (403)

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

### Response (500)

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