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

LocalizationKeys

PreviousIntentsNextMedia

Lists all Localization Keys.

get

This API requires a Giver session.

Path parameters
strSessionIDstringRequired

The session ID

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

Success

{
  "count": 1,
  "localizationKeys": [
    {
      "key": "text",
      "value": "text",
      "creationTimestamp": "2025-06-07T18:33:16.301Z",
      "creationSessionID": "text",
      "lastChangeTimestamp": "2025-06-07T18:33:16.301Z",
      "lastChangeSessionID": "text"
    }
  ],
  "requestID": 1,
  "requestDateTime": "2025-06-07T18:33:16.301Z",
  "resultCode": 1,
  "resultMessage": "text"
}

Lists Localization Keys with pagination.

get

This API requires a Giver session.

Path parameters
strSessionIDstringRequired

The session ID

frominteger · int32Required

The 0-based index of the first Localization Key to list

howManyinteger · int32Required

The number of the Localization Keys to list

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

Success

{
  "count": 1,
  "localizationKeys": [
    {
      "key": "text",
      "value": "text",
      "creationTimestamp": "2025-06-07T18:33:16.301Z",
      "creationSessionID": "text",
      "lastChangeTimestamp": "2025-06-07T18:33:16.301Z",
      "lastChangeSessionID": "text"
    }
  ],
  "requestID": 1,
  "requestDateTime": "2025-06-07T18:33:16.301Z",
  "resultCode": 1,
  "resultMessage": "text"
}

Get an existing Localization Key.

get

This API requires a Giver session.

Path parameters
strSessionIDstringRequired

The session ID

strKeystringRequired

The key of the Localization Key

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

Success

{
  "localizationKey": {
    "key": "text",
    "value": "text",
    "creationTimestamp": "2025-06-07T18:33:16.301Z",
    "creationSessionID": "text",
    "lastChangeTimestamp": "2025-06-07T18:33:16.301Z",
    "lastChangeSessionID": "text"
  },
  "requestID": 1,
  "requestDateTime": "2025-06-07T18:33:16.301Z",
  "resultCode": 1,
  "resultMessage": "text"
}

Removes an existing Localization Key.

delete

This API requires a Giver session. This is only possible if the key is part of a key set, where a key set is a set of keys of a common prefix and an index, e.g.: INPUT_QUIT_1, INPUT_QUIT_2 etc. Any index can be specified, the key set will be reordered appropriately.

Path parameters
strSessionIDstringRequired

The session ID

strKeystringRequired

The key of the Localization Key

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

Success

{
  "requestID": 1,
  "requestDateTime": "2025-06-07T18:33:16.301Z",
  "resultCode": 1,
  "resultMessage": "text"
}
  • GETLists all Localization Keys.
  • GETLists Localization Keys with pagination.
  • GETGet an existing Localization Key.
  • DELETERemoves an existing Localization Key.
  • POSTAdd a new Localization Key.
  • PATCHUpdates an existing Localization Key.

Add a new Localization Key.

post

This API requires a Giver session. This is only possible if the key is part of a key set, where a key set is a set of keys of a common prefix and an index, e.g.: INPUT_QUIT_1, INPUT_QUIT_2 etc. Any index can be specified, the key set will be reordered appropriately.

Path parameters
strSessionIDstringRequired

The session ID

Body
keystring | nullableOptional

Localization Key. Required during Add operations. Ignored during Update operations.

valuestring | nullableOptional

Value of the Localization Key. Required during Add and Update operations.

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/LocalizationKey/{strSessionID} HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
Content-Length: 181

{
  "key": "text",
  "value": "text",
  "creationTimestamp": "2025-06-07T18:33:16.301Z",
  "creationSessionID": "text",
  "lastChangeTimestamp": "2025-06-07T18:33:16.301Z",
  "lastChangeSessionID": "text"
}
200

Success

{
  "localizationKey": {
    "key": "text",
    "value": "text",
    "creationTimestamp": "2025-06-07T18:33:16.301Z",
    "creationSessionID": "text",
    "lastChangeTimestamp": "2025-06-07T18:33:16.301Z",
    "lastChangeSessionID": "text"
  },
  "requestID": 1,
  "requestDateTime": "2025-06-07T18:33:16.301Z",
  "resultCode": 1,
  "resultMessage": "text"
}

Updates an existing Localization Key.

patch

This API requires a Giver session.

Path parameters
strSessionIDstringRequired

The session ID

Body
keystring | nullableOptional

Localization Key. Required during Add operations. Ignored during Update operations.

valuestring | nullableOptional

Value of the Localization Key. Required during Add and Update operations.

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
patch
PATCH /memori/v2/LocalizationKey/{strSessionID} HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
Content-Length: 181

{
  "key": "text",
  "value": "text",
  "creationTimestamp": "2025-06-07T18:33:16.301Z",
  "creationSessionID": "text",
  "lastChangeTimestamp": "2025-06-07T18:33:16.301Z",
  "lastChangeSessionID": "text"
}
200

Success

{
  "requestID": 1,
  "requestDateTime": "2025-06-07T18:33:16.301Z",
  "resultCode": 1,
  "resultMessage": "text"
}