Federation Status

GET /api/v1/federation/status

Returns the current state of the gossip mesh: connected peers, sync timestamps, instance counts.

Example:

curl https://relay.btoven.net/api/v1/federation/status

Export Instances (for Peers)

GET /api/v1/federation/instances

Returns the full instance directory in a format optimized for gossip consumption. This is the endpoint that peer relays call during sync.

Push Instances

POST /api/v1/federation/instances/push

Receives a batch of instances from a peer relay. The relay merges new instances into its local directory.