Fetch all messages

Fetch the list of messages for a session specified by session uuid

Endpoint

GET / api / v1 / session / {uuid} / messages

Authorization

Authorization string Bearer <your_token>

Path

uuid string required

Request example

curl --location --request GET 'https://app.aichatbothub.com/api/v1/session/{uuid}/messages' \
--header 'Authorization: Bearer <token>'

Response

Message list

Message properties

uuid string

created_at string

modified_at string

finish_reason string

cite_data_json string

meta_json string

query string

response string

Response example

[
  {
    "cite_data_json": "string",
    "created_at": "string",
    "finish_reason": "string",
    "meta_json": "string",
    "modified_at": "string",
    "query": "string",
    "response": "string",
    "uuid": "string"
  }
]

Last updated