List connections
Lists the connections in the environment, newest first, without their settings. Filter by connector, or search by name. Use it to find a connection's name or ID, or to check whether a connector already has a connection; call Get a connection for one connection's settings.
Authorization
Authorization: Bearer $TOKEN, an access token from the client credentials grant. See Authentication.
Query parameters
page_sizeintegerpage_tokenstringnext_page_token from the previous response, to get the next page. Leave it out for the first page.providerstringGMAIL. A connection's provider field holds the same value.querystringgmail. At least 3 characters.scalekit_client.actions.list_app_connections
Lists connections, newest first. Filter by connector with provider, or search by name with query.
scalekit_client.actions.list_app_connections( provider: Optional[str] = None, query: Optional[str] = None, page_size: Optional[int] = None, page_token: Optional[str] = None,) -> AgentKitConnectionListParameters
providerOptional[str]GMAIL. A connection's provider field holds the same value.queryOptional[str]gmail. At least 3 characters.page_sizeOptional[int]page_tokenOptional[str]next_page_token from the previous response, to get the next page. Leave it out for the first page.Returns AgentKitConnectionList.
From scalekit-sdk-python 2.22.0.
scalekit.actions.listAppConnections
Lists connections, newest first. Filter by connector with provider, or search by name with query.
scalekit.actions.listAppConnections( params?: { provider?: string; query?: string; pageSize?: number; pageToken?: string; },): Promise<ListAppConnectionsResponse>Parameters
providerstringGMAIL. A connection's provider field holds the same value.querystringgmail. At least 3 characters.pageSizenumberpageTokenstringnextPageToken from the previous response, to get the next page. Leave it out for the first page.Returns Promise<ListAppConnectionsResponse>.
From @scalekit-sdk/node 2.21.0.
Response 200
connectionsarray of objectShow 6 child attributes
auth_modestring (enum)USER: each user authorizes their own account. ORG_WIDE: one admin-authorized account is shared.USERORG_WIDEconnection_namestringcreate_timestringidstringproviderstringGMAIL.typestring (enum)OAUTH.OIDCSAMLPASSWORDOAUTHPASSWORDLESSBASICBEARERAPI_KEYWEBAUTHNOAUTH_M2MTRELLO_OAUTH1GOOGLE_DWDTRUSTED_IDPSMART_FHIRNO_AUTHnext_page_tokenstringpage_token to get the next page. Empty on the last page.prev_page_tokenstringpage_token to get the previous page.total_sizeintegerErrors
Every error has the same body: code, message and details. See Errors and rate limits.
400Invalid request - for example, query is shorter than 3 characters.401Authentication required - missing or invalid access token