---
title: "List keys"
method: GET
path: "/api/v1/log/keys"
---

# List keys

`GET /api/v1/log/keys`

List distinct keys present in the log within an optional segment range.

## Query parameters

- `start_segment` integer
- `end_segment` integer
- `limit` integer

## Response `200`

List of keys.

- KeysResponse — Response listing distinct keys in the log.
  - `status` string, required
  - `keys` Key[], required
    - `key` string, byte, required — The key bytes, base64-encoded.

## Other responses

- `500` — Internal server error.

---

[API](https://skmtc.net/opendata-oss/apis/opendata-log-api.md) · [All operations](https://skmtc.net/opendata-oss/apis/opendata-log-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/opendata-oss/opendata-log-api/versions/792e23c43301/schema)
