Get User Profile
Changed onGet the real-time user profiles for long term memory
Request
- Base URLhttps://api.memobase.dev
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Query parameters
Number of profiles to retrieve, default is all
Max token size of returned profile content, default is all
Rank prefer topics at first to try to keep them in filtering, default order is by updated time
Only return profiles with these topics, default is all
Max subtopic size of the same topic in returned profile, default is all
Set specific subtopic limits for topics in JSON, for example {"topic1": 3, "topic2": 5}. The limits in this param will override max_subtopic_size.
List of chats in OpenAI Message format, for example: [{"role": "user", "content": "Hello"}, {"role": "assistant", "content": "Hi"}]
Response
Successful Response
Changes
- info
for the
pathrequest parameteruser_id, the type was generalized fromstringto no type
- info
- info
added the new optional
queryrequest parameterchats_str
- info