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

User

PreviousUnansweredQuestionsNextWebHooks

Lists all User objects associated with the Memori of the current session.

get

This API requires a Giver session.

Path parameters
strSessionIDstringRequired

The session ID

Responses
200
Success
application/json
get
GET /memori/v2/Users/{strSessionID} HTTP/1.1
Host: 
Accept: */*
200

Success

{
  "count": 1,
  "users": [
    {
      "userID": "text",
      "externalUserID": "text",
      "userName": "text",
      "tenantName": "text",
      "email": "text",
      "disableDeepThought": true,
      "creationTimestamp": "2025-06-07T16:13:13.849Z",
      "creationSessionID": "text",
      "lastChangeTimestamp": "2025-06-07T16:13:13.849Z",
      "lastChangeSessionID": "text"
    }
  ],
  "requestID": 1,
  "requestDateTime": "2025-06-07T16:13:13.849Z",
  "resultCode": 1,
  "resultMessage": "text"
}

Lists User objects associated with the Memori of the current session, with pagination.

get

This API requires a Giver session.

Path parameters
strSessionIDstringRequired

The session ID

frominteger · int32Required

The 0-based index of the first User to list

howManyinteger · int32Required

The number of User objects to list

Responses
200
Success
application/json
get
GET /memori/v2/Users/{strSessionID}/{from}/{howMany} HTTP/1.1
Host: 
Accept: */*
200

Success

{
  "count": 1,
  "users": [
    {
      "userID": "text",
      "externalUserID": "text",
      "userName": "text",
      "tenantName": "text",
      "email": "text",
      "disableDeepThought": true,
      "creationTimestamp": "2025-06-07T16:13:13.849Z",
      "creationSessionID": "text",
      "lastChangeTimestamp": "2025-06-07T16:13:13.849Z",
      "lastChangeSessionID": "text"
    }
  ],
  "requestID": 1,
  "requestDateTime": "2025-06-07T16:13:13.849Z",
  "resultCode": 1,
  "resultMessage": "text"
}

Gets the details of a User object.

get

This API requires a Giver session.

Path parameters
strSessionIDstringRequired

The session ID

strUserIDstringRequired

The User object ID

Responses
200
Success
application/json
get
GET /memori/v2/User/{strSessionID}/{strUserID} HTTP/1.1
Host: 
Accept: */*
200

Success

{
  "user": {
    "userID": "text",
    "externalUserID": "text",
    "userName": "text",
    "tenantName": "text",
    "email": "text",
    "disableDeepThought": true,
    "creationTimestamp": "2025-06-07T16:13:13.849Z",
    "creationSessionID": "text",
    "lastChangeTimestamp": "2025-06-07T16:13:13.849Z",
    "lastChangeSessionID": "text"
  },
  "requestID": 1,
  "requestDateTime": "2025-06-07T16:13:13.849Z",
  "resultCode": 1,
  "resultMessage": "text"
}

Lists all Topic objects referenced by a specified User object.

get

This API requires a Giver session.

Path parameters
strSessionIDstringRequired

The session ID

strUserIDstringRequired

The User object ID

Responses
200
Success
application/json
get
GET /memori/v2/UserTopics/{strSessionID}/{strUserID} HTTP/1.1
Host: 
Accept: */*
200

Success

{
  "count": 1,
  "topics": [
    {
      "topicID": "text",
      "name": "text",
      "weight": 1,
      "creationTimestamp": "2025-06-07T16:13:13.849Z",
      "creationSessionID": "text",
      "lastChangeTimestamp": "2025-06-07T16:13:13.849Z",
      "lastChangeSessionID": "text"
    }
  ],
  "requestID": 1,
  "requestDateTime": "2025-06-07T16:13:13.849Z",
  "resultCode": 1,
  "resultMessage": "text"
}

Lists Topic objects referenced by a specified User object, with pagination.

get

This API requires a Giver session.

Path parameters
strSessionIDstringRequired

The session ID

strUserIDstringRequired

The User object ID

frominteger · int32Required

The 0-based index of the first Topic object to list

howManyinteger · int32Required

The number of Topic objects to list

