Skip to content

Connected Apps API ​

This endpoint lists the apps and AI agents connected to your account through the Typesense Cloud MCP server, who connected each one and the tool calls it made in the last 7 days.

Timestamps are Unix timestamps in seconds.

List connected apps ​

shell
curl -X GET --location "https://cloud.typesense.org/api/v1/account/connections" \
    -H "Accept: application/json" \
    -H "X-TYPESENSE-CLOUD-MANAGEMENT-API-KEY: YOUR-API-KEY"

Response:

json
{
  "connections": [
    {
      "id": "Wq3vT8nLx2RfK9cYpB6mHs4D",
      "app": "Cursor",
      "connected_by": "jane@example.com",
      "capabilities": ["clusters:read", "metrics:read", "data:view", "data:search"],
      "connected_at": 1795165925,
      "disconnected_at": null,
      "tool_calls": {
        "window_start": 1795046400,
        "calls": 46,
        "top_tools": [
          { "name": "search_documents", "calls": 31 },
          { "name": "get_cluster_metrics", "calls": 9 },
          { "name": "list_clusters", "calls": 4 }
        ],
        "last_called_at": 1795618297
      }
    },
    {
      "id": "Gm7tZ2kPq9XvR4nLc8YsW3bF",
      "app": "Claude Code",
      "connected_by": "alex@example.com",
      "capabilities": ["clusters:read", "clusters:configure", "data:full_access"],
      "connected_at": 1791465619,
      "disconnected_at": 1795255500,
      "tool_calls": {
        "window_start": 1795046400,
        "calls": 7,
        "top_tools": [
          { "name": "POST /collections", "calls": 3 },
          { "name": "get_cluster", "calls": 2 },
          { "name": "list_clusters", "calls": 2 }
        ],
        "last_called_at": 1795255032
      }
    }
  ]
}

Connections are listed newest first: every app that's connected, and those disconnected in the last 7 days, up to 200.

Response Parameters ​

FieldDescription
connectionsThe connected apps.

Each connection has these fields:

FieldDescription
idThe connection's ID.
appThe app's name, as the app named itself when it connected.
connected_byThe email address of the person who connected it.
capabilitiesThe permissions the app has on your account.
connected_atWhen it was connected.
disconnected_atWhen it was disconnected, or null while it's connected.
tool_callsThe app's tool calls.

tool_calls has these fields:

FieldDescription
window_startMidnight UTC six days ago, so calls and top_tools cover the last 7 days, today included.
callsThe MCP tool calls the app made since window_start that went through. Refused and failed calls aren't counted.
top_toolsUp to 3 tools the app called most since window_start, busiest first, each with its name and calls. A tool that takes an action, such as manage_cluster or change_cluster_data, is named by the action: terminate_cluster or DELETE /collections.
last_called_atWhen the app last called a tool that went through, even before window_start. null when it hasn't.

Permissions ​

To list connected apps, you need a key with the admin capability, since the list includes the connections of everyone on the account. See capabilities.

AI agents connected through the Typesense Cloud MCP server can list connections with the clusters:read permission, using the list_connections action of get_clusters. An agent with clusters:read sees only its own connection. With the admin permission, it sees every connection of the person who connected it.