List federation peers
GET /admin/federation/peers
All paired instances, newest-handshake-first. Gated on
system.admin. Per ADR 0043 §“Trust model” the rows here
are just the trusted-channel registry — content shares
are managed separately via federation_shares (Phase
1.22.C).
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ”Responses
Section titled “ Responses ”A page of peers.
object
One row from the federation_peers registry (Phase 1.22.B-a + ADR 0043 §“Trust model”). Pairing alone shares no content — see federation_shares (1.22.C) for the access-control layer.
object
Https://peer.example (no trailing slash, no path)
PEM-wrapped Ed25519 public key (RFC 8410). May be the
placeholder string PENDING-HANDSHAKE-RESPONSE while
status is pending_outbound — the peer’s real key
replaces it when the confirm envelope arrives.
Handshake state machine (migration 00052 + v1.md §11). Outbound delivery (1.22.D) gates on connected only.
Per-peer opt-in for peer-of-peer discovery (Phase 1.22.B-d). When true, this peer appears in GET /federation/peers/visible — other peers can then surface it as a discovery suggestion. Default false; explicit opt-in.
Authentication required, missing, or invalid
object
Human-readable error summary
Example
the request could not be completedExample
{ "error": "authentication required: sign in and retry with a valid session or API token"}Authenticated but missing required capabilities
object
Human-readable error summary
Example
the request could not be completed