API

AgentIntegration

Operations

Every route this entity exposes. Each route links to its own reference on this page.

Method Route SDK operation Returns
POST /api/v1/organizations/{organization_id}/agent_integrations/{id}/authorize create Connection response
POST /api/v1/organizations/{organization_id}/agent_integrations/{id}/cancel_sign_in create Success
POST /api/v1/organizations/{organization_id}/agent_integrations/{id}/complete create Connection response
POST /api/v1/organizations/{organization_id}/agent_integrations/custom_mcp create Organization MCP connection created
POST /api/v1/organizations/{organization_id}/agent_integrations/{id}/disconnect create Connection response
POST /api/v1/organizations/{organization_id}/agent_integrations/{id}/sharing create Connection response
POST /api/v1/organizations/{organization_id}/agent_integrations/{id}/sync create Connection response
POST /api/v1/organizations/{organization_id}/agent_integrations create Connection response
GET /api/v1/organizations/{organization_id}/agent_integrations/{id} load Connection response
GET /api/v1/organizations/{organization_id}/agent_integrations load Connection response
GET /api/v1/organizations/{organization_id}/agent_integrations/catalog load Integration catalog
GET /api/v1/organizations/{organization_id}/agent_integrations/github load Current GitHub App repository scope without Verify projects or source imports
DELETE /api/v1/organizations/{organization_id}/agent_integrations/{id} remove Success

Examples

One example per SDK, generated from the API model. The argument names are the parameters and fields of this entity, and the values are placeholders. The examples are not compiled or executed.

Golang

Construct client as shown in the Golang setup, then call the operations:

agent_integration, err := client.AgentIntegration(nil).Load(map[string]any{"organization_id": "example"}, nil)
if err != nil {
    panic(err)
}
fmt.Println(agent_integration)
created, err := client.AgentIntegration(nil).Create(map[string]any{"organization_id": "example", "name": "example", "toolkit": "example"}, nil)
if err != nil {
    panic(err)
}
fmt.Println(created)
removed, err := client.AgentIntegration(nil).Remove(map[string]any{"id": "example_id", "organization_id": "example"}, nil)
if err != nil {
    panic(err)
}
fmt.Println(removed)

Lua

Construct client as shown in the Lua setup, then call the operations:

local agent_integration, err = client:AgentIntegration():load({ organization_id = "example" })
local created, err = client:AgentIntegration():create({ organization_id = "example", name = "example", toolkit = "example" })
local removed, err = client:AgentIntegration():remove({ id = "example_id", organization_id = "example" })

PHP

Construct client as shown in the PHP setup, then call the operations:

$agent_integration = $client->AgentIntegration()->load(["organization_id" => "example"]);
$created = $client->AgentIntegration()->create(["organization_id" => "example", "name" => "example", "toolkit" => "example"]);
$client->AgentIntegration()->remove(["id" => "example_id", "organization_id" => "example"]);

Python

Construct client as shown in the Python setup, then call the operations:

agent_integration = client.AgentIntegration().load({"organization_id": "example"})
created = client.AgentIntegration().create({ "organization_id": "example", "name": "example", "toolkit": "example" })
client.AgentIntegration().remove({"id": "example_id", "organization_id": "example"})

Ruby

Construct client as shown in the Ruby setup, then call the operations:

agent_integration = client.AgentIntegration.load({ "organization_id" => "example" })
created = client.AgentIntegration.create({ "organization_id" => "example", "name" => "example", "toolkit" => "example" })
client.AgentIntegration.remove({ "id" => "example_id", "organization_id" => "example" })

TypeScript

Construct client as shown in the TypeScript setup, then call the operations:

const agent_integration = await client.AgentIntegration().load({ organization_id: "example" })
const created = await client.AgentIntegration().create({ organization_id: "example", name: "example", toolkit: "example" })
await client.AgentIntegration().remove({ id: "example_id", organization_id: "example" })

Fields

