# Speaker Audio Quality

The Meetra AI API provides endpoints for retrieving the technical setup information of a processed meeting recording. This documentation specifically covers the endpoints related to technical setup.

### Retrieve Technical Setup

**Endpoint**

`/single-feature-api/meeting/technical-setup`

**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 technical setup successfully retrieved. | TechnicalSetup |
| 400              | Bad request.                                    | UploadError400 |
| 401              | Unauthorized.                                   | UploadError401 |
| 404              | Meeting not found.                              | -              |

**TechnicalSetup (schema)**

| Property          | Type   | Description                                                  |
| ----------------- | ------ | ------------------------------------------------------------ |
| `technical_setup` | object | Technical setup information for each speaker in the meeting. |

**Example Request**

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

**Example Response**

```json
{
  "technical_setup": {
    "11eb454c-68d4-40f0-b965-0074bc0e688f": "Average quality",
    "582fc671-5b8b-498d-a09e-bfb53145b05a": "Good quality",
    "637f9221-ab4a-46bb-979e-776ba541a407": "Average quality",
    "b01792fb-5097-46d7-b458-1d559a9b4978": "Poor quality"
  }
}
```

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