Zum Hauptinhalt springen

Private Anchor — /api/chain/*anchor*

The Private → Mother anchor protocol. A private machine periodically commits a digest of its own audit log into a public "mother" machine's entangled state, so the private machine's history is tamper-evident against a public reference — without exposing any of its contents. Owner-gated.

Concept: Entangled state API. Source: shared/api-core/src/routes/privateAnchor.ts.

Endpoints

MethodPathAuthNotes
POST/api/chain/:motherSlug/anchorBearer (owner)Commit a private machine's digest into the mother chain.
GET/api/chain/:motherSlug/anchorsBearer (owner)List anchors committed into a mother.
GET/api/chain/:motherSlug/anchoredBearer (owner)List machines anchored into a mother.
GET/api/chain/verify-anchorBearer (owner)Verify an anchor digest against the mother.
GET/api/chain/state-machines/:slug/anchor-configBearer (owner)Read a machine's anchor config.
PUT/api/chain/state-machines/:slug/anchor-configBearer (owner)Update anchor config (cadence, mother).
POST/api/chain/state-machines/:slug/anchor-key/rotateBearer (owner)Rotate the anchoring key.