List Connections

Tools

List Connections

Every account the agent can work in, connected or not — a calendar, two spreadsheets, two CRMs, records kept here and two helpdesks — each with its state, what it is pinned to and its tools. toolsInUse / maxTools is the one budget every connection's switches share. Credentials never appear.

GET/agents/{id}/connections

Path parameters

idstringrequired
The agent's id (ag_…).

Headers

Katexs-Workspacestring
Developers only: the customer workspace this request acts in — its org_… id from POST /customers. Leave it out to act in your own workspace. Refused with 404 (Workspace not found.) when the id is unknown, is not one of your customers, or is not an org_… id; 410 when that customer was deleted (restore it with POST /customers/{id}/restore until it is erased); 403 when the key belongs to one customer workspace (it cannot act as another); 400 when your workspace is not a developer workspace. /customers/* and GET /customers/usage are your own workspace's and refuse the header with 400: call them without it.

Example request

bash
curl "https://app.katexs.com/api/v1/agents/{id}/connections" \
  -H "Authorization: Bearer $KATEXS_API_KEY"

Responses

StatusDescription
200Every connection.
400Katexs-Workspace was sent from a workspace that is not a developer workspace.
401The key is missing, wrong or revoked. The answer is always the same, whichever it is.
403The key's access level (read-only or build) does not allow this request, the plan does not include it, or a customer's key named another workspace in Katexs-Workspace. code says which: key_scope_read, key_scope_build, workspace_header_forbidden, or forbidden.
404The agent is not in this workspace.
410The customer named in Katexs-Workspace was deleted. POST /customers/{id}/restore brings it back until its erase date.
429Over a per-minute limit. Wait for Retry-After seconds. code and limit say which limit: rate_limit_resources (240 requests a minute for the workspace), rate_limit_family (2,400 across a developer's customers), rate_limit_calls, rate_limit_messages, rate_limit_codes, rate_limit_code_recipient, concurrent_calls or number_daily_limit.

Response fields

itemsobject[]required
Every kind, connected or not, in a fixed order.
toolsInUseintegerrequired
How many connection tools are switched on, across every connection.
maxToolsintegerrequired
The most connection tools an agent may have on at once — one budget every connection shares.
200 response
{
  "items": [
    {
      "kind": "calcom",
      "name": "Cal.com",
      "signIn": "key",
      "available": true,
      "connected": true,
      "account": {
        "email": "frontdesk@sunrisedental.in",
        "name": "Sunrise Dental"
      },
      "timezone": "Asia/Kolkata",
      "lastError": null,
      "tools": [
        {
          "id": "calcom_list_event_types",
          "title": "See what can be booked",
          "summary": "See what can be booked.",
          "writes": false,
          "enabled": true,
          "phrases": {
            "before": null,
            "after": null
          }
        },
        {
          "id": "calcom_check_availability",
          "title": "Check when you are free",
          "summary": "Check when you are free.",
          "writes": false,
          "enabled": true,
          "phrases": {
            "before": "Let me look at the calendar.",
            "after": null
          }
        },
        {
          "id": "calcom_hold_slot",
          "title": "Hold a slot while you talk",
          "summary": "Hold a slot while you talk.",
          "writes": true,
          "enabled": false,
          "phrases": {
            "before": null,
            "after": null
          }
        },
        {
          "id": "calcom_book_meeting",
          "title": "Book the meeting",
          "summary": "Book the meeting.",
          "writes": true,
          "enabled": true,
          "phrases": {
            "before": null,
            "after": null
          }
        },
        {
          "id": "calcom_find_booking",
          "title": "Find their existing booking",
          "summary": "Find their existing booking.",
          "writes": false,
          "enabled": false,
          "phrases": {
            "before": null,
            "after": null
          }
        },
        {
          "id": "calcom_reschedule_booking",
          "title": "Move a booking",
          "summary": "Move a booking.",
          "writes": true,
          "enabled": false,
          "phrases": {
            "before": null,
            "after": null
          }
        },
        {
          "id": "calcom_cancel_booking",
          "title": "Cancel a booking",
          "summary": "Cancel a booking.",
          "writes": true,
          "enabled": false,
          "phrases": {
            "before": null,
            "after": null
          }
        }
      ]
    },
    {
      "kind": "grist",
      "name": "Grist",
      "signIn": "key",
      "available": true,
      "connected": true,
      "account": {
        "email": "ops@greenleafrealty.in",
        "name": null
      },
      "lastError": null,
      "mode": "tool",
      "runAsync": false,
      "target": {
        "doc": "8xQm2KvTzR4pLw",
        "table": "Site_Visits",
        "columns": [
          "Name",
          "Phone",
          "Budget",
          "Locality",
          "Visit_Date"
        ]
      },
      "match": {
        "column": "Phone",
        "type": "phone"
      },
      "variableColumns": {
        "Locality": "locality"
      },
      "tools": [
        {
          "id": "grist_save_row",
          "title": "Fill in a row",
          "summary": "Adds or fills the lead's row in your table as the conversation goes.",
          "writes": true,
          "enabled": true,
          "phrases": {
            "before": null,
            "after": null
          }
        },
        {
          "id": "grist_find_rows",
          "title": "Look something up",
          "summary": "Reads rows from your table to answer a question.",
          "writes": false,
          "enabled": false,
          "phrases": {
            "before": null,
            "after": null
          }
        }
      ]
    },
    {
      "kind": "googlesheets",
      "name": "Google Sheets",
      "signIn": "browser",
      "available": true,
      "connected": false,
      "signInPending": false,
      "account": null,
      "lastError": null,
      "mode": "tool",
      "target": {
        "spreadsheet": null,
        "sheet": null,
        "columns": []
      },
      "match": null,
      "variableColumns": {},
      "tools": []
    },
    {
      "kind": "records",
      "name": "Records here",
      "signIn": "none",
      "available": true,
      "connected": true,
      "account": null,
      "lastError": null,
      "mode": "tool",
      "tools": [
        {
          "id": "record_save_row",
          "title": "Fill in a record",
          "summary": "Fills in this conversation's record with the details you asked for.",
          "writes": true,
          "enabled": true,
          "phrases": {
            "before": null,
            "after": null
          }
        }
      ],
      "fields": [
        {
          "id": "Name",
          "label": "Name",
          "description": null
        },
        {
          "id": "City",
          "label": "City",
          "description": "where they live"
        },
        {
          "id": "Budget",
          "label": "Budget",
          "description": "in lakhs"
        }
      ],
      "recordCount": 214,
      "link": {
        "url": "https://app.katexs.com/r/k7Qm2xVb9TzPq4Lw",
        "hasPasscode": true
      }
    },
    {
      "kind": "zendesk",
      "name": "Zendesk",
      "signIn": "key",
      "available": true,
      "connected": true,
      "account": {
        "host": "urbanloom.zendesk.com",
        "email": "support@urbanloom.in"
      },
      "enabled": true,
      "lastError": null
    }
  ],
  "toolsInUse": 5,
  "maxTools": 500
}

Last updated November 2026 · Found a problem? Email support@katexs.com