Skip to main content
Version: v4

BasicMessageRecordPageDto

items object[]required

The records of this page.

  • Array [
  • idstringrequired

    Identifier of the message record

    Example: 3fa85f64-5717-4562-b3fc-2c963f66afa6
    connectionIdstringrequired

    Connection the message travelled on

    rolestringrequired

    Whether this agent sent or received the message

    Possible values: [sender, receiver]

    contentstringrequired

    Text of the message

    sentTimestringrequired

    When the sender sent the message, ISO 8601

    Example: 2026-09-10T12:00:00.000Z
    createdAtstring<date-time>required

    When the agent stored the message

  • ]
  • nextCursorstringnullablerequired

    Cursor of the next page. The agent sets it to null on the last page.

    BasicMessageRecordPageDto
    {
    "items": [
    {
    "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "connectionId": "string",
    "role": "sender",
    "content": "string",
    "sentTime": "2026-09-10T12:00:00.000Z",
    "createdAt": "2024-07-29T15:51:28.071Z"
    }
    ],
    "nextCursor": "string"
    }