AIsuru Docs
AIsuru API
AIsuru API
  • Introduzione
  • Engine
    • ChatLogs
    • ContextVars
    • CorrelationPairs
    • CustomDictionary
    • Dialog
    • EventLogs
    • ExpertReferences
    • Functions
    • Intents
    • LocalizationKeys
    • Media
    • Memories
    • NLP
    • People
    • Search
    • Session
    • Stats
    • Topics
    • UnansweredQuestions
    • User
    • WebHooks
    • Models
  • Backend
    • ActionLog
    • Analysis
    • Asset
    • Badge
    • CompletionConfig
    • ConsumptionLog
    • ImportExport
    • Integration
    • Invitation
    • Memori
    • MemoriList
    • Notification
    • Process
    • Tenant
    • User
    • Models
Powered by GitBook
On this page
  1. Engine

ChatLogs

PreviousEngineNextContextVars

Gets the Chat Log objects for the Memori of the current session record in a specific date interval.

get

This API requires a Giver session.

Path parameters
strSessionIDstringRequired

The session ID

strDateFromstringOptional

The optional begin of the date interval, in UTC time, in the format yyyyMMddHHmmssfff

strDateTostringOptional

The optional end of the date interval, in UTC time, in the format yyyyMMddHHmmssfff

Responses
200
Success
get
GET /memori/v2/ChatLogs/{strSessionID}/{strDateFrom}/{strDateTo} HTTP/1.1
Host: 
Accept: */*
200

Success

{
  "chatLogs": [
    {
      "chatLogID": "text",
      "timestamp": "2025-06-07T15:12:03.712Z",
      "memoriID": "text",
      "userID": "text",
      "sessionID": "text",
      "boardOfExperts": true,
      "receiverTag": "text",
      "lines": [
        {
          "timestamp": "2025-06-07T15:12:03.712Z",
          "inbound": true,
          "completion": true,
          "acceptsFeedback": true,
          "text": "text",
          "emitter": "text",
          "media": [
            {
              "url": "text",
              "content": "text",
              "mimeType": "text",
              "title": "text",
              "properties": {
                "ANY_ADDITIONAL_PROPERTY": "text"
              }
            }
          ],
          "memoryID": "text",
          "contextVars": {
            "ANY_ADDITIONAL_PROPERTY": "text"
          }
        }
      ]
    }
  ],
  "requestID": 1,
  "requestDateTime": "2025-06-07T15:12:03.712Z",
  "resultCode": 1,
  "resultMessage": "text"
}

Removes all Chat Log objects in a specific date interval.

delete

This API requires a Giver session.

Path parameters
strSessionIDstringRequired

The session ID

strDateFromstringOptional

The optional begin of the date interval, in UTC time, in the format yyyyMMddHHmmssfff

strDateTostringOptional

The optional end of the date interval, in UTC time, in the format yyyyMMddHHmmssfff

Responses
200
Success
application/json
delete
DELETE /memori/v2/ChatLogs/{strSessionID}/{strDateFrom}/{strDateTo} HTTP/1.1
Host: 
Accept: */*
200

Success

{
  "requestID": 1,
  "requestDateTime": "2025-06-07T15:12:03.712Z",
  "resultCode": 1,
  "resultMessage": "text"
}

Gets the Chat Log objects for the Memori of the current session recorded during a specific other session.

get

This API requires a Giver session, unless the session ID is the same as the Chat Log session ID.

Path parameters
strSessionIDstringRequired

The session ID

strChatLogSessionIDstringRequired

The session ID for which Chat Log objects are being searched

Responses
200
Success
get
GET /memori/v2/SessionChatLogs/{strSessionID}/{strChatLogSessionID} HTTP/1.1
Host: 
Accept: */*
200

Success

{
  "chatLogs": [
    {
      "chatLogID": "text",
      "timestamp": "2025-06-07T15:12:03.712Z",
      "memoriID": "text",
      "userID": "text",
      "sessionID": "text",
      "boardOfExperts": true,
      "receiverTag": "text",
      "lines": [
        {
          "timestamp": "2025-06-07T15:12:03.712Z",
          "inbound": true,
          "completion": true,
          "acceptsFeedback": true,
          "text": "text",
          "emitter": "text",
          "media": [
            {
              "url": "text",
              "content": "text",
              "mimeType": "text",
              "title": "text",
              "properties": {
                "ANY_ADDITIONAL_PROPERTY": "text"
              }
            }
          ],
          "memoryID": "text",
          "contextVars": {
            "ANY_ADDITIONAL_PROPERTY": "text"
          }
        }
      ]
    }
  ],
  "requestID": 1,
  "requestDateTime": "2025-06-07T15:12:03.712Z",
  "resultCode": 1,
  "resultMessage": "text"
}

Gets the Chat Log objects for the Memori of the current session created by a specific User.

get

This API requires a Giver session.

Path parameters
strSessionIDstringRequired

The session ID

strUserIDstringRequired

The user ID for which Chat Log objects are being searched

strDateFromstringOptional

The optional begin of the date interval, in UTC time, in the format yyyyMMddHHmmssfff

strDateTostringOptional

The optional end of the date interval, in UTC time, in the format yyyyMMddHHmmssfff

Responses
200
Success
get
GET /memori/v2/UserChatLogs/{strSessionID}/{strUserID}/{strDateFrom}/{strDateTo} HTTP/1.1
Host: 
Accept: */*
200