Field Type Required Description
account_counts object Yes Accounts the viewer can see per toolkit, across all account pages.
can_cancel_sign_in boolean No The viewer can cancel the unfinished authorization attempt.
can_delete boolean Yes Can Delete
can_disconnect boolean Yes Can Disconnect
can_enable boolean Yes Can Enable
can_manage boolean Yes Can Manage
can_manage_sharing boolean Yes Can Manage Sharing
can_reconnect boolean Yes Can Reconnect
can_sync boolean Yes The viewer's own sign-in is waiting; their app may ask Rails whether the browser finished.
catalog array Yes Catalog
connected_by one,string,null Yes Name of the person whose sign-in this account is.
connected_by_you boolean Yes True when the viewer is the person whose sign-in this account is.
connected_counts object Yes Signed-in accounts per toolkit, across all account pages.
connections array Yes Connections
creation_key string No Stable identity for retrying this creation; retain it after an uncertain response.
creation_key_digest one,string,null No SHA-256 of the unfinished setup key for its original creator.
generation integer Yes Generation
id string Yes Id
name string Yes Name
pagination object Yes Pagination
pending_counts object Yes Accounts per toolkit whose sign-in was started but not finished, across all account pages.
provider_disabled_reason one,string,null Yes Provider Disabled Reason
provider_identity object Yes Provider Identity
provider_name one,string,null Yes The app's display name; null for a custom MCP server, which uses the account name.
reference string Yes Pins this account's current authorization, as agent_connection_ID:GENERATION.
sharing_status string No Agent account audience, including legacy personal and paused access.
status string Yes Status
team_sharing_enabled boolean Yes Team Sharing Enabled
team_sharing_version integer Yes Team Sharing Version
toolkit string Yes Toolkit

create

POST /api/v1/organizations/{organization_id}/agent_integrations/{id}/authorize

Operation ID: organizationAgentIntegrationsAuthorize.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
organization_id path string Yes
id path string Yes

Request body

application/json

Property Type Required Description
callback enum: app No Return the browser to a page that finishes the sign-in without a Composal session, for the desktop app.
enable_for_agent string No An agent the caller can change; Rails switches the account on for it once the sign-in finishes.
return_agent string No The agent whose Integrations started this; the callback page links back to it.

Responses

200: Connection response

application/json

Property Type Required Description
expires_at string,null (date-time) Yes
redirect_url string,null (uri) Yes
401: Authentication required
403: Connection owner access required
404: Connection or feature not found
422: Invalid connection input
502: Bad gateway
503: Connection provider unavailable

POST /api/v1/organizations/{organization_id}/agent_integrations/{id}/cancel_sign_in

Operation ID: cancel_sign_in_api_v1_organization_agent_integration.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
organization_id path string Yes
id path string Yes

Request body

application/json

Property Type Required Description
expected_generation integer Yes The authorization generation displayed on the unfinished account.

Responses

200: Success

application/json

The response is object.

204: Sign-in cancelled
401: Unauthorized
403: Team account management access required
404: Account no longer available
409: Sign-in changed or already finished
422: Invalid authorization generation
502: Bad gateway

POST /api/v1/organizations/{organization_id}/agent_integrations/{id}/complete

Operation ID: organizationAgentIntegrationsComplete.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
organization_id path string Yes
id path string Yes

Request body

application/json

Property Type Required Description
code string No Required for direct Spacesheep OAuth; omit for Composio connections.
state string Yes

Responses

200: Connection response

application/json

Property Type Required Description
connection object Yes
connection.can_cancel_sign_in boolean No The viewer can cancel the unfinished authorization attempt.
connection.can_delete boolean Yes
connection.can_disconnect boolean Yes
connection.can_enable boolean Yes
connection.can_manage_sharing boolean Yes
connection.can_reconnect boolean Yes
connection.can_sync boolean Yes The viewer's own sign-in is waiting; their app may ask Rails whether the browser finished.
connection.connected_by string,null Yes Name of the person whose sign-in this account is.
connection.connected_by_you boolean Yes True when the viewer is the person whose sign-in this account is.
connection.creation_key_digest string,null No SHA-256 of the unfinished setup key for its original creator.
connection.generation integer Yes
connection.id string Yes
connection.name string Yes
connection.provider_disabled_reason string,null Yes
connection.provider_identity object Yes
connection.provider_identity.account_label string Yes
connection.provider_identity.checked_at string (date-time) Yes
connection.provider_identity.status enum: verified, unavailable Yes
connection.provider_identity.workspace_label string Yes
connection.provider_name string,null Yes The app's display name; null for a custom MCP server, which uses the account name.
connection.reference string Yes Pins this account's current authorization, as agent_connection_ID:GENERATION.
connection.sharing_status enum: team, private, personal, paused No Agent account audience, including legacy personal and paused access.
connection.status enum: pending, active, expired, revoked, error Yes
connection.team_sharing_enabled boolean Yes
connection.team_sharing_version integer Yes
connection.toolkit string Yes
401: Authentication required
403: Connection owner access required
404: Connection or feature not found
422: Invalid connection input
502: Bad gateway
503: Connection provider unavailable

