List the caller's connections across every org/space

Unified user-scope view of the caller's integration connections under a single shape, grouped by source package. For the user's own credential (cookie session, CLI or instance token) it crosses orgs/spaces by design — does NOT require X-Org-Id. For a delegated or end-user credential the list is scoped to its bound organization, and to its space when it pins one.

GET/api/me/connections

Authorization

better-auth.session_token<token>

Cookie session from Better Auth. Requires X-Org-Id header for org-scoped routes.

In: cookie

curl -X GET "https://your-instance/api/me/connections"
{
  "object": "list",
  "data": [
    {
      "kind": "integration",
      "source_id": "string",
      "display_name": "string",
      "logo": "string",
      "total_connections": 0,
      "connections": [
        {
          "connection_id": "string",
          "kind": "integration",
          "label": "string",
          "scopes_granted": [
            "string"
          ],
          "connected_at": "2019-08-24T14:15:22Z",
          "needs_reconnection": true,
          "expiresAt": "2019-08-24T14:15:22Z",
          "identity": "string",
          "reused_by_agents": 0,
          "auth_key": "string",
          "shared_with_org": true,
          "locked_by": "admin_pin",
          "org": {
            "id": "string",
            "name": "string"
          },
          "space": {
            "id": "string",
            "name": "string"
          }
        }
      ]
    }
  ],
  "hasMore": true
}
{
  "type": "https://docs.appstrate.dev/errors/unauthorized",
  "title": "Unauthorized",
  "status": 401,
  "detail": "Invalid or missing session",
  "code": "unauthorized",
  "request_id": "req_abc123"
}