---
title: "Count entries"
method: GET
path: "/api/v1/log/count"
---

# Count entries

`GET /api/v1/log/count`

Count the number of log entries for a given key within an optional
sequence range.

## Query parameters

- `key` string, required
- `start_seq` integer
- `end_seq` integer

## Response `200`

Entry count.

- CountResponse — Response containing the count of entries for a key.
  - `status` string, required
  - `count` integer, required — Number of entries matching the query.

## Other responses

- `400` — Invalid input (e.g. missing `key` parameter).
- `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)
