Federation Status Endpoint

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

Example response:

{
  "node_url": "https://relay.btoven.net",
  "peers": {
    "https://peer-a.example.com": {
      "last_sync": "2026-06-19T12:00:00Z",
      "instances_received": 15,
      "status": "ok"
    },
    "https://peer-b.example.com": {
      "last_sync": "2026-06-19T12:02:00Z",
      "instances_received": 8,
      "status": "ok"
    }
  },
  "total_instances": 42,
  "local_instances": 19,
  "federated_instances": 23
}

What to Look For

  • Peers are listed — if a peer is missing, check the configuration
  • Recent sync timestamps — if a peer’s last_sync is old, the sync might be failing
  • Instances received — should increase over time as the mesh grows
  • Total vs federated — shows how many instances came from peers vs added locally

Common Issues

SymptomLikely Cause
No peers in status--peers not configured
Stale sync timestampsPeer relay might be down
Zero instances receivedPeer has no instances or sync failed
Duplicate instancesMerge logic is working correctly (deduped by URL)