Success

{
  "chatLogs": [
    {
      "chatLogID": "text",
      "timestamp": "2025-06-07T15:12:03.712Z",
      "memoriID": "text",
      "userID": "text",
      "sessionID": "text",
      "boardOfExperts": true,
      "receiverTag": "text",
      "lines": [
        {
          "timestamp": "2025-06-07T15:12:03.712Z",
          "inbound": true,
          "completion": true,
          "acceptsFeedback": true,
          "text": "text",
          "emitter": "text",
          "media": [
            {
              "url": "text",
              "content": "text",
              "mimeType": "text",
              "title": "text",
              "properties": {
                "ANY_ADDITIONAL_PROPERTY": "text"
              }
            }
          ],
          "memoryID": "text",
          "contextVars": {
            "ANY_ADDITIONAL_PROPERTY": "text"
          }
        }
      ]
    }
  ],
  "requestID": 1,
  "requestDateTime": "2025-06-07T15:12:03.712Z",
  "resultCode": 1,
  "resultMessage": "text"
}

Gets the Chat Log objects for the Memori of the current session created by the current User.

get
Path parameters
strSessionIDstringRequired

The session ID

strDateFromstringOptional

The optional begin of the date interval, in UTC time, in the format yyyyMMddHHmmssfff

strDateTostringOptional

The optional end of the date interval, in UTC time, in the format yyyyMMddHHmmssfff

Responses
200
Success
get
GET /memori/v2/CurrentUserChatLogs/{strSessionID}/{strDateFrom}/{strDateTo} HTTP/1.1
Host: 
Accept: */*
200

Success

{
  "chatLogs": [
    {
      "chatLogID": "text",
      "timestamp": "2025-06-07T15:12:03.712Z",
      "memoriID": "text",
      "userID": "text",
      "sessionID": "text",
      "boardOfExperts": true,
      "receiverTag": "text",
      "lines": [
        {
          "timestamp": "2025-06-07T15:12:03.712Z",
          "inbound": true,
          "completion": true,
          "acceptsFeedback": true,
          "text": "text",
          "emitter": "text",
          "media": [
            {
              "url": "text",
              "content": "text",
              "mimeType": "text",
              "title": "text",
              "properties": {
                "ANY_ADDITIONAL_PROPERTY": "text"
              }
            }
          ],
          "memoryID": "text",
          "contextVars": {
            "ANY_ADDITIONAL_PROPERTY": "text"
          }
        }
      ]
    }
  ],
  "requestID": 1,
  "requestDateTime": "2025-06-07T15:12:03.712Z",
  "resultCode": 1,
  "resultMessage": "text"
}

Removes an existing Chat Log object.

delete

This API requires a Giver session.

Path parameters
strSessionIDstringRequired

The session ID

strChatLogIDstringRequired

The Chat Log object ID

Responses
200
Success
application/json
delete
DELETE /memori/v2/ChatLog/{strSessionID}/{strChatLogID} HTTP/1.1
Host: 
Accept: */*
200

Success

{
  "requestID": 1,
  "requestDateTime": "2025-06-07T15:12:03.712Z",
  "resultCode": 1,
  "resultMessage": "text"
}
  • GETGets the Chat Log objects for the Memori of the current session record in a specific date interval.
  • DELETERemoves all Chat Log objects in a specific date interval.
  • GETGets the Chat Log objects for the Memori of the current session recorded during a specific other session.
  • GETGets the Chat Log objects for the Memori of the current session created by a specific User.
  • GETGets the Chat Log objects for the Memori of the current session created by the current User.
  • DELETERemoves an existing Chat Log object.