API

AgentConnectionSafetyControl

Operations

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

Method Route SDK operation Returns
GET /api/v1/organizations/{organization_id}/agent_connections/safety_controls list Administrator safety metadata only

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_connection_safety_controls, err := client.AgentConnectionSafetyControl(nil).List(map[string]any{"organization_id": "example"}, nil)
if err != nil {
    panic(err)
}
fmt.Println(agent_connection_safety_controls)

Lua

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

local agent_connection_safety_controls, err = client:AgentConnectionSafetyControl():list({ organization_id = "example" })

PHP

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

$agent_connection_safety_controls = $client->AgentConnectionSafetyControl()->list(["organization_id" => "example"]);

Python

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

agent_connection_safety_controls = client.AgentConnectionSafetyControl().list({"organization_id": "example"})

Ruby

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

agent_connection_safety_controls = client.AgentConnectionSafetyControl.list({ "organization_id" => "example" })

TypeScript

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

const agent_connection_safety_controls = await client.AgentConnectionSafetyControl().list({ organization_id: "example" })

Fields

Field Type Required Description
admin_disabled_at one,string,null No Admin Disabled At
authorized_at one,string,null Yes Authorized At
checked_at one,string,null Yes Checked At
created_at string Yes Created At
custodian_id one,string,null Yes Custodian Id
failure_code one,string,null Yes Failure Code
generation integer Yes Generation
id string Yes Id
name string Yes Name
organization_id string Yes Organization Id
owner_name string No Owner Name
ownership_kind string Yes Ownership Kind
provider_disabled_reason one,string,null No Provider Disabled Reason
provider_identity object Yes Provider Identity
revoked_at one,string,null Yes Revoked At
status string Yes Status
toolkit string Yes Toolkit
updated_at string Yes Updated At
user_id string Yes User Id

list

GET /api/v1/organizations/{organization_id}/agent_connections/safety_controls

Operation ID: safety_controls_api_v1_organization_agent_connections.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
organization_id path string Yes
limit query integer No
cursor query string No

Responses

200: Administrator safety metadata only

application/json

Property Type Required Description
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
pagination object Yes
pagination.limit integer Yes
pagination.next string No
401: Unauthorized
403: Forbidden
404: Not found
422: Unprocessable entity
502: Bad gateway