Skip to main content

SessionHistoryResponse

data object[]required
  • Array [
  • session_idSession Id (string)required

    Unique session identifier

    titleTitle (string)required

    Session title

    agent_id object

    Associated agent ID

    anyOf
    string
    agent_url object

    Associated agent URL

    anyOf
    string
  • ]
  • pagination object
    anyOf
    total_countTotal Count (integer)required

    Total number of records

    returned_countReturned Count (integer)required

    Number of messages in this response

    has_moreHas More (boolean)required

    Whether more messages exist

    next_cursor object

    Cursor for next page

    anyOf
    string
    prev_cursor object

    Cursor for previous page

    anyOf
    string
    status_codeStatus Code (integer)
    Default value: 200
    messageMessage (string)
    Default value: Session history retrieved successfully
    SessionHistoryResponse
    {
    "data": [
    {
    "session_id": "string",
    "title": "string",
    "agent_id": "string",
    "agent_url": "string"
    }
    ],
    "pagination": {
    "total_count": 0,
    "returned_count": 0,
    "has_more": true,
    "next_cursor": "string",
    "prev_cursor": "string"
    },
    "status_code": 200,
    "message": "Session history retrieved successfully"
    }