# Get a log checkpoint

> GET /v1/log/checkpoint retrieves the latest signed Merkle checkpoint of the public log, or an earlier one by tree size: parameters, tested examples and errors.

Source: https://esigncomply.com/docs/api/verification/get-a-log-checkpoint

Last updated November 26, 2026

In the Esign Comply API, `GET /v1/log/checkpoint` retrieves the latest signed Merkle checkpoint of the public log, or an earlier one by tree size. Anyone calls it without a key to get the signed root that an inclusion or consistency proof is checked against.

`GET /v1/log/checkpoint` · API version `2026-11-21`

## Authentication

No credential. Anyone can make this call.

## Request example

### cURL

```bash
curl "https://esigncomply.com/v1/log/checkpoint?environment=test"
```

This request ran against the API on November 26, 2026, and the response below is what came back. IDs are example values, and long values are shortened with `...`.

## What it does

Public, cacheable for 30 seconds, readable cross-origin.

Every ledger entry (record, annotation, supplement, certificate) becomes a leaf in a per-region Merkle tree. About once a minute Esign Comply signs a checkpoint over the tree. Each checkpoint names the previous root, so entries cannot be removed, reordered or back-dated without detection. A checkpoint contains hashes only: no personal data and no record-level entries.

## Parameters

### Query parameters

| Parameter | Description |
|---|---|
| `environment` | `test` reads the test log. Anything else, or omitted, reads the live log. |
| `tree_size` | Return the checkpoint that was signed at exactly this tree size, instead of the latest. |

`root` and `prev_root` are lower-case hexadecimal without a prefix. `checkpoint` is a compact JWS (`alg: ES256`, `typ: esc-checkpoint+jwt`) signed with the sealing key named in `kid`. Its payload is:

```json
{
  "iss": "https://esigncomply.com",
  "chk": "chk_18f2",
  "region": "us",
  "live": true,
  "size": 48130,
  "root": "3b7e...c41a",
  "prev_root": "a07d...99e2",
  "iat": 1795273380
}
```

## Response

`200 OK` with a Checkpoint object.

```json
{
  "object": "checkpoint",
  "environment": "test",
  "id": "chk_YNgL",
  "tree_size": 942,
  "root": "703ba24d...",
  "prev_root": "67f38bbd...",
  "checkpoint": "eyJhbGciOiJFUzI1NiIsImtp...",
  "kid": "esc-us-test-2026-11",
  "created_at": "2026-11-26T00:16:51.393Z"
}
```

### Response fields

| Field | Type | Description |
|---|---|---|
| `object` | string |  |
| `environment` | string |  |
| `id` | string |  |
| `tree_size` | integer |  |
| `root` | string |  |
| `prev_root` | string |  |
| `checkpoint` | string | Compact JWS, typ esc-checkpoint+jwt. |
| `kid` | string |  |
| `created_at` | datetime |  |

## Errors

| Code | HTTP | When |
|---|---|---|
| [`not_found`](https://esigncomply.com/docs/api/errors.md#not_found) | 404 | `404`: the log has no checkpoint yet, or none was signed at that `tree_size`. |

Like every call made without a credential, it can also return [`internal_error`](https://esigncomply.com/docs/api/errors.md#internal_error).

Every error has the same body: `error.type`, `error.code`, `error.message`, `error.doc_url` and `error.request_id`. See [Errors](https://esigncomply.com/docs/api/errors.md).

## Questions about GET /v1/log/checkpoint

### Which credential does GET /v1/log/checkpoint need?

None. The call needs no key and no token. Anyone who has the values in the request can make it.

### Does GET /v1/log/checkpoint work with a test key?

The call needs no key. It answers for test objects and for live objects alike.

### Does GET /v1/log/checkpoint count as a signature event?

No. A signature event is counted when a live record is written, by completing a session or by submitting a deferred acceptance. This call writes no record.

### Is GET /v1/log/checkpoint idempotent?

It is a read, so it is safe to repeat. It takes no Idempotency-Key header.

### What is the rate limit for GET /v1/log/checkpoint?

The API applies no rate limit of its own to this call. It is a public read of data that is the same for everyone.

### Does the Node SDK have a method for GET /v1/log/checkpoint?

No. Call it over HTTP, or with esc.request() in the esigncomply package, which sends the key and returns { data, error }.

## Related

- [Verification and public log](https://esigncomply.com/docs/api/verification.md): the overview of the resource and all of its operations.
- [Get a log proof](https://esigncomply.com/docs/api/verification/get-a-log-proof.md): `GET /v1/log/proof`
- [Get the sealing keys](https://esigncomply.com/docs/api/verification/get-the-sealing-keys.md): `GET /.well-known/jwks.json`
- [Verify a record](https://esigncomply.com/docs/api/verification/verify-a-record.md): `POST /v1/verify`
- [Verification](https://esigncomply.com/docs/concepts/verification.md)
- [Offline verifier](https://esigncomply.com/docs/sdk/verify.md)
- [Errors](https://esigncomply.com/docs/api/errors.md): every error code, with what to do.
- [API conventions](https://esigncomply.com/docs/api.md): authentication, idempotency, rate limits and versioning.
