Before You Begin
You will need:- Your organization ID
- A Humm API token
- The Analyst API base URL, usually
https://analyst.heyhumm.ai
Memories are best updated with a review step. Search first, inspect the current memory, then patch the specific content you want to change.
Recommended Flow
- Search for relevant memories with a broad natural-language query
- Pick the memory you want to change
- Fetch the full current memory
- Draft the updated content locally
- Review the diff
- Apply the
PATCH - Re-fetch the memory and verify the result
1. Search Memories
2. Fetch the Current Memory
idcontenttagsstatusupdated_at
3. Apply the Update
Update only the fields you want to change.Python Example
TypeScript Example
Prompt Your Assistant
Verification
After the update, fetch the memory again:- The content matches the approved update
- Tags are still correct
updated_atchanged
Notes
- Updating memory content through the API also refreshes the memory embeddings used for semantic search.
- Use a low similarity threshold when searching if you are not sure how the memory was originally phrased.
- If a fact is completely outdated, you can also reject or delete the memory instead of editing it.