Skip to main content
GET
/
api
/
v1
/
log
/
count
Count entries
curl --request GET \
  --url http://localhost:3001/api/v1/log/count
{
  "status": "success",
  "count": 1024
}

Query Parameters

key
string
required

Key to count (URL-encoded if it contains special characters).

start_seq
integer<uint64>

Start sequence number (inclusive). Defaults to 0.

Required range: x >= 0
end_seq
integer<uint64>

End sequence number (exclusive). Defaults to max uint64.

Required range: x >= 0

Response

Entry count.

Response containing the count of entries for a key.

status
string
required
Example:

"success"

count
integer<uint64>
required

Number of entries matching the query.