chatbot

Get Long-Term Memory

Changed on

Retrieves the long-term memory for a chat. Note:

  • Memory is only available when both bot_profile.id and user_profile.id are present
  • Memory is only collected when chat_settings.enable_memory is True in chat requests
  • Memory starts accumulating only after 20 messages in a chat
get/chatbot/v3/memory

Request

  • Base URL
    https://api.exh.ai
  • URL
    https://api.exh.ai/chatbot/v3/memory
  • Auth
    HTTP bearer

Query parameters

bot_idstring required
user_idstring required

Headers

X-Request-Idstring

Response

Successful Response

memorystring required

Bot's memory.

Changes

    • breaking

      for the header request parameter X-Request-Id, default value was changed from 1f2e5836-2061-4964-a183-d86252dde771 to 9f6bff23-b365-40c5-a53f-2d0265fb7d72

    • breaking

      for the header request parameter X-Request-Id, default value was changed from 2d875eec-1b96-497d-9070-ef6e63790928 to 1f2e5836-2061-4964-a183-d86252dde771