Skip to Content
Xeonr Developer Docs
API SpecificationConnections

List a team's git connections

POST
/xeonr.functions.v2.ConnectionsService/ListConnections

Lists a team's provider authorisations, oldest first: GitHub App installations and GitLab access. Each comes with the account it covers, when its credential expires, and how many functions deploy through it. ownerTeam (a team URN or slug) needs the viewer role in that team. Pages default to 50 connections and are capped at 500 (limit); pass nextCursor back as cursor until it comes back empty.

Callable with a console session or a team API key (Authorization: Bearer xk_…).

Required scopes: functions:functions:read

Authorization

BearerAuth
AuthorizationBearer <token>

A team API key, created by a team admin in the console and presented as Authorization: Bearer xk_…. Xeonr Auth issues and verifies it; the secret is shown once at creation and stored only as a hash, and a revoked key stops working within 30 seconds. An existing fnt_… token is accepted the same way.

In: header

Header Parameters

Connect-Protocol-Version*number

Define the version of the Connect protocol

Value in1
Connect-Timeout-Ms?number

Define the timeout, in ms

Request Body

application/json

ownerTeam?string
Match^[A-Za-z0-9:._-]+$
Length1 <= length <= 255
cursor?string

cursor is a previous response's next_cursor; empty for the first page.

limit?integer

limit is the page size: 0 means the default of 50, at most 500.

Rangevalue <= 500
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://functions.xeonr.io/xeonr.functions.v2.ConnectionsService/ListConnections" \  -H "Connect-Protocol-Version: 1" \  -H "Content-Type: application/json" \  -d '{}'
{
  "connections": [
    "map[account:acme authMode:AUTH_MODE_GITHUB_APP connectionId:gc-5e8d1f0a3b7c9246 createdAt:2026-10-22T09:30:00Z functions:4 installationId:48213907 ownerTeam:urn:xeonr:auth:team:0f6b5f8c-3d2a-4c1e-9b7a-6e2d1c4f8a90 provider:GIT_PROVIDER_GITHUB]"
  ],
  "nextCursor": "50"
}