[{"method": "GET", "path": "/record", "auth": "key", "purpose": "the machine's genesis record"}, {"method": "GET", "path": "/log", "auth": "key", "purpose": "the signed history of what it computed; ?after=N for the rows after the first N, ?limit=M for up to 250 of them (100 when not given)"}, {"method": "GET", "path": "/feed", "auth": "key", "purpose": "the log as RSS 2.0"}, {"method": "GET", "path": "/endpoints", "auth": "public", "purpose": "this catalog of the machine's routes"}, {"method": "GET", "path": "/pulse", "auth": "key", "purpose": "server-sent events, one per Zeqond: zeqond, phase, R_t; ?n= to stop after n"}, {"method": "GET", "path": "/shelf", "auth": "key", "purpose": "the door's vocabulary: identities, fields, units"}, {"method": "POST", "path": "/verify", "auth": "key", "purpose": "what /ask returned, or {sealed: it, record?} -> {verified, by, reproduction}: a sealed answer against this machine's record, or another machine's against its public record, computed again here"}, {"method": "POST", "path": "/ask", "auth": "key", "purpose": "{question} -> a sealed answer, signed into the log; Authorization: Bearer zeq_owner_..."}, {"method": "POST", "path": "/mcp", "auth": "key", "purpose": "Model Context Protocol, JSON-RPC 2.0: initialize, tools/list, tools/call"}, {"method": "GET", "path": "/card", "auth": "public", "purpose": "this machine's card: its public record and the key a parcel for it is sealed to"}, {"method": "POST", "path": "/inbox", "auth": "key", "purpose": "a parcel sealed to this machine by --share, delivered with a drop key its owner gave; kept 0600, opened only here"}, {"method": "GET", "path": "/health", "auth": "public", "purpose": "liveness for a load balancer: ok, the version and the API version"}, {"method": "GET", "path": "/openapi.json", "auth": "public", "purpose": "this API as OpenAPI 3.1: every route, its scope and its body, so a UI or an agent in any language is generated from it"}, {"method": "GET", "path": "/ui", "auth": "public", "purpose": "the skins here, carried and installed, by name"}, {"method": "GET", "path": "/ui/NAME/", "auth": "public", "purpose": "a skin's files, served only while they hash to their signed manifest, sandboxed so it talks to this machine alone"}, {"method": "POST", "path": "/handoff", "auth": "public", "purpose": "{token} -> a skin's own key, once: a token --console or --ui mints for 60 s, so no key rides a browser's address or command line"}, {"method": "GET", "path": "/metrics", "auth": "key", "purpose": "Prometheus text: requests by route and status, uptime, log rows and live keys, in aggregate"}, {"method": "GET", "path": "/keys", "auth": "key", "purpose": "the key table: names, scopes, prefixes and expiry; for an admin key"}, {"method": "POST", "path": "/keys", "auth": "key", "purpose": "{name, scope, days} -> a new key, shown once; for an admin key, so a directory bridge manages keys from outside"}, {"method": "POST", "path": "/keys/revoke", "auth": "key", "purpose": "{prefix} -> revoked, refused at its next request; for an admin key"}, {"method": "GET", "path": "/coverage", "auth": "public", "purpose": "every branch: what this file computes there, from which equations, and the extensions named for it"}, {"method": "GET", "path": "/catalogue", "auth": "public", "purpose": "what this file computes and offers a builder, counted from the file"}, {"method": "GET", "path": "/find", "auth": "key", "purpose": "?q=WORDS -> identities on the shelf by name or meaning, and the named extensions a term points to"}, {"method": "GET", "path": "/anchor", "auth": "key", "purpose": "the machine's signed anchor of its log: its row count and newest link; keep it, and the log can later be checked whole against it"}, {"method": "GET", "path": "/title", "auth": "key", "purpose": "the machine's title: the certificate of its birth, self-issued or minted by its foundation, its serial and standing, and where the machine is"}, {"method": "GET", "path": "/apps", "auth": "key", "purpose": "the applications born on this machine: each one's ZID, key and name, countersigned by the machine, issued once in its log"}, {"method": "POST", "path": "/apps", "auth": "key", "purpose": "{name} -> an application born on this machine, its record signed into the log, and a write key of its own shown once; for an admin key"}, {"method": "POST", "path": "/clips", "auth": "key", "purpose": "{\"name\", \"sha256\" and \"bytes\" | \"text\" | \"base64\", \"source\"?, \"cites\"?} -> the clip stamped: its hash signed into the log, the payload never kept"}, {"method": "GET", "path": "/clips", "auth": "key", "purpose": "every clip of the log, every stamp among them: its id, Zeqond, name, sha256, length, source and the clips it cites"}, {"method": "GET", "path": "/clips/{id}", "auth": "key", "purpose": "one clip's evidence graph: the clips it rests on, walked from the log, and held or what is wrong"}, {"method": "POST", "path": "/clips/{id}/check", "auth": "key", "purpose": "{\"text\" | \"base64\" | \"sha256\"} -> whether that payload is the one the clip stamped; nothing kept"}, {"method": "POST", "path": "/rpn", "auth": "key", "purpose": "{\"keys\": [...]} -> the stack, every arithmetic key a question at the door with the units carried; nothing sealed"}, {"method": "GET", "path": "/contracts", "auth": "key", "purpose": "the contracts this machine runs: each one's name, state, fires and definition hash"}, {"method": "POST", "path": "/contracts", "auth": "key", "purpose": "{definition} -> the contract deployed, its definition hash pinned"}, {"method": "GET", "path": "/contracts/{id}", "auth": "key", "purpose": "one contract: its definition, state and the chain of its fires, checked"}, {"method": "POST", "path": "/contracts/{id}/pause", "auth": "key", "purpose": "stop the contract's timed fires until it is resumed; a manual fire still runs"}, {"method": "POST", "path": "/contracts/{id}/resume", "auth": "key", "purpose": "timed fires again, the next slot set from now"}, {"method": "POST", "path": "/contracts/{id}/skip-next", "auth": "key", "purpose": "pass over the next timed fire, up to 100 ahead"}, {"method": "POST", "path": "/contracts/{id}/fire", "auth": "key", "purpose": "{to, input, dry_run} -> fired, won't_fire, refused or tampered, with why"}, {"method": "GET", "path": "/nearby", "auth": "key", "purpose": "Nearby on this machine: open to everyone or to paired machines, its ports, the offers and pairings waiting for the owner, its paired machines"}, {"method": "POST", "path": "/nearby", "auth": "key", "purpose": "{\"answer\": ID, \"accept\": true|false} | {\"everyone\": SECONDS} | {\"contacts\": true} -> the owner's word on an offer or a pairing, or who may reach the machine"}, {"method": "POST", "path": "/tour", "auth": "key", "purpose": "the demonstration computed now, each answer sealed by this machine into its log, against the value the proof pins: the owner's, since it signs a row for every question"}, {"method": "GET", "path": "/children", "auth": "key", "purpose": "the machines this one issued, from its signed log: index, ZID, slug, and whether each is here"}, {"method": "GET", "path": "/elapsed", "auth": "key", "purpose": "this machine's spine: every seal, each checked against its record and the seal before"}, {"method": "POST", "path": "/elapsed/verify", "auth": "key", "purpose": "{seal, record, before} -> whether the seal is that machine's and its time is real, in under 0.01 s"}, {"method": "POST", "path": "/events", "auth": "key", "purpose": "{\"events\": [hit, ...]} or {\"event\": hit} -> the hits appended hash-linked at this Zeqond, sealed at the tick"}, {"method": "GET", "path": "/events", "auth": "key", "purpose": "the hits from ?after=N, 250 at most, as they are on disk"}, {"method": "GET", "path": "/events/verify", "auth": "key", "purpose": "the file replayed against every signed tick: events, sealed, pending, and held or what is wrong"}, {"method": "GET", "path": "/hitev4/capabilities", "auth": "public", "purpose": "the machine a vault page talks to, its exact timebase and what a certificate is"}, {"method": "POST", "path": "/hitev4/certify", "auth": "key", "purpose": "{question, payload_sha256} -> a certificate binding the file's SHA-256 to an answer sealed now, signed and logged"}, {"method": "POST", "path": "/hitev4/inspect", "auth": "key", "purpose": "{vault: base64} -> its header, its Ed25519 and ML-DSA-65 signatures and its certificate checked here"}, {"method": "GET", "path": "/notebook", "auth": "key", "purpose": "every application's moves on this machine, in the log's order, each a signed row at its Zeqond; ?app=NAME for one application's"}, {"method": "POST", "path": "/playground", "auth": "public", "purpose": "{question} -> the answer as the door gives it, for anyone, five an hour per address; nothing sealed"}, {"method": "GET", "path": "/repo", "auth": "key", "purpose": "the repositories by name: created, commits, files, bytes, tree and head; never a file's content"}, {"method": "POST", "path": "/repo", "auth": "key", "purpose": "{name} -> the repository created, commit 0 signed into the log"}, {"method": "GET", "path": "/repo/{name}", "auth": "key", "purpose": "one repository's tree: each file's path, size, sha256 and Zeqond, with its head"}, {"method": "GET", "path": "/repo/{name}/file", "auth": "key", "purpose": "one file by ?path=, opened as it was committed"}, {"method": "POST", "path": "/repo/{name}/commit", "auth": "key", "purpose": "{message, files: [{path, text or base64}], delete: [path]} -> one commit: the files sealed, a signed row of the log with the tree, the parent and the message"}, {"method": "GET", "path": "/repo/{name}/log", "auth": "key", "purpose": "the repository's commits from the log alone, in order, with the chain's verdict"}, {"method": "POST", "path": "/repo/{name}/deploy", "auth": "key", "purpose": "the repository deployed as a skin of this machine from its index.html: packed and signed by the machine, installed with a key of its own, served at /ui/NAME/; deployed again, replaced"}, {"method": "POST", "path": "/repo/{name}/drop", "auth": "key", "purpose": "the repository removed, by a signed row of the log; its commits stay in the log"}, {"method": "GET", "path": "/vault", "auth": "key", "purpose": "the vault's entries by name: when each was put, its size and expiry; never a value"}, {"method": "POST", "path": "/vault", "auth": "key", "purpose": "{name, text or base64, expires_in_zeqonds} -> the entry sealed in the vault"}, {"method": "GET", "path": "/vault/{name}", "auth": "key", "purpose": "one entry's value, opened only as it was sealed and before its expiry; for an admin key"}, {"method": "POST", "path": "/vault/{name}/drop", "auth": "key", "purpose": "an entry removed from the vault, by a signed row of the log"}, {"method": "GET", "path": "/connect", "auth": "key", "purpose": "the catalogue of services: how each is authorized, where it answers, what is set and whether it is connected; never a value"}, {"method": "POST", "path": "/connect/{name}/set", "auth": "key", "purpose": "{client_id, client_secret} or {key}, and base where the catalogue names none: sealed in the connect store"}, {"method": "POST", "path": "/connect/{name}/start", "auth": "key", "purpose": "{redirect_uri, scope} -> the address to open to authorize the service, valid 600 s"}, {"method": "GET", "path": "/connect/callback", "auth": "public", "purpose": "where the service sends the browser back: the state of an authorization this machine began, once, and its code"}, {"method": "POST", "path": "/connect/{name}/call", "auth": "key", "purpose": "{method, path, body, headers, form} -> the service's answer, its credential added here; a body goes as JSON, or as a form when form is true; the call a signed row"}, {"method": "POST", "path": "/connect/{name}/drop", "auth": "key", "purpose": "everything kept for a service removed, each by a signed row"}, {"method": "POST", "path": "/export", "auth": "key", "purpose": "{sealed, record?, lang} -> the envelope, verified and computed again, as code in python, javascript or c; the snippet's sha256 signed into the log"}, {"method": "POST", "path": "/reactors", "auth": "key", "purpose": "{definition: {question, initial, transition, guards}} -> a reactor whose solver is the door"}, {"method": "GET", "path": "/reactors", "auth": "key", "purpose": "every reactor this machine holds: id, status, steps, deployed_z and its last output"}, {"method": "POST", "path": "/reactors/{id}/close", "auth": "key", "purpose": "stop an active reactor; it takes no more steps and the close is signed into the log"}, {"method": "GET", "path": "/reactors/{id}", "auth": "key", "purpose": "one reactor: its definition, status and every sealed step, their links checked"}, {"method": "POST", "path": "/reactors/{id}/step", "auth": "key", "purpose": "{env} -> the next step, asked, sealed, linked and gated"}, {"method": "GET", "path": "/skills", "auth": "key", "purpose": "the skills kept in the skills repository, by name"}, {"method": "GET", "path": "/skills/{name}", "auth": "key", "purpose": "one skill's page"}, {"method": "POST", "path": "/skills", "auth": "key", "purpose": "{name, domains} -> the skill made from the shelf and committed to the skills repository"}, {"method": "GET", "path": "/reach", "auth": "key", "purpose": "what reach adds: the second catalogue's names, and every service defined or imported on this machine with its map size, hook and events; never a token"}, {"method": "POST", "path": "/reach/define", "auth": "key", "purpose": "{name, auth_mode, proxy_base_url?, authorization_url?, token_url?, key_header|key_query|key_path?, key_prefix?, headers?, zeq_use?} -> a service in the catalogue, by a signed row"}, {"method": "POST", "path": "/reach/{name}/import", "auth": "key", "purpose": "{url} or {document}, entry? laid over it -> the service read from its OpenAPI document into the catalogue, its operations mapped"}, {"method": "GET", "path": "/reach/{name}/map", "auth": "key", "purpose": "the operations the service's document named; ?q= narrows them"}, {"method": "POST", "path": "/reach/{name}/forget", "auth": "key", "purpose": "a service defined here removed with everything connect kept for it, each by a signed row"}, {"method": "POST", "path": "/reach/{name}/hook/new", "auth": "key", "purpose": "{sig?: {scheme: hex|prefixed|stripe|slack, header, secret}} -> a hook address for the service's events, its token shown once; with sig every event's signature is checked over its raw bytes"}, {"method": "POST", "path": "/reach/{name}/hook", "auth": "public", "purpose": "where the service sends its events, with the hook's token in the query and, when the hook was made with sig, its signature in the header: each a signed row and kept 128 deep"}, {"method": "POST", "path": "/reach/trust", "auth": "key", "purpose": "{record, role: author | attester} -> a machine trusted here to sign or attest definitions on the shelf, by a signed row"}, {"method": "GET", "path": "/reach/trust", "auth": "key", "purpose": "the authors and attesters trusted here, by ZID"}, {"method": "POST", "path": "/reach/{name}/shelf", "auth": "key", "purpose": "{url} | {shelf, name} | {document}, trust_author? -> a signed definition from the shelf verified and, for a service, placed in the catalogue at tier S (attested) or T (trusted author)"}, {"method": "POST", "path": "/reach/sign", "auth": "key", "purpose": "{name, kind: service | connection, definition, note?} -> the definition signed by this machine as its author, to publish on a shelf"}, {"method": "POST", "path": "/reach/attest", "auth": "key", "purpose": "{document} -> this machine's attestation over a signed definition, to publish beside it"}, {"method": "GET", "path": "/reach/{name}/events", "auth": "key", "purpose": "the events the service sent to its hook, newest last, each with its sha256 and Zeqond"}, {"method": "GET", "path": "/connections", "auth": "key", "purpose": "every connection defined here: its kind, where it reaches, whether a session is open; the kinds and stub languages the module offers; never a secret"}, {"method": "POST", "path": "/connections/define", "auth": "key", "purpose": "{name, kind: process|tcp|udp|socket|serial|mqtt|modbus, ...} -> a connection defined, by a signed row"}, {"method": "POST", "path": "/connections/{name}/shelf", "auth": "key", "purpose": "{url} | {shelf, name} | {document}, trust_author? -> a connection definition signed on the shelf, verified through reach (tier S attested, T trusted author) and defined here"}, {"method": "POST", "path": "/connections/{name}/secret", "auth": "key", "purpose": "{secret} -> the one secret a connection may need (a broker's password), sealed in this module's vault"}, {"method": "POST", "path": "/connections/{name}/forget", "auth": "key", "purpose": "the definition, its secret and any open session gone, by signed rows"}, {"method": "POST", "path": "/connections/{name}/run", "auth": "key", "purpose": "a process run once with the body on its standard input, its file hashed first -> stdout, exit, hashes; a signed row"}, {"method": "POST", "path": "/connections/{name}/send", "auth": "key", "purpose": "{data|hex|json, until?, max_bytes?, reply?} on a tcp or udp definition -> the reply; a signed row"}, {"method": "POST", "path": "/connections/{name}/open", "auth": "key", "purpose": "a framed session opened to a socket definition (an engine, a simulation)"}, {"method": "POST", "path": "/connections/{name}/frame", "auth": "key", "purpose": "one JSON frame on the open session -> the reply; chained and sealed once a Zeqond"}, {"method": "POST", "path": "/connections/{name}/close", "auth": "key", "purpose": "the session closed; what was not yet sealed, sealed"}, {"method": "POST", "path": "/connections/{name}/serial", "auth": "key", "purpose": "{data|hex, until?, max_bytes?} to a serial definition -> the reply; a signed row"}, {"method": "POST", "path": "/connections/{name}/publish", "auth": "key", "purpose": "{topic, data|json, qos?, retain?} to an mqtt definition; a signed row"}, {"method": "POST", "path": "/connections/{name}/subscribe", "auth": "key", "purpose": "{topics} on an mqtt definition: a subscription held open, messages chained and sealed once a Zeqond"}, {"method": "GET", "path": "/connections/{name}/messages", "auth": "key", "purpose": "the last 128 messages of an open subscription and the chain's root"}, {"method": "POST", "path": "/connections/{name}/modbus", "auth": "key", "purpose": "{read: {fc, address, count}} or {write: {address, values}} on a modbus definition; a signed row"}, {"method": "GET", "path": "/connections/stub", "auth": "key", "purpose": "?lang=python|javascript|csharp|cpp|gdscript|c -> a client for this machine in that language, written from its own API"}]