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
| Method | Path | Auth | Notes |
|---|---|---|---|
POST | /api/chain/:motherSlug/anchor | Bearer (owner) | Commit a private machine's digest into the mother chain. |
GET | /api/chain/:motherSlug/anchors | Bearer (owner) | List anchors committed into a mother. |
GET | /api/chain/:motherSlug/anchored | Bearer (owner) | List machines anchored into a mother. |
GET | /api/chain/verify-anchor | Bearer (owner) | Verify an anchor digest against the mother. |
GET | /api/chain/state-machines/:slug/anchor-config | Bearer (owner) | Read a machine's anchor config. |
PUT | /api/chain/state-machines/:slug/anchor-config | Bearer (owner) | Update anchor config (cadence, mother). |
POST | /api/chain/state-machines/:slug/anchor-key/rotate | Bearer (owner) | Rotate the anchoring key. |