# 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. |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.meetra.ai/meetra-ai-conversation-intelligence-api-reference/conversation-and-speaker-summaries.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
