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

Topics

PreviousStatsNextUnansweredQuestions

Lists all Topic objects.

get

This API requires a Giver session.

Path parameters
strSessionIDstringRequired

The session ID

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

Success

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

Lists Topic objects with pagination.

get

This API requires a Giver session.

Path parameters
strSessionIDstringRequired

The session ID

frominteger · int32Required

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

howManyinteger · int32Required

The number of the Topic objects to list

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

Success

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

Gets the details of a Topic object.

get

This API requires a Giver session.

Path parameters
strSessionIDstringRequired

The session ID

strTopicIDstringRequired

The Topic object ID

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

Success

{
  "topic": {
    "topicID": "text",
    "name": "text",
    "weight": 1,
    "creationTimestamp": "2025-06-07T18:57:43.845Z",
    "creationSessionID": "text",
    "lastChangeTimestamp": "2025-06-07T18:57:43.845Z",
    "lastChangeSessionID": "text"
  },
  "requestID": 1,
  "requestDateTime": "2025-06-07T18:57:43.845Z",
  "resultCode": 1,
  "resultMessage": "text"
}

Lists all User objects referencing a specified Topic object.

get

This API requires a Giver session.

Path parameters
strSessionIDstringRequired

The session ID

strTopicIDstringRequired

The Topic object ID

Responses
200
Success
application/json
get
GET /memori/v2/TopicUsers/{strSessionID}/{strTopicID} 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-07T18:57:43.845Z",
      "creationSessionID": "text",
      "lastChangeTimestamp": "2025-06-07T18:57:43.845Z",
      "lastChangeSessionID": "text"
    }
  ],
  "requestID": 1,
  "requestDateTime": "2025-06-07T18:57:43.845Z",
  "resultCode": 1,
  "resultMessage": "text"
}

Lists User objects referencing a specified Topic object, with pagination.

get

This API requires a Giver session.

Path parameters
strSessionIDstringRequired

The session ID

strTopicIDstringRequired

The Topic object ID

frominteger · int32Required

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

howManyinteger · int32Required

The number of User objects to list

Responses
200
Success
application/json
get
GET /memori/v2/TopicUsers/{strSessionID}/{strTopicID}/{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-07T18:57:43.845Z",
      "creationSessionID": "text",
      "lastChangeTimestamp": "2025-06-07T18:57:43.845Z",
      "lastChangeSessionID": "text"
    }
  ],
  "requestID": 1,
  "requestDateTime": "2025-06-07T18:57:43.845Z",
  "resultCode": 1,
  "resultMessage": "text"
}
  • GETLists all Topic objects.
  • GETLists Topic objects with pagination.
  • GETGets the details of a Topic object.
  • GETLists all User objects referencing a specified Topic object.
  • GETLists User objects referencing a specified Topic object, with pagination.