Skip to main content

ConnectedApp

An AI app the signed-in staff user approved on the consent screen, which still holds a live grant for them in their current organization.

type ConnectedApp {
activeGrantCount: Int!
clientId: String!
clientName: String
firstConnectedAt: DateTime!
lastTokenIssuedAt: DateTime!
scopes: [String!]!
}

Fields​

ConnectedApp.activeGrantCount ● Int! non-null scalar​

Live token families: each approval on the consent screen starts one.

ConnectedApp.clientId ● String! non-null scalar​

The OAuth client_id the app registered with.

ConnectedApp.clientName ● String scalar​

The name the app registered with (client_name), as stored at registration. Null when it registered none.

ConnectedApp.firstConnectedAt ● DateTime! non-null scalar​

When the earliest live grant was first issued.

ConnectedApp.lastTokenIssuedAt ● DateTime! non-null scalar​

When the app was last issued a token (code exchange or refresh).

ConnectedApp.scopes ● [String!]! non-null scalar​

Scopes held across the app's live grants.

Returned By​

myConnectedApps query