---
title: "Message response types"
description: "Look up the payload of each response type that the AI agent sends in message:brain_received events, from text and carousels to handover."
---

# Message response types

> Look up the payload of each response type that the AI agent sends in message:brain_received events, from text and carousels to handover.

This page documents all response types supported in `message:brain_received` events. Each response
includes an `action_id` that Moveo uses internally to track UI interactions and analytics.

## Text

```json
{
  "type": "text",
  "text": string,
  "action_id": string,
  "options": [
    {
      "label": string,
      "text": string
    }
  ]
}
```

## Image

```json
{
  "type": "image",
  "url": string,
  "name": string,
  "action_id": string
}
```

## Video

```json
{
  "type": "video",
  "url": string,
  "name": string,
  "size": number,
  "action_id": string
}
```

## File

```json
{
  "type": "file",
  "url": string,
  "name": string,
  "size": number,
  "action_id": string
}
```

## URL

```json
{
  "type": "url",
  "url": string,
  "action_id": string
}
```

## Carousel

```json
{
  "type": "carousel",
  "cards": [
    {
      "title": string,
      "subtitle": string,
      "media": {
        "type": string,
        "url": string
      },
      "buttons": [
        {
          "type": string,
          "label": string,
          "value": string,
          "url": string,
          "trigger_node_id": string,
          "height": string
        }
      ],
      "default_action": object
    }
  ],
  "action_id": string
}
```

## Webview

```json
{
  "type": "webview",
  "url": string,
  "name": string,
  "label": string,
  "trigger_node_id": string,
  "height": string,
  "action_id": string
}
```

## Survey

Same schema as **Webview**, but with `"type": "survey"`.

```json
{
  "type": "survey",
  "url": string,
  "name": string,
  "label": string,
  "trigger_node_id": string,
  "height": string,
  "action_id": string
}
```

## Pause

```json
{
  "type": "pause",
  "duration": number,
  "show_typing": boolean,
  "action_id": string
}
```

## Handover

```json
{
  "type": "handover",
  "name": string,
  "action_id": string
}
```

## Resolve (close)

```json
{
  "type": "close",
  "action_id": string
}
```

---

Refer to the `message:brain_received` section in [WebSocket server events](https://docs.moveo.ai/api/websocket/server-events.md) for
the full structure including `context`, `timestamp`, and `debug` fields.
