# List the connectors used by the caller's toolboxes

> Source: https://elaichi.ai/docs/api-reference/toolboxes/toolbox/listtoolboxconnectors/

`GET /toolbox/connector`

Resource: **Toolbox** · API: **Toolboxes**

## Query parameters

- **`q`** _(string)_
  Anchored prefix match on the connector SLUG (`goo` matches `google-drive`), not on the display name: the name lives in the connector catalog, which the organization store cannot reach, so matching it would mean searching in the client over a paginated list. LIKE wildcards are matched literally. Max 200 characters.
- **`type`** _(string)_
  Mirrors `GET /toolbox`'s `?type=` and must be given the same value: `stored` counts only ACL-backed toolboxes, `automatic` only the dynamic `global:…`/`connection:…` rows, unset both. Any other value is a `400`.
  Allowed: `stored`, `automatic`

## Response body

- **`result`** _(array<object>)_
  - **`slug`** _(string)_
    Connector slug — the value to send as `GET /toolbox?connector_slug=`.
  - **`name`** _(string)_
    Catalog label. Falls back to the slug when the connector no longer resolves, so an option always has something to draw.
  - **`logo`** _(string,null)_
    The connector's square `icon` when it has one, else its wordmark `logo`, else null — including when the catalog could not be reached, which costs an option its picture and never its place in the list. Render initials from `name` when it is null.
  - **`toolbox_count`** _(integer)_
    How many of the caller's visible toolboxes hold at least one tool from this connector, under the `?type=` in force. Always at least 1 — this endpoint never offers an option that filters to nothing.
- **`next_cursor`** _(string,null)_
- **`prev_cursor`** _(string,null)_

## Code examples

### curl

```bash
curl -X GET 'https://api.elaichi.ai/toolbox/connector' \
  -H 'Authorization: Bearer $ELAICHI_API_TOKEN' \
  -H 'Content-Type: application/json'
```

### JavaScript

```javascript
const response = await fetch('https://api.elaichi.ai/toolbox/connector', {
  method: 'GET',
  headers: {
    'Authorization': 'Bearer ' + process.env.ELAICHI_API_TOKEN,
    'Content-Type': 'application/json',
  },
});

const data = await response.json();
console.log(data);
```

### Python

```python
import os
import requests

url = "https://api.elaichi.ai/toolbox/connector"
headers = {
    "Authorization": f"Bearer {os.environ['ELAICHI_API_TOKEN']}",
    "Content-Type": "application/json",
}

response = requests.get(url, headers=headers)
print(response.json())
```
