Skip to main content

GET /api/chain/{slug}/pohc/validate

  1. GET /api/chain/:slug/pohc/validate?from=A&to=B PoHC = Proof of Harmonic Convergence.

Validates the audit chain integrity over a window using validateHashChain from zeqondClock.ts.

MethodGET
Path/api/chain/{slug}/pohc/validate
Feature areaChain & state
TagChain & State
Authpublic (no key)
Tiercomputation (public)

Parameters​

Path parameters​

NameTypeRequiredDescription
slugstringyes—

Query parameters​

NameTypeRequiredDescription
fromstringno—
tostringno—

No header parameters are published for this operation.

Request body​

This operation takes no request body.

Responses​

StatusMeaning
200OK
403Forbidden — authenticated, but not permitted for this resource
404Not found

403 body​

FieldTypeRequiredDescription
okboolean — one of falseyes—
errorstringnoHuman-readable message.
codestringnoStable machine-readable code, e.g. ADMIN_REQUIRED, INVALID_ZID, ZID_NOT_LINKED.

404 body​

FieldTypeRequiredDescription
okboolean — one of falseyes—
errorstringnoHuman-readable message.
codestringnoStable machine-readable code, e.g. ADMIN_REQUIRED, INVALID_ZID, ZID_NOT_LINKED.

Call it​

curl -sS -X GET https://zeq.me/api/chain/your-machine/pohc/validate?from=ZEQ7B3K9QX2M7T4V8N1C6H0DZ&to=ZEQ7B3K9QX2M7T4V8N1C6H0DZ

Generated from the live OpenAPI description (https://zeq.me/openapi.json, spec version 1.287.0) by scripts/generate-reference.mjs. Do not edit — this file is rewritten on every run.