> ## Documentation Index
> Fetch the complete documentation index at: https://docs.fireflies.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Event Schema

> Reference for all events emitted by the Fireflies.ai Realtime API

# Event Reference

This page documents the events you may receive from the Fireflies.ai Realtime API WebSocket.

## Event List

| Event Name | Description |
| - | - |
| `auth.success` | Emitted when authentication succeeds. |
| `auth.failed` | Emitted when authentication fails. The socket will disconnect after this event. |
| `connection.established` | Emitted when the connection is successfully established. |
| `connection.error` | Emitted when there is a connection or authorization error. |
| `transcription.broadcast` | Emitted for every new transcription segment or update. |

## RealtimeTranscriptionEvent

**transcript\_id** `String`

The unique identifier for the transcript / meeting

**chunk\_id** `String`

The unique identifier for the transcription segment (chunk). You may use this field to deduplicate transcription events. If the transcription is being updated, it will contain the same chunk\_id as the previous event. A new transcription will have a different chunk\_id

**text** `String`

The transcribed text for this segment.

**speaker\_name** `String`

The name of the speaker for this segment.

**start\_time** `Float`

The start time (in seconds)

**end\_time** `Float`

The end time (in seconds)

## Example Payload

```json theme={null}
{
  "transcript_id": "abc123",
  "chunk_id": "chunk_001",
  "text": "Hello world",
  "speaker_name": "Alice",
  "start_time": 0.0,
  "end_time": 1.25
}
```

## Additional Resources

> [card] [Getting Started](https://docs.fireflies.ai/realtime-api/getting-started.md)
>
> Getting started with Realtime API

> [card] [Sentence](https://docs.fireflies.ai/schema/sentence.md)
>
> Schema for Sentence


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.