AgentConnection
Operations
Every route this entity exposes. Each route links to its own reference on this page.
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_connections, err := client.AgentConnection(nil).List(map[string]any{"organization_id": "example"}, nil)
if err != nil {
panic(err)
}
fmt.Println(agent_connections)
agent_connection, err := client.AgentConnection(nil).Load(map[string]any{"id": "example_id", "organization_id": "example"}, nil)
if err != nil {
panic(err)
}
fmt.Println(agent_connection)
created, err := client.AgentConnection(nil).Create(map[string]any{"organization_id": "example", "name": "example", "toolkit": "example"}, nil)
if err != nil {
panic(err)
}
fmt.Println(created)
updated, err := client.AgentConnection(nil).Update(map[string]any{"id": "example_id", "organization_id": "example", "name": "example"}, nil)
if err != nil {
panic(err)
}
fmt.Println(updated)
patched, err := client.AgentConnection(nil).Patch(map[string]any{"id": "example_id", "organization_id": "example", "name": "example"}, nil)
if err != nil {
panic(err)
}
fmt.Println(patched)
removed, err := client.AgentConnection(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_connections, err = client:AgentConnection():list({ organization_id = "example" })
local agent_connection, err = client:AgentConnection():load({ id = "example_id", organization_id = "example" })
local created, err = client:AgentConnection():create({ organization_id = "example", name = "example", toolkit = "example" })
local updated, err = client:AgentConnection():update({ id = "example_id", organization_id = "example", name = "example" })
local patched, err = client:AgentConnection():patch({ id = "example_id", organization_id = "example", name = "example" })
local removed, err = client:AgentConnection():remove({ id = "example_id", organization_id = "example" })
PHP
Construct client as shown in the PHP setup, then call the operations:
$agent_connections = $client->AgentConnection()->list(["organization_id" => "example"]);
$agent_connection = $client->AgentConnection()->load(["id" => "example_id", "organization_id" => "example"]);
$created = $client->AgentConnection()->create(["organization_id" => "example", "name" => "example", "toolkit" => "example"]);
$updated = $client->AgentConnection()->update(["id" => "example_id", "organization_id" => "example", "name" => "example"]);
$patched = $client->AgentConnection()->patch(["id" => "example_id", "organization_id" => "example", "name" => "example"]);
$client->AgentConnection()->remove(["id" => "example_id", "organization_id" => "example"]);
Python
Construct client as shown in the Python setup, then call the operations:
agent_connections = client.AgentConnection().list({"organization_id": "example"})
agent_connection = client.AgentConnection().load({"id": "example_id", "organization_id": "example"})
created = client.AgentConnection().create({ "organization_id": "example", "name": "example", "toolkit": "example" })
updated = client.AgentConnection().update({"id": "example_id", "organization_id": "example", "name": "example"})
patched = client.AgentConnection().patch({"id": "example_id", "organization_id": "example", "name": "example"})
client.AgentConnection().remove({"id": "example_id", "organization_id": "example"})
Ruby
Construct client as shown in the Ruby setup, then call the operations:
agent_connections = client.AgentConnection.list({ "organization_id" => "example" })
agent_connection = client.AgentConnection.load({ "id" => "example_id", "organization_id" => "example" })
created = client.AgentConnection.create({ "organization_id" => "example", "name" => "example", "toolkit" => "example" })
updated = client.AgentConnection.update({ "id" => "example_id", "organization_id" => "example", "name" => "example" })
patched = client.AgentConnection.patch({ "id" => "example_id", "organization_id" => "example", "name" => "example" })
client.AgentConnection.remove({ "id" => "example_id", "organization_id" => "example" })
TypeScript
Construct client as shown in the TypeScript setup, then call the operations:
const agent_connections = await client.AgentConnection().list({ organization_id: "example" })
const agent_connection = await client.AgentConnection().load({ id: "example_id", organization_id: "example" })
const created = await client.AgentConnection().create({ organization_id: "example", name: "example", toolkit: "example" })
const updated = await client.AgentConnection().update({ id: "example_id", organization_id: "example", name: "example" })
const patched = await client.AgentConnection().patch({ id: "example_id", organization_id: "example", name: "example" })
await client.AgentConnection().remove({ id: "example_id", organization_id: "example" })
Fields
| Field | Type | Required | Description |
|---|---|---|---|
actions |
array |
Yes | Actions |
activity |
array |
Yes | Activity |
admin_disabled_at |
one,string,null |
No | Admin Disabled At |
agent_tools |
boolean |
No | Agent Tools |
authentication |
string |
Yes | Authentication |
authorized_at |
one,string,null |
Yes | Authorized At |
can_create_account |
boolean |
No | Whether another account can be created directly from this provider. |
capabilities |
object |
Yes | Capabilities |
catalog_section |
string |
No | Server-owned grouping in the agent integration catalog. |
category |
string |
No | Short product label, such as CRM or Email. |
certification |
string |
Yes | Certification |
checked_at |
one,string,null |
Yes | Checked At |
connection |
object |
Yes | Connection |
consent |
one,object,null |
Yes | Consent |
created_at |
string |
Yes | Created At |
creation_key |
string |
No | Reuse the same key to recover the account after an interrupted response. |
custodian_id |
one,string,null |
Yes | Custodian Id |
description |
string |
No | One-line catalog description of the app. |
disabled_reason |
one,string,null |
No | Disabled Reason |
failure_code |
one,string,null |
Yes | Failure Code |
generation |
integer |
Yes | Generation |
grants |
array |
Yes | Grants |
grants_pagination |
object |
Yes | Grants Pagination |
id |
string |
Yes | Id |
limits |
object |
Yes | Limits |
name |
string |
Yes | Name |
organization_id |
string |
Yes | Organization Id |
owner_name |
string |
No | Owner Name |
ownership_kind |
string |
Yes | Ownership Kind |
pagination |
object |
Yes | Pagination |
policy_digest |
string |
Yes | Policy Digest |
provider |
object |
Yes | Provider |
provider_disabled_reason |
one,string,null |
No | Provider Disabled Reason |
provider_identity |
object |
Yes | Provider Identity |
revoked_at |
one,string,null |
Yes | Revoked At |
schema_version |
integer |
Yes | Schema Version |
status |
string |
Yes | Status |
toolkit |
string |
Yes | Toolkit |
triggers |
array |
Yes | Triggers |
updated_at |
string |
Yes | Updated At |
user_id |
string |
Yes | User Id |
version |
string |
Yes | Version |
create
POST /api/v1/organizations/{organization_id}/agent_connections/{id}/adopt_custody
Operation ID: adopt_custody_api_v1_organization_agent_connection.
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 |
|---|---|---|---|
reason |
string |
Yes |
Responses
200: Updated connection custody metadata
application/json
| Property | Type | Required | Description |
|---|---|---|---|
connection |
object |
Yes | |
connection.admin_disabled_at |
string (date-time) |
No | |
connection.authorized_at |
string |
Yes | |
connection.checked_at |
string |
Yes | |
connection.created_at |
string |
Yes | |
connection.custodian_id |
string |
Yes | |
connection.failure_code |
string |
Yes | |
connection.generation |
integer |
Yes | |
connection.id |
string |
Yes | |
connection.name |
string |
Yes | |
connection.organization_id |
string |
Yes | |
connection.owner_name |
string |
No | |
connection.ownership_kind |
enum: personal, organization |
Yes | |
connection.provider_disabled_reason |
string,null |
No | |
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.revoked_at |
string |
Yes | |
connection.status |
enum: pending, active, expired, revoked, error |
Yes | |
connection.toolkit |
string |
Yes | |
connection.updated_at |
string |
Yes | |
connection.user_id |
string |
Yes |
401: Unauthorized
403: Forbidden
404: Not found
422: Unprocessable entity
502: Bad gateway
POST /api/v1/organizations/{organization_id}/agent_connections/{id}/authorize
Operation ID: authorize_api_v1_organization_agent_connection.
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. |
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_connections/{id}/cancel_sign_in
Operation ID: cancel_sign_in_api_v1_organization_agent_connection.
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: Account 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_connections/{id}/complete
Operation ID: complete_api_v1_organization_agent_connection.
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 |
|---|---|---|---|
state |
string |
Yes |
Responses
200: Connection response
application/json
| Property | Type | Required | Description |
|---|---|---|---|
connection |
object |
Yes | |
connection.admin_disabled_at |
string (date-time) |
No | |
connection.authorized_at |
string |
Yes | |
connection.checked_at |
string |
Yes | |
connection.created_at |
string |
Yes | |
connection.custodian_id |
string |
Yes | |
connection.failure_code |
string |
Yes | |
connection.generation |
integer |
Yes | |
connection.id |
string |
Yes | |
connection.name |
string |
Yes | |
connection.organization_id |
string |
Yes | |
connection.owner_name |
string |
No | |
connection.ownership_kind |
enum: personal, organization |
Yes | |
connection.provider_disabled_reason |
string,null |
No | |
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.revoked_at |
string |
Yes | |
connection.status |
enum: pending, active, expired, revoked, error |
Yes | |
connection.toolkit |
string |
Yes | |
connection.updated_at |
string |
Yes | |
connection.user_id |
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_connections/custom_mcp
Operation ID: custom_mcp_api_v1_organization_agent_connections.
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: Connection response
application/json
| Property | Type | Required | Description |
|---|---|---|---|
connection |
object |
Yes | |
connection.admin_disabled_at |
string (date-time) |
No | |
connection.authorized_at |
string |
Yes | |
connection.checked_at |
string |
Yes | |
connection.created_at |
string |
Yes | |
connection.custodian_id |
string |
Yes | |
connection.failure_code |
string |
Yes | |
connection.generation |
integer |
Yes | |
connection.id |
string |
Yes | |
connection.name |
string |
Yes | |
connection.organization_id |
string |
Yes | |
connection.owner_name |
string |
No | |
connection.ownership_kind |
enum: personal, organization |
Yes | |
connection.provider_disabled_reason |
string,null |
No | |
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.revoked_at |
string |
Yes | |
connection.status |
enum: pending, active, expired, revoked, error |
Yes | |
connection.toolkit |
string |
Yes | |
connection.updated_at |
string |
Yes | |
connection.user_id |
string |
Yes |
201: Connection response
application/json
| Property | Type | Required | Description |
|---|---|---|---|
connection |
object |
Yes | |
connection.admin_disabled_at |
string (date-time) |
No | |
connection.authorized_at |
string |
Yes | |
connection.checked_at |
string |
Yes | |
connection.created_at |
string |
Yes | |
connection.custodian_id |
string |
Yes | |
connection.failure_code |
string |
Yes | |
connection.generation |
integer |
Yes | |
connection.id |
string |
Yes | |
connection.name |
string |
Yes | |
connection.organization_id |
string |
Yes | |
connection.owner_name |
string |
No | |
connection.ownership_kind |
enum: personal, organization |
Yes | |
connection.provider_disabled_reason |
string,null |
No | |
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.revoked_at |
string |
Yes | |
connection.status |
enum: pending, active, expired, revoked, error |
Yes | |
connection.toolkit |
string |
Yes | |
connection.updated_at |
string |
Yes | |
connection.user_id |
string |
Yes |
401: Authentication required
403: Connection owner access required
404: Connection or feature not found
422: Invalid connection input
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
Yes | |
field_errors |
object |
No |
502: Bad gateway
503: Connection provider unavailable
POST /api/v1/organizations/{organization_id}/agent_connections/{id}/delegate
Operation ID: delegate_api_v1_organization_agent_connection.
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 |
|---|---|---|---|
grant_id |
string |
Yes | |
member_id |
string |
Yes | |
roles |
array of enum: invoke, approve |
Yes |
Responses
200: Success
application/json
The response is object.
201: Owner-managed revision delegation
application/json
| Property | Type | Required | Description |
|---|---|---|---|
delegation |
object |
Yes | |
delegation.authorized_by_id |
string |
Yes | |
delegation.automation_connection_grant_id |
string |
Yes | |
delegation.created_at |
string |
Yes | |
delegation.id |
string |
Yes | |
delegation.member_name |
string |
Yes | |
delegation.revoked_at |
string,null |
Yes | |
delegation.roles |
array of enum: invoke, approve |
Yes | |
delegation.usable |
boolean |
Yes | |
delegation.user_id |
string |
Yes |
401: Unauthorized
403: Forbidden
404: Not found
422: Unprocessable entity
502: Bad gateway
POST /api/v1/organizations/{organization_id}/agent_connections/{id}/disconnect
Operation ID: disconnect_api_v1_organization_agent_connection.
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.admin_disabled_at |
string (date-time) |
No | |
connection.authorized_at |
string |
Yes | |
connection.checked_at |
string |
Yes | |
connection.created_at |
string |
Yes | |
connection.custodian_id |
string |
Yes | |
connection.failure_code |
string |
Yes | |
connection.generation |
integer |
Yes | |
connection.id |
string |
Yes | |
connection.name |
string |
Yes | |
connection.organization_id |
string |
Yes | |
connection.owner_name |
string |
No | |
connection.ownership_kind |
enum: personal, organization |
Yes | |
connection.provider_disabled_reason |
string,null |
No | |
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.revoked_at |
string |
Yes | |
connection.status |
enum: pending, active, expired, revoked, error |
Yes | |
connection.toolkit |
string |
Yes | |
connection.updated_at |
string |
Yes | |
connection.user_id |
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_connections/{id}/reassign_custody
Operation ID: reassign_custody_api_v1_organization_agent_connection.
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 |
|---|---|---|---|
member_id |
string |
Yes | |
reason |
string |
Yes |
Responses
200: Updated connection custody metadata
application/json
| Property | Type | Required | Description |
|---|---|---|---|
connection |
object |
Yes | |
connection.admin_disabled_at |
string (date-time) |
No | |
connection.authorized_at |
string |
Yes | |
connection.checked_at |
string |
Yes | |
connection.created_at |
string |
Yes | |
connection.custodian_id |
string |
Yes | |
connection.failure_code |
string |
Yes | |
connection.generation |
integer |
Yes | |
connection.id |
string |
Yes | |
connection.name |
string |
Yes | |
connection.organization_id |
string |
Yes | |
connection.owner_name |
string |
No | |
connection.ownership_kind |
enum: personal, organization |
Yes | |
connection.provider_disabled_reason |
string,null |
No | |
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.revoked_at |
string |
Yes | |
connection.status |
enum: pending, active, expired, revoked, error |
Yes | |
connection.toolkit |
string |
Yes | |
connection.updated_at |
string |
Yes | |
connection.user_id |
string |
Yes |
401: Unauthorized
403: Forbidden
404: Not found
422: Unprocessable entity
502: Bad gateway
POST /api/v1/organizations/{organization_id}/agent_connections/{id}/revoke_delegation
Operation ID: revoke_delegation_api_v1_organization_agent_connection.
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 |
|---|---|---|---|
delegation_id |
string |
Yes |
Responses
200: Owner-managed revision delegation
application/json
| Property | Type | Required | Description |
|---|---|---|---|
delegation |
object |
Yes | |
delegation.authorized_by_id |
string |
Yes | |
delegation.automation_connection_grant_id |
string |
Yes | |
delegation.created_at |
string |
Yes | |
delegation.id |
string |
Yes | |
delegation.member_name |
string |
Yes | |
delegation.revoked_at |
string,null |
Yes | |
delegation.roles |
array of enum: invoke, approve |
Yes | |
delegation.usable |
boolean |
Yes | |
delegation.user_id |
string |
Yes |
401: Unauthorized
403: Forbidden
404: Not found
422: Unprocessable entity
502: Bad gateway
POST /api/v1/organizations/{organization_id}/agent_connections/{id}/revoke_grant
Operation ID: revoke_grant_api_v1_organization_agent_connection.
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 |
|---|---|---|---|
grant_id |
string |
Yes |
Responses
200: Connection grants
application/json
| Property | Type | Required | Description |
|---|---|---|---|
grant |
object |
Yes | |
grant.actions |
array of object |
Yes | |
grant.actions[].arguments |
object |
Yes | |
grant.actions[].mode |
enum: approval_required, preauthorized |
Yes | |
grant.actions[].property_types |
object |
No | |
grant.actions[].resources |
array of string |
Yes | |
grant.actions[].tool |
string |
Yes | |
grant.agent_connection_id |
string |
Yes | |
grant.automation_id |
string |
Yes | |
grant.connection_generation |
integer |
Yes | |
grant.created_at |
string |
Yes | |
grant.id |
string |
Yes | |
grant.organization_id |
string |
Yes | |
grant.revision |
integer |
Yes | |
grant.revoked_at |
string |
Yes | |
grant.status |
enum: active, revoked |
Yes | |
grant.usable |
boolean |
Yes | |
grant.user_id |
string |
Yes |
401: Unauthorized
403: Forbidden
404: Not found
422: Unprocessable entity
502: Bad gateway
POST /api/v1/organizations/{organization_id}/agent_connections/{id}/safety_control
Operation ID: safety_control_api_v1_organization_agent_connection.
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 |
|---|---|---|---|
disabled |
boolean |
Yes | |
reason |
string |
Yes |
Responses
200: Administrator safety metadata only
application/json
| Property | Type | Required | Description |
|---|---|---|---|
connection |
object |
Yes | |
connection.admin_disabled_at |
string (date-time) |
No | |
connection.authorized_at |
string |
Yes | |
connection.checked_at |
string |
Yes | |
connection.created_at |
string |
Yes | |
connection.custodian_id |
string |
Yes | |
connection.failure_code |
string |
Yes | |
connection.generation |
integer |
Yes | |
connection.id |
string |
Yes | |
connection.name |
string |
Yes | |
connection.organization_id |
string |
Yes | |
connection.owner_name |
string |
No | |
connection.ownership_kind |
enum: personal, organization |
Yes | |
connection.provider_disabled_reason |
string,null |
No | |
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.revoked_at |
string |
Yes | |
connection.status |
enum: pending, active, expired, revoked, error |
Yes | |
connection.toolkit |
string |
Yes | |
connection.updated_at |
string |
Yes | |
connection.user_id |
string |
Yes |
401: Unauthorized
403: Forbidden
404: Not found
422: Unprocessable entity
502: Bad gateway
POST /api/v1/organizations/{organization_id}/agent_connections/{id}/sync
Operation ID: sync_api_v1_organization_agent_connection.
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.admin_disabled_at |
string (date-time) |
No | |
connection.authorized_at |
string |
Yes | |
connection.checked_at |
string |
Yes | |
connection.created_at |
string |
Yes | |
connection.custodian_id |
string |
Yes | |
connection.failure_code |
string |
Yes | |
connection.generation |
integer |
Yes | |
connection.id |
string |
Yes | |
connection.name |
string |
Yes | |
connection.organization_id |
string |
Yes | |
connection.owner_name |
string |
No | |
connection.ownership_kind |
enum: personal, organization |
Yes | |
connection.provider_disabled_reason |
string,null |
No | |
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.revoked_at |
string |
Yes | |
connection.status |
enum: pending, active, expired, revoked, error |
Yes | |
connection.toolkit |
string |
Yes | |
connection.updated_at |
string |
Yes | |
connection.user_id |
string |
Yes |
401: Unauthorized
403: Connection owner access required
404: Connection or feature not found
422: Unprocessable entity
502: Bad gateway
POST /api/v1/organizations/{organization_id}/agent_connections
Operation ID: post_api_v1_organizations_organization_id_agent_connections.
Authentication: bearer token (bearerAuth).
Parameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
organization_id |
path |
string |
Yes | |
Idempotency-Key |
header |
string |
No |
Request body
application/json
| Property | Type | Required | Description |
|---|---|---|---|
creation_key |
string |
No | Reuse the same key to recover the account after an interrupted response. If the Idempotency-Key header is also sent, both values must match. |
name |
string |
Yes | |
toolkit |
string |
Yes |
Responses
200: Connection response
application/json
| Property | Type | Required | Description |
|---|---|---|---|
connection |
object |
Yes | |
connection.admin_disabled_at |
string (date-time) |
No | |
connection.authorized_at |
string |
Yes | |
connection.checked_at |
string |
Yes | |
connection.created_at |
string |
Yes | |
connection.custodian_id |
string |
Yes | |
connection.failure_code |
string |
Yes | |
connection.generation |
integer |
Yes | |
connection.id |
string |
Yes | |
connection.name |
string |
Yes | |
connection.organization_id |
string |
Yes | |
connection.owner_name |
string |
No | |
connection.ownership_kind |
enum: personal, organization |
Yes | |
connection.provider_disabled_reason |
string,null |
No | |
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.revoked_at |
string |
Yes | |
connection.status |
enum: pending, active, expired, revoked, error |
Yes | |
connection.toolkit |
string |
Yes | |
connection.updated_at |
string |
Yes | |
connection.user_id |
string |
Yes |
201: Connection response
application/json
| Property | Type | Required | Description |
|---|---|---|---|
connection |
object |
Yes | |
connection.admin_disabled_at |
string (date-time) |
No | |
connection.authorized_at |
string |
Yes | |
connection.checked_at |
string |
Yes | |
connection.created_at |
string |
Yes | |
connection.custodian_id |
string |
Yes | |
connection.failure_code |
string |
Yes | |
connection.generation |
integer |
Yes | |
connection.id |
string |
Yes | |
connection.name |
string |
Yes | |
connection.organization_id |
string |
Yes | |
connection.owner_name |
string |
No | |
connection.ownership_kind |
enum: personal, organization |
Yes | |
connection.provider_disabled_reason |
string,null |
No | |
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.revoked_at |
string |
Yes | |
connection.status |
enum: pending, active, expired, revoked, error |
Yes | |
connection.toolkit |
string |
Yes | |
connection.updated_at |
string |
Yes | |
connection.user_id |
string |
Yes |
401: Authentication required
403: Connection owner access required
404: Connection or feature not found
409: Creation key belongs to another setup or a removed account
422: Invalid connection input
502: Bad gateway
503: Connection provider unavailable
list
GET /api/v1/organizations/{organization_id}/agent_connections
Operation ID: api_v1_organization_agent_connections.
Authentication: bearer token (bearerAuth).
Parameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
organization_id |
path |
string |
Yes | |
cursor |
query |
string |
No | |
limit |
query |
integer |
No |
Responses
200: Connection response
application/json
| Property | Type | Required | Description |
|---|---|---|---|
can_manage_safety |
boolean |
No | |
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 | |
connections |
array of object |
Yes | |
connections[].admin_disabled_at |
string (date-time) |
No | |
connections[].authorized_at |
string |
Yes | |
connections[].checked_at |
string |
Yes | |
connections[].created_at |
string |
Yes | |
connections[].custodian_id |
string |
Yes | |
connections[].failure_code |
string |
Yes | |
connections[].generation |
integer |
Yes | |
connections[].id |
string |
Yes | |
connections[].name |
string |
Yes | |
connections[].organization_id |
string |
Yes | |
connections[].owner_name |
string |
No | |
connections[].ownership_kind |
enum: personal, organization |
Yes | |
connections[].provider_disabled_reason |
string,null |
No | |
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[].revoked_at |
string |
Yes | |
connections[].status |
enum: pending, active, expired, revoked, error |
Yes | |
connections[].toolkit |
string |
Yes | |
connections[].updated_at |
string |
Yes | |
connections[].user_id |
string |
Yes | |
custody_enabled |
boolean |
Yes | |
custom_connections |
array of object |
Yes | |
custom_connections[].admin_disabled_at |
string (date-time) |
No | |
custom_connections[].authorized_at |
string |
Yes | |
custom_connections[].checked_at |
string |
Yes | |
custom_connections[].created_at |
string |
Yes | |
custom_connections[].custodian_id |
string |
Yes | |
custom_connections[].failure_code |
string |
Yes | |
custom_connections[].generation |
integer |
Yes | |
custom_connections[].id |
string |
Yes | |
custom_connections[].name |
string |
Yes | |
custom_connections[].organization_id |
string |
Yes | |
custom_connections[].owner_name |
string |
No | |
custom_connections[].ownership_kind |
enum: personal, organization |
Yes | |
custom_connections[].provider_disabled_reason |
string,null |
No | |
custom_connections[].provider_identity |
object |
Yes | |
custom_connections[].provider_identity.account_label |
string |
Yes | |
custom_connections[].provider_identity.checked_at |
string (date-time) |
Yes | |
custom_connections[].provider_identity.status |
enum: verified, unavailable |
Yes | |
custom_connections[].provider_identity.workspace_label |
string |
Yes | |
custom_connections[].revoked_at |
string |
Yes | |
custom_connections[].status |
enum: pending, active, expired, revoked, error |
Yes | |
custom_connections[].toolkit |
string |
Yes | |
custom_connections[].updated_at |
string |
Yes | |
custom_connections[].user_id |
string |
Yes | |
pagination |
object |
Yes | |
pagination.limit |
integer |
Yes | |
pagination.next |
string |
No | |
provider_triggers_enabled |
boolean |
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
load
GET /api/v1/organizations/{organization_id}/agent_connections/{id}
Operation ID: api_v1_organization_agent_connection.
Authentication: bearer token (bearerAuth).
Parameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
organization_id |
path |
string |
Yes | |
id |
path |
string |
Yes | |
limit |
query |
integer |
No | |
cursor |
query |
string |
No | |
grants_limit |
query |
integer |
No | |
grants_cursor |
query |
string |
No |
Responses
200: Connection response
application/json
| Property | Type | Required | Description |
|---|---|---|---|
activity |
array of object |
Yes | |
activity[].action_name |
string |
Yes | |
activity[].created_at |
string |
Yes | |
activity[].id |
string |
Yes | |
activity[].run |
object |
Yes | |
activity[].run.automation_id |
string |
Yes | |
activity[].run.automation_name |
string |
Yes | |
activity[].run.automation_slug |
string |
Yes | |
activity[].run.id |
string |
Yes | |
activity[].run.revision |
integer |
Yes | |
activity[].state |
enum: pending, succeeded, failed, uncertain |
Yes | |
activity[].tool |
string |
Yes | |
activity[].updated_at |
string |
Yes | |
capabilities |
object |
Yes | |
capabilities.can_disconnect |
boolean |
Yes | |
capabilities.can_manage_custody |
boolean |
Yes | |
capabilities.can_manage_safety |
boolean |
Yes | |
capabilities.can_manage_subscriptions |
boolean |
Yes | |
capabilities.can_reconnect |
boolean |
Yes | |
capabilities.can_rename |
boolean |
Yes | |
connection |
object |
Yes | |
connection.admin_disabled_at |
string (date-time) |
No | |
connection.authorized_at |
string |
Yes | |
connection.checked_at |
string |
Yes | |
connection.created_at |
string |
Yes | |
connection.custodian_id |
string |
Yes | |
connection.failure_code |
string |
Yes | |
connection.generation |
integer |
Yes | |
connection.id |
string |
Yes | |
connection.name |
string |
Yes | |
connection.organization_id |
string |
Yes | |
connection.owner_name |
string |
No | |
connection.ownership_kind |
enum: personal, organization |
Yes | |
connection.provider_disabled_reason |
string,null |
No | |
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.revoked_at |
string |
Yes | |
connection.status |
enum: pending, active, expired, revoked, error |
Yes | |
connection.toolkit |
string |
Yes | |
connection.updated_at |
string |
Yes | |
connection.user_id |
string |
Yes | |
grants |
array of object |
Yes | |
grants[].actions |
array of object |
Yes | |
grants[].actions[].mode |
enum: approval_required, preauthorized |
Yes | |
grants[].actions[].name |
string |
Yes | |
grants[].actions[].tool |
string |
Yes | |
grants[].automation |
object |
Yes | |
grants[].automation.id |
string |
Yes | |
grants[].automation.name |
string |
Yes | |
grants[].automation.slug |
string |
Yes | |
grants[].can_revoke |
boolean |
Yes | |
grants[].created_at |
string |
Yes | |
grants[].id |
string |
Yes | |
grants[].revision |
integer |
Yes | |
grants[].revoked_at |
string |
Yes | |
grants[].status |
enum: active, revoked |
Yes | |
grants[].usable |
boolean |
Yes | |
grants_pagination |
object |
Yes | |
grants_pagination.limit |
integer |
Yes | |
grants_pagination.next |
string |
No | |
pagination |
object |
Yes | |
pagination.limit |
integer |
Yes | |
pagination.next |
string |
No | |
provider |
object |
Yes | |
provider.actions |
array of object |
Yes | |
provider.actions[].allowed_arguments |
array of string |
Yes | |
provider.actions[].input_schema |
object |
Yes | |
provider.actions[].name |
string |
Yes | |
provider.actions[].resource_argument |
string |
Yes | |
provider.actions[].slug |
string |
Yes | |
provider.actions[].write |
boolean |
Yes | |
provider.agent_tools |
boolean |
No | |
provider.authentication |
enum: composio_connect_link, spacesheep_oauth, unipile_hosted_auth |
Yes | |
provider.can_create_account |
boolean |
No | Whether another account can be created directly from this provider. Custom MCP endpoints use the MCP setup form. |
provider.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. |
provider.category |
string |
No | Short product label, such as CRM or Email. |
provider.certification |
enum: preview, unavailable |
Yes | |
provider.consent |
object |
Yes | |
provider.consent.branding_summary |
string |
Yes | |
provider.consent.checked_at |
string |
Yes | |
provider.consent.configured_scopes |
array of string |
Yes | |
provider.consent.effective_grants |
enum: unknown |
Yes | |
provider.consent.limitations |
string |
Yes | |
provider.consent.method |
enum: OAUTH2, DCR_OAUTH |
Yes | |
provider.consent.method_label |
string |
Yes | |
provider.consent.permission_model |
enum: oauth_scopes, shared_pages_and_capabilities, workspace_and_plan |
Yes | |
provider.consent.provenance |
string |
Yes | |
provider.consent.provider_app |
enum: composio_managed, dynamic_registration |
Yes | |
provider.consent.provider_consent_branding |
enum: unverified |
Yes | |
provider.consent.sources |
array of string |
Yes | |
provider.consent.summary |
string |
Yes | |
provider.consent.upstream_only_methods |
array of string |
Yes | |
provider.consent.verification_summary |
string |
Yes | |
provider.description |
string |
No | One-line catalog description of the app. |
provider.disabled_reason |
string,null |
No | |
provider.limits |
object |
Yes | |
provider.limits.resources_per_action |
integer |
Yes | |
provider.limits.response_bytes |
integer |
Yes | |
provider.name |
string |
Yes | |
provider.policy_digest |
string |
Yes | |
provider.schema_version |
enum: 2 |
Yes | |
provider.toolkit |
string |
Yes | |
provider.triggers |
array of object |
Yes | |
provider.triggers[].defaults |
object |
Yes | |
provider.triggers[].delivery |
string |
Yes | |
provider.triggers[].latency |
string |
Yes | |
provider.triggers[].name |
string |
Yes | |
provider.triggers[].schema |
object |
Yes | |
provider.triggers[].slug |
string |
Yes | |
provider.triggers[].status |
string |
Yes | |
provider.triggers[].toolkit |
string |
Yes | |
provider.triggers[].version |
string |
Yes | |
provider.version |
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_connections/{id}/custody
Operation ID: custody_api_v1_organization_agent_connection.
Authentication: bearer token (bearerAuth).
Parameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
organization_id |
path |
string |
Yes | |
id |
path |
string |
Yes | |
cursor |
query |
string |
No | |
limit |
query |
integer |
No |
Responses
200: Custody permissions and audit history
application/json
| Property | Type | Required | Description |
|---|---|---|---|
can_adopt |
boolean |
Yes | |
can_reassign |
boolean |
Yes | |
connection |
object |
Yes | |
connection.admin_disabled_at |
string (date-time) |
No | |
connection.authorized_at |
string |
Yes | |
connection.checked_at |
string |
Yes | |
connection.created_at |
string |
Yes | |
connection.custodian_id |
string |
Yes | |
connection.failure_code |
string |
Yes | |
connection.generation |
integer |
Yes | |
connection.id |
string |
Yes | |
connection.name |
string |
Yes | |
connection.organization_id |
string |
Yes | |
connection.owner_name |
string |
No | |
connection.ownership_kind |
enum: personal, organization |
Yes | |
connection.provider_disabled_reason |
string,null |
No | |
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.revoked_at |
string |
Yes | |
connection.status |
enum: pending, active, expired, revoked, error |
Yes | |
connection.toolkit |
string |
Yes | |
connection.updated_at |
string |
Yes | |
connection.user_id |
string |
Yes | |
events |
array of object |
Yes | |
events[].action |
string |
Yes | |
events[].actor_id |
string |
Yes | |
events[].actor_name |
string |
Yes | |
events[].created_at |
string |
Yes | |
events[].from_name |
string |
Yes | |
events[].from_user_id |
string |
Yes | |
events[].reason |
string |
Yes | |
events[].to_name |
string |
Yes | |
events[].to_user_id |
string |
Yes | |
pagination |
object |
Yes | |
pagination.limit |
integer |
Yes | |
pagination.next |
string |
No |
401: Unauthorized
403: Forbidden
404: Not found
422: Unprocessable entity
502: Bad gateway
GET /api/v1/organizations/{organization_id}/agent_connections/{id}/disconnect_impact
Operation ID: disconnect_impact_api_v1_organization_agent_connection.
Authentication: bearer token (bearerAuth).
Parameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
organization_id |
path |
string |
Yes | |
id |
path |
string |
Yes |
Responses
200: Current disconnect impact
application/json
| Property | Type | Required | Description |
|---|---|---|---|
automations |
array of object |
Yes | |
automations[].id |
string |
Yes | |
automations[].name |
string |
Yes | |
automations[].slug |
string |
Yes | |
subscription_count |
integer |
Yes |
401: Authentication required
403: Forbidden
404: Connection or feature not found
422: Unprocessable entity
502: Bad gateway
patch
PATCH /api/v1/organizations/{organization_id}/agent_connections/{id}
Operation ID: patch_api_v1_organizations_organization_id_agent_connections_id_.
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 |
|---|---|---|---|
name |
string |
Yes |
Responses
200: Connection response
application/json
| Property | Type | Required | Description |
|---|---|---|---|
connection |
object |
Yes | |
connection.admin_disabled_at |
string (date-time) |
No | |
connection.authorized_at |
string |
Yes | |
connection.checked_at |
string |
Yes | |
connection.created_at |
string |
Yes | |
connection.custodian_id |
string |
Yes | |
connection.failure_code |
string |
Yes | |
connection.generation |
integer |
Yes | |
connection.id |
string |
Yes | |
connection.name |
string |
Yes | |
connection.organization_id |
string |
Yes | |
connection.owner_name |
string |
No | |
connection.ownership_kind |
enum: personal, organization |
Yes | |
connection.provider_disabled_reason |
string,null |
No | |
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.revoked_at |
string |
Yes | |
connection.status |
enum: pending, active, expired, revoked, error |
Yes | |
connection.toolkit |
string |
Yes | |
connection.updated_at |
string |
Yes | |
connection.user_id |
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
remove
DELETE /api/v1/organizations/{organization_id}/agent_connections/{id}
Operation ID: delete_api_v1_organizations_organization_id_agent_connections_id_.
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: Deleted
401: Unauthorized
403: Connection owner access required
404: Connection or feature not found
422: Unprocessable entity
502: Bad gateway
update
PUT /api/v1/organizations/{organization_id}/agent_connections/{id}
Operation ID: put_api_v1_organizations_organization_id_agent_connections_id_.
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 |
|---|---|---|---|
name |
string |
Yes |
Responses
200: Connection response
application/json
| Property | Type | Required | Description |
|---|---|---|---|
connection |
object |
Yes | |
connection.admin_disabled_at |
string (date-time) |
No | |
connection.authorized_at |
string |
Yes | |
connection.checked_at |
string |
Yes | |
connection.created_at |
string |
Yes | |
connection.custodian_id |
string |
Yes | |
connection.failure_code |
string |
Yes | |
connection.generation |
integer |
Yes | |
connection.id |
string |
Yes | |
connection.name |
string |
Yes | |
connection.organization_id |
string |
Yes | |
connection.owner_name |
string |
No | |
connection.ownership_kind |
enum: personal, organization |
Yes | |
connection.provider_disabled_reason |
string,null |
No | |
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.revoked_at |
string |
Yes | |
connection.status |
enum: pending, active, expired, revoked, error |
Yes | |
connection.toolkit |
string |
Yes | |
connection.updated_at |
string |
Yes | |
connection.user_id |
string |
Yes |