> For the complete documentation index, see [llms.txt](https://docs.meetra.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.meetra.ai/meetra-ai-conversation-intelligence-api-reference/conversation-and-speaker-summaries.md).

# Conversation and Speaker Summaries

The Meetra AI API provides endpoints for generating text summaries of each spokesperson in a processed meeting recording. This documentation specifically covers the endpoints related to text summaries.

**Endpoint:**

`/single-feature-api/meeting/text-summaries`

**HTTP Method:** GET

#### Parameters

* `Authorization` (header): Bearer token required for authentication.
* `file-hash` (query): Hash of the meeting recording file.

#### Responses

| HTTP Status Code | Description                                    | Schema         |
| ---------------- | ---------------------------------------------- | -------------- |
| 200              | Meeting text summaries successfully retrieved. | Summary\_model |
| 400              | Bad request.                                   | UploadError400 |
| 401              | Unauthorized.                                  | UploadError401 |
| 404              | Meeting not found.                             | -              |

**Summary\_model (schema)**

| Property       | Type   | Description                                         |
| -------------- | ------ | --------------------------------------------------- |
| `text_summary` | object | Text summaries of each spokesperson in the meeting. |

**Example Request**

```
GET /single-feature-api/meeting/text-summaries?file-hash=abcdef1234567890
Authorization: Bearer <JWT_token>
```

**Example Response**

```json
{
  "text_summary": {
    "11eb454c-68d4-40f0-b965-0074bc0e688f": ["Summary of speaker 11eb454c-68d4-40f0-b965-0074bc0e688f"],
    "582fc671-5b8b-498d-a09e-bfb53145b05a": ["Summary of speaker 582fc671-5b8b-498d-a09e-bfb53145b05a"],
    "637f9221-ab4a-46bb-979e-776ba541a407": ["Summary of speaker 637f9221-ab4a-46bb-979e-776ba541a407"],
    "b01792fb-5097-46d7-b458-1d559a9b4978": ["Summary of speaker b01792fb-5097-46d7-b458-1d559a9b4978"],
    "Meeting summary": ["Summary of the meeting"]
  }
}
```

#### Error Responses

| HTTP Status Code | Description        | Schema         |
| ---------------- | ------------------ | -------------- |
| 400              | Bad request.       | UploadError400 |
| 401              | Unauthorized.      | UploadError401 |
| 404              | Meeting not found. | -              |

**UploadError400 (schema)**

| Property  | Type   | Description    |
| --------- | ------ | -------------- |
| `message` | string | Error message. |

**UploadError401 (schema)**

| Property  | Type   | Description    |
| --------- | ------ | -------------- |
| `message` | string | Error message. |
