---
updatedAt: 2024-11-19T08:31:21.000Z
agentTools:
  projectIndex: https://docs.brx.finance/llms.txt
---

# Retrieve conversation history

Retrieves the full history of a specific conversation

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Kona X API",
    "description": "Welcome to Kona Payment Flow API",
    "termsOfService": "https://www.google.com/policies/terms/",
    "contact": {
      "email": "contact@kona.finance"
    },
    "license": {
      "name": "BSD License"
    },
    "version": "v1"
  },
  "security": [
    {
      "Bearer": []
    }
  ],
  "paths": {
    "/conversation/{conversation_id}/": {
      "get": {
        "operationId": "conversation_read",
        "summary": "Retrieve conversation history",
        "description": "Retrieves the full history of a specific conversation",
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "title": "Id",
                      "type": "string",
                      "format": "uuid",
                      "readOnly": true
                    },
                    "created_at": {
                      "title": "Created at",
                      "type": "string",
                      "format": "date-time",
                      "readOnly": true
                    },
                    "updated_at": {
                      "title": "Updated at",
                      "type": "string",
                      "format": "date-time",
                      "readOnly": true
                    },
                    "messages": {
                      "type": "array",
                      "items": {
                        "required": [
                          "content",
                          "is_user"
                        ],
                        "type": "object",
                        "properties": {
                          "id": {
                            "title": "ID",
                            "type": "integer",
                            "readOnly": true
                          },
                          "content": {
                            "title": "Content",
                            "type": "string",
                            "minLength": 1
                          },
                          "is_user": {
                            "title": "Is user",
                            "type": "boolean"
                          },
                          "timestamp": {
                            "title": "Timestamp",
                            "type": "string",
                            "format": "date-time",
                            "readOnly": true
                          },
                          "selected_options": {
                            "title": "Selected options",
                            "type": "object",
                            "nullable": true
                          }
                        },
                        "x-readme-ref-name": "Message"
                      },
                      "readOnly": true
                    },
                    "selected_options": {
                      "title": "Selected options",
                      "type": "object"
                    }
                  },
                  "x-readme-ref-name": "Conversation"
                }
              }
            }
          },
          "404": {
            "description": "Conversation not found"
          },
          "500": {
            "description": "Internal server error"
          }
        },
        "tags": [
          "Chatbot"
        ]
      },
      "parameters": [
        {
          "name": "conversation_id",
          "in": "path",
          "required": true,
          "schema": {
            "type": "string"
          }
        }
      ]
    }
  },
  "servers": [
    {
      "url": "https://x.kona.finance/api"
    }
  ],
  "components": {
    "securitySchemes": {
      "Bearer": {
        "type": "apiKey",
        "name": "Authorization",
        "in": "header"
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```