---
type: api
title: List conversations
description: **Spaces method and path for this operation:**
url: https://www.elastic.co/elastic/docs-builder/docs/4371/api/doc/kibana/v9/operation/operation-get-agent-builder-conversations
resource: https://www.elastic.co/elastic/docs-builder/docs/4371/api/doc/kibana/v9/operation/operation-get-agent-builder-conversations
products:
  - Kibana
---

# List conversations

Availability: 9.2+

- Server: `https://{kibana_url}`

## Paths

- `GET` `/api/agent_builder/conversations`
- `GET` `/s/{space_id}/api/agent_builder/conversations`

- [Api key auth](/elastic/docs-builder/docs/4371/api/doc/kibana/v9/authentication#apikeyauth)
- [Basic auth](/elastic/docs-builder/docs/4371/api/doc/kibana/v9/authentication#basicauth)

## Description

Refer to [Spaces](https://www.elastic.co/docs/deploy-manage/manage-spaces) for more information.

List all conversations for a user. Use the optional agent ID to filter conversations by a specific agent. To learn more about agent conversations, refer to the [agent chat documentation](https://www.elastic.co/docs/explore-analyze/ai-features/agent-builder/chat).<br/><br/>[Required authorization] Route required privileges: agentBuilder:read.

## Query String Parameters

- `agent_id` (string)
  Optional agent ID to filter conversations by a specific agent.

## Response

Indicates a successful response

## Code Examples

#### Console

```console
GET kbn://api/agent_builder/conversations
```

#### curl

```curl
curl \
  -X GET "${KIBANA_URL}/api/agent_builder/conversations" \
  -H "Authorization: ApiKey ${API_KEY}"
```

## Response Examples

#### List conversations response

Example response containing the list of conversations with all agents

```json
{
  "results": [
    {
      "agent_id": "elastic-ai-agent",
      "created_at": "2025-09-19T17:45:39.554Z",
      "id": "bcc176c5-38f6-40be-be0c-898e34fa1480",
      "title": "General Greeting",
      "updated_at": "2025-09-19T17:45:39.554Z",
      "user": {
        "username": "elastic"
      }
    }
  ]
}
```