POST /api/v1/organizations/{organization_id}/agent_integrations/custom_mcp

Operation ID: organizationAgentIntegrationCustomMcp.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
organization_id path string Yes
Idempotency-Key header string Yes

Request body

application/json

Property Type Required Description
auth_mode enum: NO_AUTH, API_KEY, DCR_OAUTH Yes
discovery_url string No
name string Yes
url string Yes

Responses

200: Organization MCP connection created

application/json

Property Type Required Description
connection object Yes
connection.can_cancel_sign_in boolean No The viewer can cancel the unfinished authorization attempt.
connection.can_delete boolean Yes
connection.can_disconnect boolean Yes
connection.can_enable boolean Yes
connection.can_manage_sharing boolean Yes
connection.can_reconnect boolean Yes
connection.can_sync boolean Yes The viewer's own sign-in is waiting; their app may ask Rails whether the browser finished.
connection.connected_by string,null Yes Name of the person whose sign-in this account is.
connection.connected_by_you boolean Yes True when the viewer is the person whose sign-in this account is.
connection.creation_key_digest string,null No SHA-256 of the unfinished setup key for its original creator.
connection.generation integer Yes
connection.id string Yes
connection.name string Yes
connection.provider_disabled_reason string,null Yes
connection.provider_identity object Yes
connection.provider_identity.account_label string Yes
connection.provider_identity.checked_at string (date-time) Yes
connection.provider_identity.status enum: verified, unavailable Yes
connection.provider_identity.workspace_label string Yes
connection.reference string Yes Pins this account's current authorization, as agent_connection_ID:GENERATION.
connection.sharing_status enum: team, private, personal, paused No Agent account audience, including legacy personal and paused access.
connection.status enum: pending, active, expired, revoked, error Yes
connection.team_sharing_enabled boolean Yes
connection.team_sharing_version integer Yes
connection.toolkit string Yes
201: Organization MCP connection created

application/json

Property Type Required Description
connection object Yes
connection.can_cancel_sign_in boolean No The viewer can cancel the unfinished authorization attempt.
connection.can_delete boolean Yes
connection.can_disconnect boolean Yes
connection.can_enable boolean Yes
connection.can_manage_sharing boolean Yes
connection.can_reconnect boolean Yes
connection.can_sync boolean Yes The viewer's own sign-in is waiting; their app may ask Rails whether the browser finished.
connection.connected_by string,null Yes Name of the person whose sign-in this account is.
connection.connected_by_you boolean Yes True when the viewer is the person whose sign-in this account is.
connection.creation_key_digest string,null No SHA-256 of the unfinished setup key for its original creator.
connection.generation integer Yes
connection.id string Yes
connection.name string Yes
connection.provider_disabled_reason string,null Yes
connection.provider_identity object Yes
connection.provider_identity.account_label string Yes
connection.provider_identity.checked_at string (date-time) Yes
connection.provider_identity.status enum: verified, unavailable Yes
connection.provider_identity.workspace_label string Yes
connection.reference string Yes Pins this account's current authorization, as agent_connection_ID:GENERATION.
connection.sharing_status enum: team, private, personal, paused No Agent account audience, including legacy personal and paused access.
connection.status enum: pending, active, expired, revoked, error Yes
connection.team_sharing_enabled boolean Yes
connection.team_sharing_version integer Yes
connection.toolkit string Yes
401: Unauthorized
403: Forbidden
404: Not found
422: Unprocessable entity
502: Bad gateway

POST /api/v1/organizations/{organization_id}/agent_integrations/{id}/disconnect

Operation ID: organizationAgentIntegrationsDisconnect.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
organization_id path string Yes
id path string Yes

Request body

application/json

The request body is object.

Responses

200: Connection response

application/json

