A member sees their own; a tenant admin sees every one, unless owner=me. Removed connections are listed only with state=removed, or with the others under includeRemoved=true. A key or session limited to a project lists the connections its runs there may use, as projectId does; another projectId is 403 key-project-mismatch.
Where the previous page ended: its nextCursor, as it came. A runtime that seals cursors takes one only for the same list, filters and caller, within a day; otherwise 400 bad-input, and the list starts again without it. Absent → first page.
One owner’s account at an app, through a registration, in one env. Never its token.
object
connectionId
required
stringformat: uuid
envName
required
string
appId
required
The registration it goes through.
stringformat: uuid
app
required
The app’s entry id.
string
owner
required
Who owns a connection: one member (kind: member, with their userId), or the company (kind: company, the workspace’s own account).
object
kind
required
string
Allowed values: membercompany
userId
The member. Present when kind is member.
string
account
required
Whose account a connection is at the app.
object
id
required
The account’s stable id at the app.
string
label
required
What people see: an email address, a login, a Page’s name.
string
label
The name people know it by: the one asked for at the connect, else the account’s label. Absent on a connection made before connections had names; show account.label then.
string
main
Only ever true: the person’s main connection through its registration in its env, the one their agents use when no choice names another. A person’s first connection has none; their second connection makes the first their main. The company’s has none.
boolean
permissions
required
The entry’s permission keys the app granted.
Array<string>
state
required
working: runs can use it. needs-reconnecting: the app no longer accepts it; connect again. removing: a disconnect is under way. removed: gone.
Why it’s in its state: invalid-grant (the app withdrew the grant), no-refresh-token (the app gave no way to renew it), token-missing (its stored token is gone), store-write-failed (its token couldn’t be stored at the connect), installation-missing (the GitHub App was uninstalled from the account), installation-permissions (an owner took permissions from the installation), suspended (the installation was suspended), sessions-revoked (Google revoked the person’s sessions), access-expired (the app gave no refresh token, and its access token ends within a minute, or has ended), credential-refused (the provider refused the registration’s credential: update the registration’s secret, then reconnect). Other values may be added; state says what to do.
string
installationId
A GitHub App’s installation.
string
accessEndsAt
When its access token ends, for a connection the app gave no refresh token. From one minute before then, it needs reconnecting (access-expired), and reads say so too. Absent for one that renews.
stringformat: date-time
connectedAt
required
When its current grant was stored: the connect, or the last reconnect.
stringformat: date-time
lastUsedAt
When a run last used it, to the hour.
stringformat: date-time
lastProvenInboundAt
A number’s (texts): when a text last arrived for it with a good signature. Absent for other apps, and until one has.
stringformat: date-time
textsThisMonth
A number’s (texts) texts in the current month, by UTC. Absent for other apps.
object
received
required
integer
sent
required
integer
unanswered
required
The texts received with nothing to answer them.
integer
createdAt
required
stringformat: date-time
createdBy
required
string
updatedAt
required
stringformat: date-time
removedAt
stringformat: date-time
removedBy
string
removedReason
Why it was removed: disconnected (someone disconnected it), revoked-at-app (the app said its access was withdrawn there), uninstalled (the app was uninstalled there), registration-removed (its app’s registration was removed), replaced (a new connection replaced it), owner-removed (the person who owned it was removed from the workspace).
What a removal did at the app. at-app: access was withdrawn there. app-failed: the app refused the revoke; the token is gone here all the same. kept-for-other-connection: another live connection uses the same grant. not-supported: the app has no revoke that would touch only this connection.
rate-limit-exceeded with details.limit: "api-requests", on a runtime that sets workspace limits (Kindgi Cloud): this workspace’s limit on API requests a minute is reached, so the request wasn’t run; Retry-After says when to send it again.
Media typeapplication/json
object
error
required
object
code
required
Stable machine-readable discriminant. Values match domain error codes (see docs/API-ROUTE-CONVENTIONS.md §4.3).
string
message
required
string
details
Optional, kind-specific.
object
key
additional properties
any
requestId
required
Server-assigned request id; also echoed via X-Request-Id header.
The database was too busy to answer in time (database-busy), or the authorization store couldn’t be reached (authz-backend-unavailable); Retry-After (whole seconds) says when to try again.
Media typeapplication/json
object
error
required
object
code
required
Stable machine-readable discriminant. Values match domain error codes (see docs/API-ROUTE-CONVENTIONS.md §4.3).
string
message
required
string
details
Optional, kind-specific.
object
key
additional properties
any
requestId
required
Server-assigned request id; also echoed via X-Request-Id header.