# Conversation Emotions

The Meetra AI API provides endpoints for analyzing and extracting emotions from processed meeting recordings. This documentation specifically covers the endpoints related to meeting emotions.

**Endpoint:** `/single-feature-api/meeting/meeting-emotions`

**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 emotions score successfully retrieved. | MeetingEmotionsResponse |
| 400              | Bad request.                                   | UploadError400          |
| 401              | Unauthorized.                                  | UploadError401          |
| 404              | Meeting not found.                             | -                       |

**MeetingEmotionsResponse (schema)**

| Property           | Type   | Description             |
| ------------------ | ------ | ----------------------- |
| `meeting_emotions` | object | Meeting emotions score. |

**MeetingEmotions (schema)**

| Property    | Type   | Description      |
| ----------- | ------ | ---------------- |
| `anger`     | number | Anger score.     |
| `disgust`   | number | Disgust score.   |
| `fear`      | number | Fear score.      |
| `happiness` | number | Happiness score. |
| `neutral`   | number | Neutral score.   |
| `not_sure`  | number | Not sure score.  |

**Example Request**

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

**Example Response**

```json
{
  "meeting_emotions": {
    "anger": 32.3,
    "disgust": 17.3,
    "fear": 2.6,
    "happiness": 1,
    "neutral": 29.3,
    "not_sure": 17.5
  }
}
```

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

### Conclusion

This concludes the documentation for the Meetra AI API's meeting emotions feature. You can use this endpoint to retrieve the emotions score for a processed meeting, providing the necessary authentication and meeting recording details.


---

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