GET
/
messages
{
  "limit": 123,
  "has_more": true,
  "data": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "conversation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "inputs": {},
      "query": "<string>",
      "answer": "<string>",
      "message_files": [
        {
          "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
          "type": "<string>",
          "url": "<string>",
          "belongs_to": "user"
        }
      ],
      "feedback": {
        "rating": "like"
      },
      "retriever_resources": [
        {
          "position": 123,
          "dataset_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
          "dataset_name": "<string>",
          "document_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
          "document_name": "<string>",
          "segment_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
          "score": 123,
          "content": "<string>"
        }
      ],
      "created_at": 123
    }
  ]
}

Authorizations

Authorization
string
header
required

API Key authentication.

Query Parameters

conversation_id
string
required

Conversation ID.

user
string
required

User identifier.

first_id
string

ID of the first chat record on the current page (for pagination).

limit
integer
default:20

Number of items per page.

Response

200 - application/json

Successfully retrieved conversation history.

The response is of type object.