Skip to main content
GET
/
chat
/
sessions
/
{session_id}
/
history
List chat session history
curl --request GET \
  --url https://api.open.cx/chat/sessions/{session_id}/history \
  --header 'Authorization: Bearer <token>'
{
  "items": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "created_at": "2023-11-07T05:31:56Z",
      "event": {
        "type": "<string>",
        "sender": {
          "type": "<string>",
          "name": "<string>"
        },
        "content": {
          "type": "<string>",
          "text": "<string>"
        },
        "attachments": [
          {
            "id": "<string>",
            "name": "<string>",
            "size": 123,
            "type": "<string>",
            "url": "<string>"
          }
        ],
        "context": {}
      }
    }
  ],
  "next": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.open.cx/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

session_id
string
required

The unique identifier of the chat session

Query Parameters

cursor
string

Pagination cursor to fetch the next set of results

Response

Default Response

items
object[]
required
next
string | null
required