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

UnansweredQuestions

PreviousTopicsNextUser

Lists all Unanswered Question objects.

get

This API requires a Giver session.

Path parameters
strSessionIDstringRequired

The session ID

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

Success

{
  "count": 1,
  "unansweredQuestions": [
    {
      "unansweredQuestionID": "text",
      "text": "text",
      "contextVars": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "occurrences": 1,
      "receiverID": "text",
      "receiverTag": "text",
      "receiverName": "text",
      "suggestions": [
        {
          "memory": {
            "memoryID": "text",
            "memoryType": "text",
            "lastRead": "2025-06-07T11:51:31.942Z",
            "readOccurrences": 1,
            "receiverID": "text",
            "receiverTag": "text",
            "receiverName": "text",
            "media": [
              {
                "mediumID": "text",
                "url": "text",
                "content": "text",
                "mimeType": "text",
                "title": "text",
                "properties": {
                  "ANY_ADDITIONAL_PROPERTY": "text"
                },
                "creationTimestamp": "2025-06-07T11:51:31.942Z",
                "creationSessionID": "text",
                "lastChangeTimestamp": "2025-06-07T11:51:31.942Z",
                "lastChangeSessionID": "text"
              }
            ],
            "title": "text",
            "titleVariants": [
              "text"
            ],
            "answers": [
              {
                "text": "text",
                "preformatted": true,
                "creationTimestamp": "2025-06-07T11:51:31.942Z",
                "creationSessionID": "text",
                "lastChangeTimestamp": "2025-06-07T11:51:31.942Z",
                "lastChangeSessionID": "text"
              }
            ],
            "date": "2025-06-07T11:51:31.942Z",
            "dateUncertaintyDays": 1,
            "placeName": "text",
            "placeLatitude": 1,
            "placeLongitude": 1,
            "placeUncertaintyKm": 1,
            "conclusive": true,
            "notPickable": true,
            "help": true,
            "hints": [
              "text"
            ],
            "minTimeout": 1,
            "maxTimeout": 1,
            "contextVarsToSet": {
              "ANY_ADDITIONAL_PROPERTY": "text"
            },
            "contextVarsToMatch": {
              "ANY_ADDITIONAL_PROPERTY": "text"
            },
            "dcmOutcomeType": "text",
            "dcmOutcomeCode": "text",
            "tags": [
              "text"
            ],
            "creationTimestamp": "2025-06-07T11:51:31.942Z",
            "creationSessionID": "text",
            "lastChangeTimestamp": "2025-06-07T11:51:31.942Z",
            "lastChangeSessionID": "text"
          },
          "confidence": 1,
          "confidenceLevel": "text"
        }
      ],
      "creationTimestamp": "2025-06-07T11:51:31.942Z",
      "creationSessionID": "text",
      "lastChangeTimestamp": "2025-06-07T11:51:31.942Z",
      "lastChangeSessionID": "text"
    }
  ],
  "requestID": 1,
  "requestDateTime": "2025-06-07T11:51:31.942Z",
  "resultCode": 1,
  "resultMessage": "text"
}

Lists Unanswered Question 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 Unanswered Question object to list

howManyinteger · int32Required

The number of the Unanswered Question objects to list

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

Success

{
  "count": 1,
  "unansweredQuestions": [
    {
      "unansweredQuestionID": "text",
      "text": "text",
      "contextVars": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "occurrences": 1,
      "receiverID": "text",
      "receiverTag": "text",
      "receiverName": "text",
      "suggestions": [
        {
          "memory": {
            "memoryID": "text",
            "memoryType": "text",
            "lastRead": "2025-06-07T11:51:31.942Z",
            "readOccurrences": 1,
            "receiverID": "text",
            "receiverTag": "text",
            "receiverName": "text",
            "media": [
              {
                "mediumID": "text",
                "url": "text",
                "content": "text",
                "mimeType": "text",
                "title": "text",
                "properties": {
                  "ANY_ADDITIONAL_PROPERTY": "text"
                },
                "creationTimestamp": "2025-06-07T11:51:31.942Z",
                "creationSessionID": "text",
                "lastChangeTimestamp": "2025-06-07T11:51:31.942Z",
                "lastChangeSessionID": "text"
              }
            ],
            "title": "text",
            "titleVariants": [
              "text"
            ],
            "answers": [
              {
                "text": "text",
                "preformatted": true,
                "creationTimestamp": "2025-06-07T11:51:31.942Z",
                "creationSessionID": "text",
                "lastChangeTimestamp": "2025-06-07T11:51:31.942Z",
                "lastChangeSessionID": "text"
              }
            ],
            "date": "2025-06-07T11:51:31.942Z",
            "dateUncertaintyDays": 1,
            "placeName": "text",
            "placeLatitude": 1,
            "placeLongitude": 1,
            "placeUncertaintyKm": 1,
            "conclusive": true,
            "notPickable": true,
            "help": true,
            "hints": [
              "text"
            ],
            "minTimeout": 1,
            "maxTimeout": 1,
            "contextVarsToSet": {
              "ANY_ADDITIONAL_PROPERTY": "text"
            },
            "contextVarsToMatch": {
              "ANY_ADDITIONAL_PROPERTY": "text"
            },
            "dcmOutcomeType": "text",
            "dcmOutcomeCode": "text",
            "tags": [
              "text"
            ],
            "creationTimestamp": "2025-06-07T11:51:31.942Z",
            "creationSessionID": "text",
            "lastChangeTimestamp": "2025-06-07T11:51:31.942Z",
            "lastChangeSessionID": "text"
          },
          "confidence": 1,
          "confidenceLevel": "text"
        }
      ],
      "creationTimestamp": "2025-06-07T11:51:31.942Z",
      "creationSessionID": "text",
      "lastChangeTimestamp": "2025-06-07T11:51:31.942Z",
      "lastChangeSessionID": "text"
    }
  ],
  "requestID": 1,
  "requestDateTime": "2025-06-07T11:51:31.942Z",
  "resultCode": 1,
  "resultMessage": "text"
}

