---
title: "List the brains in a mind"
---

> Documentation Index
> Fetch the complete documentation index at: https://truememory-docs.mvstg.com/llms.txt
> Use this file to discover all available pages before exploring further.

Path: AI Gateway API › Minds

`GET /minds/{mind_id}/brains`

## Authentication

- `HTTPBearer`, http, header `Authorization`

## Path parameters

- `mind_id` (`list_mind_brains.path.mind_id`; string, required)
  - format `uuid`

## Header parameters

- `X-App-Id` (`list_mind_brains.header.X-App-Id`; any of, optional)
  - any of: `string`, `null`
- `X-On-Behalf-Of` (`list_mind_brains.header.X-On-Behalf-Of`; any of, optional)
  - any of: `string`, `null`
- `X-External-User-Id` (`list_mind_brains.header.X-External-User-Id`; any of, optional)
  - any of: `string`, `null`

## Code samples

### cURL

```bash
curl --request GET \
  --url 'https://truememory-api.mvstg.com/minds/<mind_id>/brains' \
  --header 'Authorization: Bearer <token>'
```

### TypeScript

```typescript
const url = 'https://truememory-api.mvstg.com/minds/<mind_id>/brains';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "https://truememory-api.mvstg.com/minds/<mind_id>/brains"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
```

## Responses

### 200

Successful Response

#### Example

```json
[
  {
    "id": "string",
    "name": "string",
    "emoji": "string",
    "document_count": 0
  }
]
```

- `id` (`list_mind_brains.response.200.id`; string, required)
- `name` (`list_mind_brains.response.200.name`; string, required)
- `emoji` (`list_mind_brains.response.200.emoji`; any of, optional)
  - any of: `string`, `null`
- `document_count` (`list_mind_brains.response.200.document_count`; integer, optional)
  - default `0`

### 422

Validation Error

#### Example

```json
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}
```

- `detail` (`list_mind_brains.response.422.detail`; array<object>, optional)
  - `loc` (`list_mind_brains.response.422.detail.loc`; array<any of>, required)
    - any of: `string`, `integer`
  - `msg` (`list_mind_brains.response.422.detail.msg`; string, required)
  - `type` (`list_mind_brains.response.422.detail.type`; string, required)
  - `input` (`list_mind_brains.response.422.detail.input`; unknown, optional)
  - `ctx` (`list_mind_brains.response.422.detail.ctx`; object, optional)


Source: https://truememory-docs.mvstg.com/api/minds/brains/list/index.md
