# finalize message

Last updated: 2026-11-19

The answer to the client's `finalize`, one per channel, always sent on the socket.

## Fields

- `session_id` (string, required): Identifier of the session.
- `created_at` (string, required): When the message was sent (ISO 8601, UTC).
- `type` ("finalize", required)
- `acknowledged` (boolean, required): `false` when the gateway answered it without the inference: the session is stopping, the request came within 200 ms of the previous one, the session moved to another endpoint before the answer, or its endpoint cannot finalize (`error` says which).
- `error` (string, default: `null`)
- `data` (object, required)
  - `channel` (integer, required): The audio channel answered, from 0.
  - `finalized` (boolean, required): `true`: the open utterance went out as a final, right before this message (its `data.from_finalize` is `true`); `false`: nothing was open (no speech since the last final), or the request was not forwarded (`error` says why).
  - `utterance_id` (string, default: `null`): With `finalized`: the `data.id` of the final it sent.

## Example

```json
{
  "session_id": "string",
  "created_at": "string",
  "type": "finalize",
  "acknowledged": false,
  "error": "string",
  "data": {
    "channel": 0,
    "finalized": false,
    "utterance_id": "00_00000003"
  }
}
```
