Connections
The apps one app user has connected, with whether each is reading and when it last did.
- Auth
- read key (project)
- Cost
- free; never refused for your plan
Lists the apps the app user named in X-Alexein-User has connected and not
disconnected. Use it to confirm a connection after the person comes back to your app, to show them which apps
their memory reads, and to find one that needs them to connect again. See
Connect your users' apps.
It takes no arguments; send {}.
Headers
AuthorizationstringrequiredBearer ax_…, an API key. A read key is enough.
X-Alexein-UserstringrequiredThe app user whose connections to list. See App users.
X-Request-IdstringYour id for this request, echoed on the response.
Body
{}objectAn empty object.
Response
connectionsobject[]One entry per connected app. Empty when the app user has none.
connections[].idstringThe connection's id: the connection_id the person came back with, and the id to
disconnect.
connections[].providerstringThe app, such as google-gmail.
connections[].statusstringactive: it is reading. needs_reauth: the app refused access, such as when the person revoked it, and
nothing is read until they connect it again.
connections[].account_labelstring | nullThe account connected, as the app names it, such as an email address. null when the app names none.
connections[].connected_atstring | nullWhen it was connected, in ISO 8601.
connections[].last_sync_atstring | nullWhen it last read the app, in ISO 8601. null until it first has.
connections[].errorstring | nullnull while all is well. Otherwise a sentence to show: The app refused access; the person must connect it again. for needs_reauth, or, on an active connection one of whose sources stopped after repeated failures,
which sources: Reading messages stopped after repeated failures.
Errors
400bad requestX-Alexein-User is missing or not a usable id.
401unauthorizedThe bearer is not a key this service issued.
403forbiddenA personal key, whose own apps are under My memory › Connectors, or the organisation has been closed in the console.
422invalidA body with a field in it.
429too many requestsPast your organisation's rate limits. Retry after Retry-After seconds. See
Limits.
503unavailableConnecting apps cannot be reached just now. Retry after Retry-After seconds.
curl https://api.alexein.ai/v2/connections \
-H "Authorization: Bearer $ALEXEIN_API_KEY" \
-H "X-Alexein-User: user_42" \
-H "Content-Type: application/json" \
-d '{}'{
"connections": [
{
"id": "6f1c2d9e-4b7a-4e3f-9a51-0c8d2e7b4f13",
"provider": "google-gmail",
"status": "active",
"account_label": "alice@example.com",
"connected_at": "2026-12-01T14:08:32Z",
"last_sync_at": "2026-12-01T14:19:05Z",
"error": null
},
{
"id": "0b9e7a4c-2f61-4d38-8c15-7e3a9d2b6f40",
"provider": "slack",
"status": "needs_reauth",
"account_label": "Acme",
"connected_at": "2026-11-20T09:31:47Z",
"last_sync_at": "2026-11-29T22:04:13Z",
"error": "The app refused access; the person must connect it again."
}
]
}Didn’t find what you needed? Ask the team