Property Type Required Description
connection object Yes
connection.can_cancel_sign_in boolean No The viewer can cancel the unfinished authorization attempt.
connection.can_delete boolean Yes
connection.can_disconnect boolean Yes
connection.can_enable boolean Yes
connection.can_manage_sharing boolean Yes
connection.can_reconnect boolean Yes
connection.can_sync boolean Yes The viewer's own sign-in is waiting; their app may ask Rails whether the browser finished.
connection.connected_by string,null Yes Name of the person whose sign-in this account is.
connection.connected_by_you boolean Yes True when the viewer is the person whose sign-in this account is.
connection.creation_key_digest string,null No SHA-256 of the unfinished setup key for its original creator.
connection.generation integer Yes
connection.id string Yes
connection.name string Yes
connection.provider_disabled_reason string,null Yes
connection.provider_identity object Yes
connection.provider_identity.account_label string Yes
connection.provider_identity.checked_at string (date-time) Yes
connection.provider_identity.status enum: verified, unavailable Yes
connection.provider_identity.workspace_label string Yes
connection.reference string Yes Pins this account's current authorization, as agent_connection_ID:GENERATION.
connection.sharing_status enum: team, private, personal, paused No Agent account audience, including legacy personal and paused access.
connection.status enum: pending, active, expired, revoked, error Yes
connection.team_sharing_enabled boolean Yes
connection.team_sharing_version integer Yes
connection.toolkit string Yes
401: Authentication required
403: Connection owner access required
404: Connection or feature not found
422: Invalid connection input
502: Bad gateway
503: Connection provider unavailable

POST /api/v1/organizations/{organization_id}/agent_integrations/{id}/sharing

Operation ID: organizationAgentIntegrationsSharing.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
organization_id path string Yes
id path string Yes

Request body

application/json

The request body is object or object.

Responses

200: Connection response

application/json

Property Type Required Description
connection object Yes
connection.can_cancel_sign_in boolean No The viewer can cancel the unfinished authorization attempt.
connection.can_delete boolean Yes
connection.can_disconnect boolean Yes
connection.can_enable boolean Yes
connection.can_manage_sharing boolean Yes
connection.can_reconnect boolean Yes
connection.can_sync boolean Yes The viewer's own sign-in is waiting; their app may ask Rails whether the browser finished.
connection.connected_by string,null Yes Name of the person whose sign-in this account is.
connection.connected_by_you boolean Yes True when the viewer is the person whose sign-in this account is.
connection.creation_key_digest string,null No SHA-256 of the unfinished setup key for its original creator.
connection.generation integer Yes
connection.id string Yes
connection.name string Yes
connection.provider_disabled_reason string,null Yes
connection.provider_identity object Yes
connection.provider_identity.account_label string Yes
connection.provider_identity.checked_at string (date-time) Yes
connection.provider_identity.status enum: verified, unavailable Yes
connection.provider_identity.workspace_label string Yes
connection.reference string Yes Pins this account's current authorization, as agent_connection_ID:GENERATION.
connection.sharing_status enum: team, private, personal, paused No Agent account audience, including legacy personal and paused access.
connection.status enum: pending, active, expired, revoked, error Yes
connection.team_sharing_enabled boolean Yes
connection.team_sharing_version integer Yes
connection.toolkit string Yes
401: Authentication required
403: Connection owner access required
404: Connection or feature not found
409: Account sharing or authorization changed; refresh and retry
422: Invalid connection input
502: Bad gateway
503: Connection provider unavailable

POST /api/v1/organizations/{organization_id}/agent_integrations/{id}/sync

Operation ID: organizationAgentIntegrationsSync.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
organization_id path string Yes
id path string Yes

Request body

application/json

The request body is object.

Responses

200: Connection response

application/json

Property Type Required Description
connection object Yes
connection.can_cancel_sign_in boolean No The viewer can cancel the unfinished authorization attempt.
connection.can_delete boolean Yes
connection.can_disconnect boolean Yes
connection.can_enable boolean Yes
connection.can_manage_sharing boolean Yes
connection.can_reconnect boolean Yes
connection.can_sync boolean Yes The viewer's own sign-in is waiting; their app may ask Rails whether the browser finished.
connection.connected_by string,null Yes Name of the person whose sign-in this account is.
connection.connected_by_you boolean Yes True when the viewer is the person whose sign-in this account is.
connection.creation_key_digest string,null No SHA-256 of the unfinished setup key for its original creator.
connection.generation integer Yes
connection.id string Yes
connection.name string Yes
connection.provider_disabled_reason string,null Yes
connection.provider_identity object Yes
connection.provider_identity.account_label string Yes
connection.provider_identity.checked_at string (date-time) Yes
connection.provider_identity.status enum: verified, unavailable Yes
connection.provider_identity.workspace_label string Yes
connection.reference string Yes Pins this account's current authorization, as agent_connection_ID:GENERATION.
connection.sharing_status enum: team, private, personal, paused No Agent account audience, including legacy personal and paused access.
connection.status enum: pending, active, expired, revoked, error Yes
connection.team_sharing_enabled boolean Yes
connection.team_sharing_version integer Yes
connection.toolkit string Yes
401: Authentication required
403: Connection owner or admin access required
404: Connection or feature not found
422: Invalid connection input
502: Bad gateway
503: Connection provider unavailable