Responses
200
Success
application/json
get
GET /memori/v2/UserTopics/{strSessionID}/{strUserID}/{from}/{howMany} HTTP/1.1
Host: 
Accept: */*
200

Success

{
  "count": 1,
  "topics": [
    {
      "topicID": "text",
      "name": "text",
      "weight": 1,
      "creationTimestamp": "2025-06-07T16:13:13.849Z",
      "creationSessionID": "text",
      "lastChangeTimestamp": "2025-06-07T16:13:13.849Z",
      "lastChangeSessionID": "text"
    }
  ],
  "requestID": 1,
  "requestDateTime": "2025-06-07T16:13:13.849Z",
  "resultCode": 1,
  "resultMessage": "text"
}

Lists all Known Facts objects associated with the current User.

get
Path parameters
strSessionIDstringRequired

The session ID

Responses
200
Success
application/json
get
GET /memori/v2/KnownFacts/{strSessionID} HTTP/1.1
Host: 
Accept: */*
200

Success

{
  "count": 1,
  "knownFacts": [
    {
      "knownFactID": "text",
      "knownFactType": "text",
      "text": "text",
      "creationTimestamp": "2025-06-07T16:13:13.849Z",
      "creationSessionID": "text",
      "lastChangeTimestamp": "2025-06-07T16:13:13.849Z",
      "lastChangeSessionID": "text"
    }
  ],
  "requestID": 1,
  "requestDateTime": "2025-06-07T16:13:13.849Z",
  "resultCode": 1,
  "resultMessage": "text"
}

Lists Known Facts objects associated with the current User, with pagination.

get
Path parameters
strSessionIDstringRequired

The session ID

frominteger · int32Required

The 0-based index of the first Known Fact to list

howManyinteger · int32Required

The number of Known Fact objects to list

Responses
200
Success
application/json
get
GET /memori/v2/KnownFacts/{strSessionID}/{from}/{howMany} HTTP/1.1
Host: 
Accept: */*
200

Success

{
  "count": 1,
  "knownFacts": [
    {
      "knownFactID": "text",
      "knownFactType": "text",
      "text": "text",
      "creationTimestamp": "2025-06-07T16:13:13.849Z",
      "creationSessionID": "text",
      "lastChangeTimestamp": "2025-06-07T16:13:13.849Z",
      "lastChangeSessionID": "text"
    }
  ],
  "requestID": 1,
  "requestDateTime": "2025-06-07T16:13:13.849Z",
  "resultCode": 1,
  "resultMessage": "text"
}

Gets the details of a Known Fact object.

get
Path parameters
strSessionIDstringRequired

The session ID

strKnownFactIDstringRequired

The Known Fact object ID

Responses
200
Success
application/json
get
GET /memori/v2/KnownFact/{strSessionID}/{strKnownFactID} HTTP/1.1
Host: 
Accept: */*
200

Success

{
  "knownFact": {
    "knownFactID": "text",
    "knownFactType": "text",
    "text": "text",
    "creationTimestamp": "2025-06-07T16:13:13.849Z",
    "creationSessionID": "text",
    "lastChangeTimestamp": "2025-06-07T16:13:13.849Z",
    "lastChangeSessionID": "text"
  },
  "requestID": 1,
  "requestDateTime": "2025-06-07T16:13:13.849Z",
  "resultCode": 1,
  "resultMessage": "text"
}

Deletes an existing Known Fact object.

delete
Path parameters
strSessionIDstringRequired

The session ID

strKnownFactIDstringRequired

The Known Fact object ID

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

Success

{
  "requestID": 1,
  "requestDateTime": "2025-06-07T16:13:13.849Z",
  "resultCode": 1,
  "resultMessage": "text"
}
  • GETLists all User objects associated with the Memori of the current session.
  • GETLists User objects associated with the Memori of the current session, with pagination.
  • GETGets the details of a User object.
  • GETLists all Topic objects referenced by a specified User object.
  • GETLists Topic objects referenced by a specified User object, with pagination.
  • GETLists all Known Facts objects associated with the current User.
  • GETLists Known Facts objects associated with the current User, with pagination.
  • GETGets the details of a Known Fact object.
  • DELETEDeletes an existing Known Fact object.