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

# Get conversation by ID

Availability: 9.2+

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

## Paths

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

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

#### Path Parameters

- `conversation_id` (string)
  The unique identifier of the conversation to retrieve.

## Description

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

Get a specific conversation by ID. Use this endpoint to retrieve the complete conversation history including all messages and metadata. 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.

## Response

Indicates a successful response

## Code Examples

#### Console

```console
GET kbn://api/agent_builder/conversations/{conversation_id}
```

#### curl

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

## Response Examples

#### Get conversation by id response

Example response containing the contents of a convesation with the chat agent

```json
{
  "agent_id": "elastic-ai-agent",
  "created_at": "2025-09-19T17:45:39.554Z",
  "id": "bcc176c5-38f6-40be-be0c-898e34fa1480",
  "permissions": {
    "delete": true,
    "rename": true
  },
  "rounds": [
    {
      "feedback": {
        "chips": [
          "accurate",
          "useful"
        ],
        "comment": "",
        "submitted_at": "2025-09-19T17:46:12.000Z",
        "vote": "up"
      },
      "id": "170ec3b2-0f5a-4538-8b60-549572386d2a",
      "input": {
        "message": "Hello, how are you?"
      },
      "response": {
        "message": "Since this is a general greeting that doesn\u0027t require any organizational or product-specific information, I can respond without using tools.\n\nHello! I\u0027m doing well, thank you for asking. I\u0027m here to help you with any questions you may have. How can I assist you today?"
      },
      "steps": []
    }
  ],
  "title": "General Greeting",
  "updated_at": "2025-09-19T17:45:39.554Z",
  "user": {
    "username": "elastic"
  }
}
```

