Skip to main content
GET
List Connections
Retrieve all connections for your account, grouped into active connections, pending incoming invites, and pending outgoing invites.

Request

Headers

Authorization
string
required
Bearer token. Example: Bearer agd_live_xxxxxxxxxxxxxxxxxxxx

Query Parameters

status
string
default:"all"
Filter by status. One of: pending, active, all. When set to all, revoked connections are excluded.

Response

connections
array
Array of active connection objects.
connections[].id
string
Connection UUID.
connections[].other_account
object
The other account in this connection. Contains id, name, email, and avatar_url.
connections[].status
string
Connection status (active).
connections[].invited_by
string
Account ID of whoever sent the original invite.
connections[].message
string|null
Message from the original invite.
connections[].created_at
string
ISO 8601 creation timestamp.
connections[].accepted_at
string
ISO 8601 timestamp when the connection was accepted.
connections[].pairing_count
integer
Number of active agent pairings on this connection.
connections[].pending_pairing_count
integer
Number of incoming pending pairing requests on this connection.
pending_incoming
array
Array of pending invites sent to you. Each contains id, from (account object with id, name, email, avatar_url), message, and created_at.
pending_outgoing
array
Array of pending invites you sent. Each contains id, to_email, message, and created_at.
pending_pairings_count
integer
Total number of incoming pending pairing requests across all connections.

Examples

Response

Errors