Skip to Content
MCPs

List agent connections

The apps installed for autonomous agents in the org, with this agent's access to each.

GET
/agent-instances/{agent_id}/connections

The apps installed for autonomous agents in the org, with this agent's access to each.

Authorization

ApiKeyAuth
headerAuthorizationBearer <token>

Bearer token authentication. Send an API key (a saai_api_-prefixed token) as Authorization: Bearer <token>.

Required permission

view_mcps

Path Parameters

agent_id*string
Formatuuid

Response Body

The request has succeeded.

application/json
  1. response
items*array<>
Example Request
curl -X GET 'https://your-org.aisecurity.services.us.connect.secureauth.com/api/v1/agent-instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/connections'
Example Response
{  "items": [    {      "mcp_id": "92dad337-069f-4a18-a93d-2e7f16082ffb",      "mcp_name": "string",      "provider": "string",      "installation": {        "status": "active",        "issues": [          {            "code": "suspended",            "agent_id": "2b1e3b65-2c04-4fa2-a2d7-467901e98978",            "repositories": [              "string"            ]          }        ],        "account": "string",        "created_at": "2019-08-24T14:15:22Z"      },      "grant_options": true,      "grant": {        "agent_id": "2b1e3b65-2c04-4fa2-a2d7-467901e98978",        "provider": "github",        "repositories": [          "string"        ],        "all_repositories": true,        "vendor_permissions": {          "property1": "read",          "property2": "read"        }      }    }  ]}