POST /api/v1/organizations/{organization_id}/agent_integrations

Operation ID: organizationAgentIntegrationsPost.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
organization_id path string Yes
Idempotency-Key header string No Must match the explicit creation_key body field when supplied.

Request body

application/json

Property Type Required Description
creation_key string No Stable identity for retrying this creation; retain it after an uncertain response.
name string Yes
toolkit string Yes

Responses

200: Connection response

application/json

Property Type Required Description
connection object Yes
connection.can_cancel_sign_in boolean No The viewer can cancel the unfinished authorization attempt.
connection.can_delete boolean Yes
connection.can_disconnect boolean Yes
connection.can_enable boolean Yes
connection.can_manage_sharing boolean Yes
connection.can_reconnect boolean Yes
connection.can_sync boolean Yes The viewer's own sign-in is waiting; their app may ask Rails whether the browser finished.
connection.connected_by string,null Yes Name of the person whose sign-in this account is.
connection.connected_by_you boolean Yes True when the viewer is the person whose sign-in this account is.
connection.creation_key_digest string,null No SHA-256 of the unfinished setup key for its original creator.
connection.generation integer Yes
connection.id string Yes
connection.name string Yes
connection.provider_disabled_reason string,null Yes
connection.provider_identity object Yes
connection.provider_identity.account_label string Yes
connection.provider_identity.checked_at string (date-time) Yes
connection.provider_identity.status enum: verified, unavailable Yes
connection.provider_identity.workspace_label string Yes
connection.reference string Yes Pins this account's current authorization, as agent_connection_ID:GENERATION.
connection.sharing_status enum: team, private, personal, paused No Agent account audience, including legacy personal and paused access.
connection.status enum: pending, active, expired, revoked, error Yes
connection.team_sharing_enabled boolean Yes
connection.team_sharing_version integer Yes
connection.toolkit string Yes
201: Connection response

application/json

Property Type Required Description
connection object Yes
connection.can_cancel_sign_in boolean No The viewer can cancel the unfinished authorization attempt.
connection.can_delete boolean Yes
connection.can_disconnect boolean Yes
connection.can_enable boolean Yes
connection.can_manage_sharing boolean Yes
connection.can_reconnect boolean Yes
connection.can_sync boolean Yes The viewer's own sign-in is waiting; their app may ask Rails whether the browser finished.
connection.connected_by string,null Yes Name of the person whose sign-in this account is.
connection.connected_by_you boolean Yes True when the viewer is the person whose sign-in this account is.
connection.creation_key_digest string,null No SHA-256 of the unfinished setup key for its original creator.
connection.generation integer Yes
connection.id string Yes
connection.name string Yes
connection.provider_disabled_reason string,null Yes
connection.provider_identity object Yes
connection.provider_identity.account_label string Yes
connection.provider_identity.checked_at string (date-time) Yes
connection.provider_identity.status enum: verified, unavailable Yes
connection.provider_identity.workspace_label string Yes
connection.reference string Yes Pins this account's current authorization, as agent_connection_ID:GENERATION.
connection.sharing_status enum: team, private, personal, paused No Agent account audience, including legacy personal and paused access.
connection.status enum: pending, active, expired, revoked, error Yes
connection.team_sharing_enabled boolean Yes
connection.team_sharing_version integer Yes
connection.toolkit string Yes
401: Authentication required
403: Connection owner access required
404: Connection or feature not found
409: Creation key belongs to different original input
422: Invalid connection input
502: Bad gateway
503: Connection provider unavailable

load

GET /api/v1/organizations/{organization_id}/agent_integrations/{id}

Operation ID: organizationAgentIntegrationGet.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
organization_id path string Yes
id path string Yes

Responses

200: Connection response

application/json

