Skip to main content

Chain & state

91 live operations under /api/chain. 37 require a machine key; 54 are public. Tagged: Chain & State.

MethodPathWhat it doesAuth
GET/api/chain/{motherSlug}/anchoredPseudonymous overview of every private machine anchoring here.public
POST/api/chain/{motherSlug}/anchorpublic
GET/api/chain/{motherSlug}/anchorspublic
GET/api/chain/{slug}/activity9b. GET /api/chain/:slug/activity — typed, paginated audit feed AUDIT-EVERYTHING Phase 5: the observer's API.public
DELETE/api/chain/{slug}/admins/{zid}4. DELETE /api/chain/:slug/admins/:zidpublic
PATCH/api/chain/{slug}/admins/{zid}3. PATCH /api/chain/:slug/admins/:zid Body: { role: "admin" | "operator" | "viewer" }public
GET/api/chain/{slug}/admins1. GET /api/chain/:slug/adminspublic
POST/api/chain/{slug}/admins2. POST /api/chain/:slug/admins Body: { zid: string, role: "admin" | "operator" | "viewer" }public
GET/api/chain/{slug}/analytics15.8 GET /api/chain/:slug/analytics — per-machine sparkline data EX.H (2026-05-19).public
DELETE/api/chain/{slug}/api-keys/{id}10. DELETE /api/chain/:slug/api-keys/:id — revokepublic
GET/api/chain/{slug}/api-keys9. GET /api/chain/:slug/api-keys — list (no raw values)public
POST/api/chain/{slug}/api-keys9. POST /api/chain/:slug/api-keys — mint a developer API key Body: { name: string, scope?: 'read'|'write'|'admin'public
POST/api/chain/{slug}/app-event9d. POST /api/chain/:slug/app-event — mini-app audit hook AUDIT-EVERYTHING Phase 3: client-only mini-apps (compress, maikey
GET/api/chain/{slug}/atapi/chain/:slug/at?zeqond=Npublic
POST/api/chain/{slug}/audit/decryptadmin role does NOT suffice — only owner.public
GET/api/chain/{slug}/awareness/statusPublic read — same canRead gate as /state.public
GET/api/chain/{slug}/block10. GET /api/chain/:slug/block?zeqond=N — snapshot at Npublic
POST/api/chain/{slug}/connection7. POST /api/chain/:slug/connection — connection eventkey
GET/api/chain/{slug}/contracts/{id}/audit5. GET /api/chain/:slug/contracts/:id/audit — full transition historykey
POST/api/chain/{slug}/contracts/{id}/dry-runwhat would fire / be filtered / pass.key
GET/api/chain/{slug}/contracts/{id}/exportReturns a portable envelope of the contract's definition + metadata.key
POST/api/chain/{slug}/contracts/{id}/fire-nowkey
POST/api/chain/{slug}/contracts/{id}/freezefires. The row stays in the DB so audit history is preserved.key
GET/api/chain/{slug}/contracts/{id}/integrityPublic-read, returns the stored hash + the live re-hash.public
GET/api/chain/{slug}/contracts/{id}/next-firesPredict the next N fires for time-based triggers (one_shot/recurring/cron).key
POST/api/chain/{slug}/contracts/{id}/pausekey
GET/api/chain/{slug}/contracts/{id}/previewCheap, GET-only, owner-only, no charge.key
POST/api/chain/{slug}/contracts/{id}/resumekey
POST/api/chain/{slug}/contracts/{id}/rollbackkey
POST/api/chain/{slug}/contracts/{id}/skip-nextkey
POST/api/chain/{slug}/contracts/{id}/transition4. POST /api/chain/:slug/contracts/:id/transition — execute transitionkey
GET/api/chain/{slug}/contracts/{id}/transitions/streamPush every successful transition for this contract.key
POST/api/chain/{slug}/contracts/{id}/verify6. POST /api/chain/:slug/contracts/:id/verify — verify entire proof chainkey
GET/api/chain/{slug}/contracts/{id}/versions/{n}key
GET/api/chain/{slug}/contracts/{id}/versionskey
GET/api/chain/{slug}/contracts/{id}3. GET /api/chain/:slug/contracts/:id — get contract + recent transitionskey
PATCH/api/chain/{slug}/contracts/{id}overwrites the live row and bumps current_version_no.key
POST/api/chain/{slug}/contracts/customtemplated deploy path; the only difference is the body carries a definition blob instead of a template id.key
POST/api/chain/{slug}/contracts/importslug. Runtime state (audit, fire_count, watermarks, secrets) starts clean — definition + metadata only.key
GET/api/chain/{slug}/contracts2. GET /api/chain/:slug/contracts — list contractskey
POST/api/chain/{slug}/contracts1. POST /api/chain/:slug/contracts — create contractkey
GET/api/chain/{slug}/coverage9c. GET /api/chain/:slug/coverage — which action types this machine emitted AUDIT-EVERYTHING Phase 5: the audit coveragepublic
POST/api/chain/{slug}/event4. POST /api/chain/:slug/event — catch-all logkey
GET/api/chain/{slug}/events/streamPush every contract_events insert for this slug to the connected client as an SSE frame.key
GET/api/chain/{slug}/eventsRead-only feed over contract_events for one slug.key
GET/api/chain/{slug}/explore/sse12. GET /api/chain/:slug/explore/sse — live feedpublic
GET/api/chain/{slug}/explore} Response shape version field marks the new shape so consumers can negotiate.public
POST/api/chain/{slug}/file6. POST /api/chain/:slug/file — file-hash eventkey
GET/api/chain/{slug}/oraclesthe contracts that carry definition.oracle, each enriched with its latest reading (value + Zeqond) and a small recent-hikey
GET/api/chain/{slug}/pohc/validate13. GET /api/chain/:slug/pohc/validate?from=A&to=B PoHC = Proof of Harmonic Convergence.public
PATCH/api/chain/{slug}/settings5. PATCH /api/chain/:slug/settingspublic
GET/api/chain/{slug}/site/file/{sha}3. GET /api/chain/:slug/site/file/:sha — single file metadatapublic
GET/api/chain/{slug}/site/list2. GET /api/chain/:slug/site/list — list pagespublic
DELETE/api/chain/{slug}/site/publish-keykey
GET/api/chain/{slug}/site/publish-keypublic
POST/api/chain/{slug}/site/publish-keyPlaintext is only returned on issue; thereafter the proxy at /s/<slug>/sdk/zeq/<op> attaches it server-sidekey
POST/api/chain/{slug}/site/upload1. POST /api/chain/:slug/site/upload — upload one pagepublic
GET/api/chain/{slug}/sourcesshows a section per named source).public
GET/api/chain/{slug}/state9. GET /api/chain/:slug/state — latest statepublic
POST/api/chain/{slug}/state5. POST /api/chain/:slug/state — state-hash snapshotkey
GET/api/chain/{slug}/stats7. GET /api/chain/:slug/statspublic
POST/api/chain/{slug}/status6. POST /api/chain/:slug/status Body: { status: "active" | "paused" | "archived" }public
GET/api/chain/{slug}/tally/mint-ratethe global ticker drips it into tokens_remaining automatically.public
POST/api/chain/{slug}/tally/mint-ratekey
GET/api/chain/{slug}/tally/supplypublic
GET/api/chain/{slug}/tally/token/{tokenId}public
GET/api/chain/{slug}/tally/token/avatardecrypt + servepublic
POST/api/chain/{slug}/tally/token/avatarencrypted uploadpublic
POST/api/chain/{slug}/tally/token/genesisone-shot create + lockpublic
GET/api/chain/{slug}/tally/tokenpublic token metadatapublic
GET/api/chain/{slug}/tally/tokenspublic
POST/api/chain/{slug}/tally/verifypublic
POST/api/chain/{slug}/tx/submit8. POST /api/chain/:slug/tx/submit — contract transition (stub for 6.1.N integration) ─key
POST/api/chain/{slug}/unlockpublic
GET/api/chain/activeReturns the top public machines by transition count in the last N Zeqonds.public
GET/api/chain/aggregate/listPhase 6.1.U — aggregator-friendly list of every public state machine.public
GET/api/chain/aggregate/sseOne SSE per consumer (e.g.public
GET/api/chain/fleetpublic
GET/api/chain/newest15.4 GET /api/chain/newest — newest registered public machines Network-home "Latest registered machines" panel.public
GET/api/chain/recentReturns newest-first.public
POST/api/chain/rejection-logpublic
GET/api/chain/sealit binds, with every constant and recipe a stranger needs to verify the whole thing OFFLINE (tools/verify-zeq-chain.mjspublic
GET/api/chain/state-machines/{slug}/anchor-configkey
PUT/api/chain/state-machines/{slug}/anchor-configkey
POST/api/chain/state-machines/{slug}/anchor-key/rotatekey
POST/api/chain/state-machines/{slug}/share/disablepublic
POST/api/chain/state-machines/{slug}/share/setpublic
GET/api/chain/state-machines/{slug}3. GET /api/chain/state-machines/:slug — metadatapublic
GET/api/chain/state-machines2. GET /api/chain/state-machines — listpublic
POST/api/chain/state-machines1. POST /api/chain/state-machines — spin uppublic
GET/api/chain/verify-anchorVerifier helper. Recomputes id_hash from (slug, genesis_hash) and reports.public

Generated by scripts/generate-reference.mjs from https://zeq.me/openapi.json.