Removes an existing Unanswered Question object.

delete

This API requires a Giver session.

Path parameters
strSessionIDstringRequired

The session ID

strUnansweredQuestionIDstringRequired

The Unanswered Question object ID

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

Success

{
  "requestID": 1,
  "requestDateTime": "2025-06-07T11:51:31.942Z",
  "resultCode": 1,
  "resultMessage": "text"
}
  • GETLists all Unanswered Question objects.
  • GETLists Unanswered Question objects with pagination.
  • POSTAdds a new Unanswered Question object.
  • DELETERemoves an existing Unanswered Question object.

Adds a new Unanswered Question object.

post

This API requires a Giver session.

Path parameters
strSessionIDstringRequired

The session ID

Body
unansweredQuestionIDstring | nullableOptional

Unanswered Question object ID.

textstring | nullableOptional

Text of the question.

occurrencesinteger · int32Optional

Number of times the question has been asked.

receiverIDstring | nullableOptional

ID of the Person object who initially asked this question. Null if the question was asked anonymously.

receiverTagstring | nullableOptional

Tag of the Person object who initially asked this question. Null if the question was asked anonymously.

receiverNamestring | nullableOptional

Name of the Person object who initially asked this question. Null if the Memory is public.

creationTimestampstring · date-time | nullableOptional

Timestamp of creation. Always present when reading/receiving an object, ignored when writing/sending an object.

creationSessionIDstring | nullableOptional

ID of the session that created this object.

lastChangeTimestampstring · date-time | nullableOptional

Timestamp of latest change. Always present when reading/receiving an object, ignored when writing/sending an object.

lastChangeSessionIDstring | nullableOptional

ID of the latest session that changed this object.

Responses
200
Success
application/json
post
POST /memori/v2/UnansweredQuestion/{strSessionID} HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
Content-Length: 1645

{
  "unansweredQuestionID": "text",
  "text": "text",
  "contextVars": {
    "ANY_ADDITIONAL_PROPERTY": "text"
  },
  "occurrences": 1,
  "receiverID": "text",
  "receiverTag": "text",
  "receiverName": "text",
  "suggestions": [
    {
      "memory": {
        "memoryID": "text",
        "memoryType": "text",
        "lastRead": "2025-06-07T11:51:31.942Z",
        "readOccurrences": 1,
        "receiverID": "text",
        "receiverTag": "text",
        "receiverName": "text",
        "media": [
          {
            "mediumID": "text",
            "url": "text",
            "content": "text",
            "mimeType": "text",
            "title": "text",
            "properties": {
              "ANY_ADDITIONAL_PROPERTY": "text"
            },
            "creationTimestamp": "2025-06-07T11:51:31.942Z",
            "creationSessionID": "text",
            "lastChangeTimestamp": "2025-06-07T11:51:31.942Z",
            "lastChangeSessionID": "text"
          }
        ],
        "title": "text",
        "titleVariants": [
          "text"
        ],
        "answers": [
          {
            "text": "text",
            "preformatted": true,
            "creationTimestamp": "2025-06-07T11:51:31.942Z",
            "creationSessionID": "text",
            "lastChangeTimestamp": "2025-06-07T11:51:31.942Z",
            "lastChangeSessionID": "text"
          }
        ],
        "date": "2025-06-07T11:51:31.942Z",
        "dateUncertaintyDays": 1,
        "placeName": "text",
        "placeLatitude": 1,
        "placeLongitude": 1,
        "placeUncertaintyKm": 1,
        "conclusive": true,
        "notPickable": true,
        "help": true,
        "hints": [
          "text"
        ],
        "minTimeout": 1,
        "maxTimeout": 1,
        "contextVarsToSet": {
          "ANY_ADDITIONAL_PROPERTY": "text"
        },
        "contextVarsToMatch": {
          "ANY_ADDITIONAL_PROPERTY": "text"
        },
        "dcmOutcomeType": "text",
        "dcmOutcomeCode": "text",
        "tags": [
          "text"
        ],
        "creationTimestamp": "2025-06-07T11:51:31.942Z",
        "creationSessionID": "text",
        "lastChangeTimestamp": "2025-06-07T11:51:31.942Z",
        "lastChangeSessionID": "text"
      },
      "confidence": 1,
      "confidenceLevel": "text"
    }
  ],
  "creationTimestamp": "2025-06-07T11:51:31.942Z",
  "creationSessionID": "text",
  "lastChangeTimestamp": "2025-06-07T11:51:31.942Z",
  "lastChangeSessionID": "text"
}
200

Success

{
  "unansweredQuestionID": "text",
  "requestID": 1,
  "requestDateTime": "2025-06-07T11:51:31.942Z",
  "resultCode": 1,
  "resultMessage": "text"
}