Property Type Required Description
connection object Yes
connection.can_cancel_sign_in boolean No The viewer can cancel the unfinished authorization attempt.
connection.can_delete boolean Yes
connection.can_disconnect boolean Yes
connection.can_enable boolean Yes
connection.can_manage_sharing boolean Yes
connection.can_reconnect boolean Yes
connection.can_sync boolean Yes The viewer's own sign-in is waiting; their app may ask Rails whether the browser finished.
connection.connected_by string,null Yes Name of the person whose sign-in this account is.
connection.connected_by_you boolean Yes True when the viewer is the person whose sign-in this account is.
connection.creation_key_digest string,null No SHA-256 of the unfinished setup key for its original creator.
connection.generation integer Yes
connection.id string Yes
connection.name string Yes
connection.provider_disabled_reason string,null Yes
connection.provider_identity object Yes
connection.provider_identity.account_label string Yes
connection.provider_identity.checked_at string (date-time) Yes
connection.provider_identity.status enum: verified, unavailable Yes
connection.provider_identity.workspace_label string Yes
connection.provider_name string,null Yes The app's display name; null for a custom MCP server, which uses the account name.
connection.reference string Yes Pins this account's current authorization, as agent_connection_ID:GENERATION.
connection.sharing_status enum: team, private, personal, paused No Agent account audience, including legacy personal and paused access.
connection.status enum: pending, active, expired, revoked, error Yes
connection.team_sharing_enabled boolean Yes
connection.team_sharing_version integer Yes
connection.toolkit string Yes
401: Authentication required
403: Connection owner access required
404: Connection or feature not found
422: Invalid connection input
502: Bad gateway
503: Connection provider unavailable

GET /api/v1/organizations/{organization_id}/agent_integrations

Operation ID: organizationAgentIntegrationsGet.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
organization_id path string Yes
q query string No
toolkit query string No
cursor query string No
limit query integer No
enableable query boolean No When true, only connected accounts an agent can be given now.

Responses

200: Connection response

application/json

Property Type Required Description
account_counts object Yes Accounts the viewer can see per toolkit, across all account pages.
can_manage boolean Yes
catalog array of object Yes
catalog[].actions array of object Yes
catalog[].actions[].allowed_arguments array of string Yes
catalog[].actions[].input_schema object Yes
catalog[].actions[].name string Yes
catalog[].actions[].resource_argument string Yes
catalog[].actions[].slug string Yes
catalog[].actions[].write boolean Yes
catalog[].agent_tools boolean No
catalog[].authentication enum: composio_connect_link, spacesheep_oauth, unipile_hosted_auth Yes
catalog[].can_create_account boolean No Whether another account can be created directly from this provider. Custom MCP endpoints use the MCP setup form.
catalog[].catalog_section enum: generative_media, ai_machine_learning, productivity_project_management, communication, crm_sales_support, marketing_social, ... No Server-owned grouping in the agent integration catalog.
catalog[].category string No Short product label, such as CRM or Email.
catalog[].certification enum: preview, unavailable Yes
catalog[].consent object Yes
catalog[].consent.branding_summary string Yes
catalog[].consent.checked_at string Yes
catalog[].consent.configured_scopes array of string Yes
catalog[].consent.effective_grants enum: unknown Yes
catalog[].consent.limitations string Yes
catalog[].consent.method enum: OAUTH2, DCR_OAUTH Yes
catalog[].consent.method_label string Yes
catalog[].consent.permission_model enum: oauth_scopes, shared_pages_and_capabilities, workspace_and_plan Yes
catalog[].consent.provenance string Yes
catalog[].consent.provider_app enum: composio_managed, dynamic_registration Yes
catalog[].consent.provider_consent_branding enum: unverified Yes
catalog[].consent.sources array of string Yes
catalog[].consent.summary string Yes
catalog[].consent.upstream_only_methods array of string Yes
catalog[].consent.verification_summary string Yes
catalog[].description string No One-line catalog description of the app.
catalog[].disabled_reason string,null No
catalog[].limits object Yes
catalog[].limits.resources_per_action integer Yes
catalog[].limits.response_bytes integer Yes
catalog[].name string Yes
catalog[].policy_digest string Yes
catalog[].schema_version enum: 2 Yes
catalog[].toolkit string Yes
catalog[].triggers array of object Yes
catalog[].triggers[].defaults object Yes
catalog[].triggers[].delivery string Yes
catalog[].triggers[].latency string Yes
catalog[].triggers[].name string Yes
catalog[].triggers[].schema object Yes
catalog[].triggers[].slug string Yes
catalog[].triggers[].status string Yes
catalog[].triggers[].toolkit string Yes
catalog[].triggers[].version string Yes
catalog[].version string Yes
connected_counts object Yes Signed-in accounts per toolkit, across all account pages. Only these make an app read as connected.
connections array of object Yes
connections[].can_cancel_sign_in boolean No The viewer can cancel the unfinished authorization attempt.
connections[].can_delete boolean Yes
connections[].can_disconnect boolean Yes
connections[].can_enable boolean Yes
connections[].can_manage_sharing boolean Yes
connections[].can_reconnect boolean Yes
connections[].can_sync boolean Yes The viewer's own sign-in is waiting; their app may ask Rails whether the browser finished.
connections[].connected_by string,null Yes Name of the person whose sign-in this account is.
connections[].connected_by_you boolean Yes True when the viewer is the person whose sign-in this account is.
connections[].creation_key_digest string,null No SHA-256 of the unfinished setup key for its original creator.
connections[].generation integer Yes
connections[].id string Yes
connections[].name string Yes
connections[].provider_disabled_reason string,null Yes
connections[].provider_identity object Yes
connections[].provider_identity.account_label string Yes
connections[].provider_identity.checked_at string (date-time) Yes
connections[].provider_identity.status enum: verified, unavailable Yes
connections[].provider_identity.workspace_label string Yes
connections[].reference string Yes Pins this account's current authorization, as agent_connection_ID:GENERATION.
connections[].sharing_status enum: team, private, personal, paused No Agent account audience, including legacy personal and paused access.
connections[].status enum: pending, active, expired, revoked, error Yes
connections[].team_sharing_enabled boolean Yes
connections[].team_sharing_version integer Yes
connections[].toolkit string Yes
pagination object Yes
pagination.limit integer Yes
pagination.next string,null Yes
pending_counts object Yes Accounts per toolkit whose sign-in was started but not finished, across all account pages.
401: Authentication required
403: Connection owner access required
404: Connection or feature not found
422: Invalid connection input
502: Bad gateway
503: Connection provider unavailable

