Skip to main content
GET
Get one connected account

Authorizations

Authorization
string
header
required

A Recursion API key, created in the console under API keys.

Headers

x-tenant-id
string

Optional tenant consistency check. When present, it must name the tenant bound to the API key, including when x-organization-id is default.

Minimum string length: 1
x-organization-id
string

Organization in which to act. Required for a tenant-scoped API key. Optional for an organization-scoped key, where it must name that same organization. The value may be an organization id or default.

Minimum string length: 1

Path Parameters

connectionId
string<uuid>
required

Integration connection id (UUID) as returned by managedAgentsListIntegrationConnections.

Response

An organization's link to a third-party account, created by installing an integration such as the GitHub App. It holds no secret itself; grant it to an agent so sessions can mint short-lived provider credentials from it.

An organization's link to a third-party account, created by installing an integration such as the GitHub App. It holds no secret itself; grant it to an agent so sessions can mint short-lived provider credentials from it.

connection_id
string
required
read-only

Identifier for this connection (UUID). Server-assigned. Cite it when granting an agent access to the integration.

created_at
string<date-time>
required
read-only

RFC 3339 timestamp of when this record was created. Server-assigned.

external_id
string
required
read-only

The provider's own identifier for the link, which token minting addresses. The installation id for GitHub; the composite {api_app_id}:{team_id} for authorized Slack connections; custom Slack setup not yet authorized uses pending:; the customer service-account email for Google Cloud.

organization_id
string
required
read-only

Organization that owns this record. Resolved from the API key; never accepted from the caller.

provider
string
required
read-only

Stable slug of the third-party integration adapter this connection uses.

state
string
required
read-only

Lifecycle of the connection: pending was registered directly and waits for provider setup (a trust probe or registered OAuth sign-in activates it), active can mint tokens, suspended is restorable at the provider and resolves to no credential, revoked was uninstalled and must be installed again.

updated_at
string<date-time>
required
read-only

RFC 3339 timestamp of the last change to this record. Server-assigned.

account_login
string
read-only

Name of the connected third-party account, e.g. the GitHub org or user login. Cached at install time for display, so no provider call is needed to show it.

account_type
string
read-only

Kind of account that was connected, as the provider reports it, e.g. Organization or User for GitHub and workspace for Slack.

availableMcpTools
string[]
read-only

On connection list, get, install-completion, and selection-update responses for a custom Slack app, Slack tools supported by its granted bot scopes and catalog availability. Some catalog tools remain unavailable regardless of scopes. Absent for non-custom connections; absence for a custom connection means no tools are available.

connected_by
string
read-only

User who added the connection or most recently completed its install or sign-in. Some later changes, such as activation by a check or a Sentry token replacement, keep it. Recorded for audit.

lastCheck
object
read-only

Latest saved connection health evidence, with the time it was observed. Within one authorization, a more serious custom Slack failure code (app token, then client credentials, then bot scope drift) replaces a less serious one regardless of observation time; lower priority and older equal priority evidence is not saved. Historical evidence, not a guarantee of current availability. Absent until health evidence has been saved.

mcpTools
string[]
read-only

Native GitHub or Slack MCP tools selected for this organization, plus any tool a selected one implies (the GitHub wait_for_pr tool comes with pull_request_read). Slack user connections default to read tools; posting as the member must be selected explicitly. Other connections with no saved selection get every supported tool except opt-in tools that delete data. Custom Slack app selections are limited to availableMcpTools, which reflects granted bot scopes and catalog availability.

mergeAccountLabel
string
read-only

Operator-assigned name for this connection. Required for a named built-in vendor account. Until a name is set, an unnamed built-in vendor connection is named by its app (account_type, or external_id when that is empty) and any other connection by account_login (or its external_id when that is empty); a set name can be changed but not cleared. Agents see the name of a built-in vendor connection beside the connector; it never changes routing, tool access or tool names.

permissions
object
read-only

What the provider granted the install, as permission name to access level (e.g. contents: write). Used to narrow a minted token without a provider round trip and to explain why a permission preset is unavailable.

resource_selection
string
read-only

Whether the install covers all of the account's resources or only chosen ones: all or selected. Absent when unknown, for example when a provider's granted-access lookup failed; do not read absence as all. Informational only; the authoritative list stays at the provider.

usage
object
read-only

Runtime usage counts, supplied on the connection list unless it is read with view=summary.