# Speaker Detection

This endpoint accepts `GET` requests with no request parameters.

**Endpoint**

```
GET /api/meeting/speakers HTTP/1.1
```

### Response

The response payload is a JSON object that contains a `speakers` array. Each element of the `speakers` array is an object with two properties: `alias` and `id`.

#### Response Properties

| Property | Type   | Description                           |
| -------- | ------ | ------------------------------------- |
| `alias`  | string | The alias of the speaker.             |
| `id`     | string | The unique identifier of the speaker. |

#### Example Response

```json
{
  "speakers": [
    {
      "alias": "Daniel",
      "id": "1c2ee2da-e2f6-433d-b554-248707c2491c"
    },
    {
      "alias": "Adrian",
      "id": "2d3fe3da-f3e6-444d-b555-349707b2492b"
    }
  ]
}
```

### Error Handling

If an error occurs while processing the request, the API will return a response with a status code indicating the error type and a JSON object containing an `error` property with a description of the error.

#### Example Error Response

```json
{
  "error": "Invalid request format."
}
```

***

**Note:** This documentation is for the `/api/meeting/speakers` endpoint only. For details on other endpoints, please refer to their respective documentation.


---

# 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/speaker-detection.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.