GET /api/v1/organizations/{organization_id}/agent_integrations/catalog

Operation ID: organizationAgentIntegrationCatalogGet.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
organization_id path string Yes

Responses

200: Integration catalog

application/json

Property Type Required Description
can_manage boolean Yes
catalog array of object Yes
catalog[].authentication enum: composio_connect_link, spacesheep_oauth, unipile_hosted_auth Yes
catalog[].can_create_account boolean Yes
catalog[].catalog_section enum: generative_media, ai_machine_learning, productivity_project_management, communication, crm_sales_support, marketing_social, ... Yes
catalog[].category string No Short product label, such as CRM or Email.
catalog[].certification enum: preview, unavailable Yes
catalog[].description string No One-line catalog description of the app.
catalog[].disabled_reason string,null No
catalog[].name string Yes
catalog[].toolkit string Yes
401: Authentication required
403: Connection owner access required
404: Connection or feature not found
422: Unprocessable entity
502: Bad gateway
503: Connection provider unavailable

GET /api/v1/organizations/{organization_id}/agent_integrations/github

Operation ID: github_api_v1_organization_agent_integrations.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
organization_id path string Yes
installation query string No

Responses

200: Current GitHub App repository scope without Verify projects or source imports

application/json

Property Type Required Description
can_manage boolean Yes
connection_status enum: connected, needs_attention, not_connected Yes
installation object or null Yes
installations array of object Yes
installations[].account_avatar_url string,null Yes
installations[].account_login string Yes
installations[].connection_status enum: connected, needs_attention, could_not_verify Yes
installations[].connection_status_label string Yes
installations[].id string Yes
installations[].manage_access_url string Yes
installations[].repositories array of object Yes
installations[].repositories[].full_name string Yes
installations[].repositories[].id string Yes
installations[].repositories[].url string Yes
installations[].repository_count integer,null Yes
installations[].repository_count_label string Yes
installations[].repository_error string,null Yes
summary string,null Yes
401: Unauthorized
403: Forbidden
404: Not found
422: Unprocessable entity
502: Bad gateway

remove

DELETE /api/v1/organizations/{organization_id}/agent_integrations/{id}

Operation ID: organizationAgentIntegrationsDestroy.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
organization_id path string Yes
id path string Yes

Responses

200: Success

application/json

The response is object.

204: Account deleted
401: Authentication required
403: Organization admin access required
404: Account or feature not found
422: Unprocessable entity
502: Bad gateway