Skip to content

API reference

The Quidnug node exposes a RESTful HTTP API, versioned at /api/v1 (core primitives) and /api/v2 (guardians, gossip, bootstrap, Merkle proofs).

All SDKs (Python, Go, JS/TS, Rust) are thin wrappers over this API. Direct curl calls work for anything the SDKs expose.

MethodPathPurpose
POST/api/identitiesCreate or update a quid.
GET/api/identities/{quidId}Fetch a quid’s current metadata.
MethodPathPurpose
POST/api/trustDeclare a trust edge.
GET/api/trust/{truster}/{trustee}Query trust (observer-centric).
DELETE/api/trust/{truster}/{trustee}/{domain}Revoke a trust edge.
MethodPathPurpose
POST/api/titlesMint or transfer a title.
GET/api/titles/{titleId}Fetch title state + ownership.
MethodPathPurpose
POST/api/eventsAppend an event to a subject’s stream.
GET/api/events?subjectId=…Read events by subject, paginated.
MethodPathPurpose
POST/api/anchorsRotate or invalidate an epoch.
POST/api/v2/guardians/setsInstall/replace a guardian quorum.
POST/api/v2/guardians/recoveries/initInitiate recovery.
POST/api/v2/guardians/recoveries/vetoVeto an in-flight recovery.
POST/api/v2/guardians/recoveries/commitCommit after time-lock.
POST/api/v2/guardians/resignResign from a guardian set (prospective).
MethodPathPurpose
GET/api/healthLiveness + readiness probe.
GET/api/infoNode version, feature flags.
GET/metricsPrometheus scrape endpoint.

See the error codes reference.