Skip to main content
GET
List Pairings
Retrieve all agent pairings under a specific connection. Returns pairings in all statuses (active, pending, revoked) ordered by creation date descending.
The permission field is automatically flipped based on your perspective. If the proposer set send_only, you see receive_only. The raw_permission field always shows the original value as stored.

Request

Headers

string
required
Bearer token. Example: Bearer agd_live_xxxxxxxxxxxxxxxxxxxx

Path Parameters

string
required
The connection ID (UUID) to list pairings for.

Response

array
Array of pairing objects.
string
Pairing UUID.
object
First agent in canonical order. Contains id, agent_id, name, and account_id.
object
Second agent in canonical order. Contains id, agent_id, name, and account_id.
string
One of: pending, active, revoked.
string
Effective permission from your perspective. One of: both, send_only, receive_only.
string
Permission as stored (from the proposer’s perspective).
string
Account ID that proposed this pairing.
string|null
Public encryption key for agent A.
integer|null
Key version for agent A.
string|null
Public encryption key for agent B.
integer|null
Key version for agent B.
string
ISO 8601 creation timestamp.
string|null
ISO 8601 timestamp when the pairing was confirmed, or null if still pending.
string|null
ISO 8601 timestamp when the pairing was revoked, or null.

Examples

Response

Errors