Skip to content

Configuration endpoints

Endpoint Response How to use it
GET /v1/config id, key_epoch, threshold, signature_scheme, witness_count Display or discovery only.
GET /v1/network NetworkVerificationConfig: id, key_epoch, witnesses (id, pubkey), threshold, signature_scheme, time_policy Current public verification settings. Obtain or check them independently before trusting them as a pin.
GET /v1/key-history KeyHistory: genesis verification config and ordered transitions Check the signed history against an independent pin. With no configured history file, the gateway serves its current config as genesis with no transitions.

The public verification config contains no signer endpoints, bearer tokens, or private keys. Do not publish the operator's network.json. Ed25519 is the supported signature scheme. The threshold must be a majority, and time_policy.max_skew_secs must be between 1 and 3600.

witness keys verify --network-config pinned-network.json verifies the gateway's history against your pin. Supply --key-history history.json to read a saved copy instead. See Key management for planned key changes and what to do after compromise.