Skip to content

List pairing requests waiting for approval

GET
/admin/federation/peers/pending-inbound

Lists the pairing requests other instances have sent you that are waiting for an admin to accept, newest first.

Each request carries the key the sender offered, in instance_public_key. The request shows only that the sender holds that key, not that it runs the address in instance_url. Check the key with that instance’s admin, for example against its GET /federation/instance, before you accept with POST /admin/federation/peers/{id}/accept. To refuse a request, delete it with DELETE /admin/federation/peers/{id}.

Every waiting request comes back at once, with no paging. Needs the federation.read or system.admin capability.

Pending inbound requests.

object
items
required
Array<object>

An instance in your peer list, and where pairing with it stands. Pairing shares nothing by itself: content reaches a peer only once you share it with that peer.

object
id
required
string format: uuid
instance_url
required

The instance’s address, such as https://peer.example, with no path or trailing slash.

string
display_name
required
string
instance_public_key
required

The instance’s Ed25519 public key, PEM-encoded. A row you created by asking to pair holds the placeholder PENDING-HANDSHAKE-RESPONSE instead; only a confirm from that instance replaces it with a real key.

string
trust_tier
required

A label you can set. Nothing in this release acts on it.

string
Allowed values: connected directory-listed auto-sync
encryption_policy
required

A label you can set. Nothing in this release acts on it, so it doesn’t decide whether what you send this peer is encrypted.

string
Allowed values: plaintext e2e-encrypted
enabled
required

When off, no new activity is queued for this peer, it isn’t asked for suggestions and it isn’t in your public list, whatever its status.

boolean
status
required

Where pairing stands on your side: pending_outbound (you asked to pair), pending_inbound (it asked and waits for your approval) or connected. It’s your instance’s own record, not a sign that the other instance is reachable or has connected too. Activity is queued only for peers that are connected and enabled.

string
Allowed values: pending_outbound pending_inbound connected
handshake_at
required

When this row was created. It doesn’t change when the pair connects.

string format: date-time
handshake_by_user_ref
required

The user who added this peer or asked to pair; 0 when the row came from the other instance’s request.

integer format: int64
last_seen_at

Not recorded in this release, so it’s left out.

string format: date-time
nullable
notes
required

Free text you can edit. Pairing adds a dated line here when sending a request or reply fails.

string
share_in_visible_list

Whether this peer appears in your public GET /federation/peers/visible list, which anyone can read. Off by default. It’s listed only while it’s also connected and enabled.

boolean
created_at
required

Not filled in by this release: always 0001-01-01T00:00:00Z.

string format: date-time
updated_at
required

Not filled in by this release: always 0001-01-01T00:00:00Z.

string format: date-time

Authentication required, missing, or invalid

object
error
required

Human-readable error summary

string
Example
the request could not be completed
Example
{
"error": "authentication required: sign in and retry with a valid session or API token"
}

Authenticated but missing required capabilities

object
error
required

Human-readable error summary

string
Example
the request could not be completed