Skip to content

Verify a KTL entry by sequence number

GET
/api/v1/ktl/verify/{seq}
curl --request GET \
--url https://localhost:3001/api/api/v1/ktl/verify/1

Public: fetch a historical KTL entry by sequence number and its inclusion proof against the latest published root. Roots are unsigned in this deployment, so the proof shows consistency with what this server publishes and cannot on its own detect a server that rewrote its own log. Returns 400 when seq is not an integer or is below 1, 404 when no entry carries that sequence number, and 503 unless the operator set ZENTALK_KTL_PUBLIC_READ=true. Walking sequence numbers enumerates every wallet in the log, so this route carries a dedicated rate-limit tier.

seq
required
integer

Sequence number

OK

Media typeapplication/json
object
key
additional properties
any
Examplegenerated
{}

Bad Request

Media typeapplication/json
object
error
string
success
boolean
Examplegenerated
{
"error": "example",
"success": true
}

Not Found

Media typeapplication/json
object
error
string
success
boolean
Examplegenerated
{
"error": "example",
"success": true
}

Internal Server Error

Media typeapplication/json
object
error
string
success
boolean
Examplegenerated
{
"error": "example",
"success": true
}

Service Unavailable

Media typeapplication/json
object
error
string
success
boolean
Examplegenerated
{
"error": "example",
"success": true
}