# List the OAuth-connected apps that reach this toolbox

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

`GET /toolbox/{id}/connected-app`

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

## Path parameters

- **`id`** _(string, required)_
  Stored toolbox id (`tbx_…`).

## Response body

- **`result`** _(array<object>)_
  - **`grant_id`** _(string)_
    OAuth grant id (`ogrt_…`) — what `DELETE /oauth/grant/{id}` takes, scoped to the grant's own user.
  - **`client_id`** _(string)_
  - **`client_name`** _(string,null)_
    Null when the OAuth client row is gone.
  - **`user`** _(object)_
    - **`id`** _(string)_
      User id (`usr_…`).
    - **`name`** _(string)_
      Omitted along with `email` when the id no longer resolves to an org member.
    - **`email`** _(string)_
  - **`via`** _(string)_
    `toolbox`: this toolbox is named explicitly on the grant. `all_tools`: an "All my tools" authorization by a user who can currently use this toolbox — computed live, not a stored fact.
    Allowed: `toolbox`, `all_tools`
  - **`scopes`** _(array<string>)_
    The grant's MCP OAuth scopes (`mcp:read`, `mcp:write`, …).
  - **`last_used_at`** _(string,null)_
  - **`created_at`** _(string)_
  - **`is_own`** _(boolean)_
    True when this is the caller's own authorization.
- **`next_cursor`** _(string,null)_
- **`prev_cursor`** _(string,null)_

## Code examples

### curl

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

### JavaScript

```javascript
const response = await fetch('https://api.elaichi.ai/toolbox/<id>/connected-app', {
  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/<id>/connected-app"
headers = {
    "Authorization": f"Bearer {os.environ['ELAICHI_API_TOKEN']}",
    "Content-Type": "application/json",
}

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