The types field in the request specifies which memory types to add to:
If types is empty or not provided, memories are added to all types (episodic and semantic)
If types only contains "episodic", memories are added only to Episodic memory
If types only contains "semantic", memories are added only to Semantic memory
If types contains both, memories are added to both types
Each memory message represents a discrete piece of information to be stored
in the project’s memory system. Messages can include content, metadata,
timestamps, and other contextual details.
The producer field indicates who created the message, while the
produced_for field specifies the intended recipient. These fields help
provide context for the memory and if provided should be user-friendly names.
The endpoint accepts a batch of messages to be added in a single request.
The unique identifier of the organization.
- Must not contain slashes (`/`).
- Must contain only letters, numbers, underscores, hyphens, colon, and Unicode
characters (e.g., Chinese/Japanese/Korean). No slashes or other symbols
are allowed.
This value determines the namespace the project belongs to.
The identifier of the project.
- Must be unique within the organization.
- Must not contain slashes (`/`).
- Must contain only letters, numbers, underscores, hyphens, colon, and Unicode
characters (e.g., Chinese/Japanese/Korean). No slashes or other symbols
are allowed.
This ID is used in API paths and resource locations.
The list of results for each added memory message.
Show child attributes
{"docsConfig":{"theme":"palm","$schema":"https://mintlify.com/docs.json","name":"MemMachine Documentation","colors":{"primary":"#9B63E6","light":"#CE63C8","dark":"#120919"},"logo":{"light":"https://mintcdn.com/memmachine/BpRF5o8wX7ODMyIp/logo/memmachine-blue-logo-banner.png?fit=max\u0026auto=format\u0026n=BpRF5o8wX7ODMyIp\u0026q=85\u0026s=9fa6026f3171ba59566b89687f00b96e","dark":"https://mintcdn.com/memmachine/BpRF5o8wX7ODMyIp/logo/memmachine-white-logo-banner.png?fit=max\u0026auto=format\u0026n=BpRF5o8wX7ODMyIp\u0026q=85\u0026s=8a800076f7ea2651c979f0cb78b77ced"},"favicon":"https://mintcdn.com/memmachine/BpRF5o8wX7ODMyIp/favicon.ico?fit=max\u0026auto=format\u0026n=BpRF5o8wX7ODMyIp\u0026q=85\u0026s=76c8303c9afb6fbcbfe209dae10da302","background":{"decoration":"windows","color":{"dark":"#0D0713"}},"navbar":{"links":[{"href":"https://discord.gg/usydANvKqD","label":"Support"},{"href":"https://console.memmachine.ai","label":"Platform Console"}]},"footer":{"socials":{"github":"https://github.com/MemMachine/MemMachine","discord":"https://discord.gg/usydANvKqD"}},"integrations":{"gtm":{"tagId":"GTM-WDX7ZBC7"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Documentation","icon":"book-open-cover","href":"https://docs.memmachine.ai/"},{"anchor":"Community","icon":"slack","href":"https://memmachine.ai/community"},{"anchor":"Blog","icon":"newspaper","href":"https://memmachine.ai/blog"},{"anchor":"Platform","icon":"box-open","href":"https://console.memmachine.ai/"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"memmachine","hasAudioNarration":false,"actualSubdomain":"memmachine","customDomains":["docs.memmachine.ai"],"gitSource":{"type":"github","owner":"memmachine","repo":"memmachine","deployBranch":"main","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae5210efffb63bb5d9d53d8","collectionId":"b5415022-f022-49e9-bf29-0bcf7e89c358","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae5210efffb63bb5d9d53d8"},"entitlements":{},"buildId":"6ae5210efffb63bb5d9d53d8","clientVersion":"0.0.4043","searchFilterCounts":[{"language":"default","tag":"OpenSource API","count":88},{"language":"default","tag":"REST API","count":54},{"language":"default","tag":"Docs","count":29},{"language":"default","tag":"Typescript REST SDK","count":20},{"language":"default","tag":"Platform","count":16},{"language":"default","tag":"Interfaces","count":13},{"language":"default","tag":"Platform API","count":12},{"language":"default","tag":"Configuration","count":11},{"language":"default","tag":"Examples","count":10},{"language":"default","tag":"Integrations","count":10}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/memories/add-memories","slug":"/api-reference/memories/add-memories","pageMetadata":{"title":"Add Memories","description":"Add memory messages to a project.\n\n The `types` field in the request specifies which memory types to add to:\n - If `types` is empty or not provided, memories are added to all types (episodic and semantic)\n - If `types` only contains `\"episodic\"`, memories are added only to Episodic memory\n - If `types` only contains `\"semantic\"`, memories are added only to Semantic memory\n - If `types` contains both, memories are added to both types\n\n Each memory message represents a discrete piece of information to be stored\n in the project's memory system. Messages can include content, metadata,\n timestamps, and other contextual details.\n\n The producer field indicates who created the message, while the\n produced_for field specifies the intended recipient. These fields help\n provide context for the memory and if provided should be user-friendly names.\n\n The endpoint accepts a batch of messages to be added in a single request.","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v2/memories","href":"/api-reference/memories/add-memories","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n li: \"li\",\n p: \"p\",\n ul: \"ul\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"Add memory messages to a project.\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"The \", _jsx(_components.code, {\n children: \"types\"\n }), \" field in the request specifies which memory types to add to:\"]\n }), \"\\n\", _jsxs(_components.ul, {\n children: [\"\\n\", _jsxs(_components.li, {\n children: [\"If \", _jsx(_components.code, {\n children: \"types\"\n }), \" is empty or not provided, memories are added to all types (episodic and semantic)\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [\"If \", _jsx(_components.code, {\n children: \"types\"\n }), \" only contains \", _jsx(_components.code, {\n children: \"\\\"episodic\\\"\"\n }), \", memories are added only to Episodic memory\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [\"If \", _jsx(_components.code, {\n children: \"types\"\n }), \" only contains \", _jsx(_components.code, {\n children: \"\\\"semantic\\\"\"\n }), \", memories are added only to Semantic memory\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [\"If \", _jsx(_components.code, {\n children: \"types\"\n }), \" contains both, memories are added to both types\"]\n }), \"\\n\"]\n }), \"\\n\", _jsx(_components.p, {\n children: \"Each memory message represents a discrete piece of information to be stored\\nin the project’s memory system. Messages can include content, metadata,\\ntimestamps, and other contextual details.\"\n }), \"\\n\", _jsx(_components.p, {\n children: \"The producer field indicates who created the message, while the\\nproduced_for field specifies the intended recipient. These fields help\\nprovide context for the memory and if provided should be user-friendly names.\"\n }), \"\\n\", _jsx(_components.p, {\n children: \"The endpoint accepts a batch of messages to be added in a single request.\"\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Add Memories","description":"Add memory messages to a project.\n\n The `types` field in the request specifies which memory types to add to:\n - If `types` is empty or not provided, memories are added to all types (episodic and semantic)\n - If `types` only contains `\"episodic\"`, memories are added only to Episodic memory\n - If `types` only contains `\"semantic\"`, memories are added only to Semantic memory\n - If `types` contains both, memories are added to both types\n\n Each memory message represents a discrete piece of information to be stored\n in the project's memory system. Messages can include content, metadata,\n timestamps, and other contextual details.\n\n The producer field indicates who created the message, while the\n produced_for field specifies the intended recipient. These fields help\n provide context for the memory and if provided should be user-friendly names.\n\n The endpoint accepts a batch of messages to be added in a single request.","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v2/memories","href":"/api-reference/memories/add-memories","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Memories"],"summary":"Add Memories","description":"Add memory messages to a project.\n\n The `types` field in the request specifies which memory types to add to:\n - If `types` is empty or not provided, memories are added to all types (episodic and semantic)\n - If `types` only contains `\"episodic\"`, memories are added only to Episodic memory\n - If `types` only contains `\"semantic\"`, memories are added only to Semantic memory\n - If `types` contains both, memories are added to both types\n\n Each memory message represents a discrete piece of information to be stored\n in the project's memory system. Messages can include content, metadata,\n timestamps, and other contextual details.\n\n The producer field indicates who created the message, while the\n produced_for field specifies the intended recipient. These fields help\n provide context for the memory and if provided should be user-friendly names.\n\n The endpoint accepts a batch of messages to be added in a single request.","operationId":"add_memories","requestBody":"3fcaadde-fb03-4a64-b585-d81e92cdc67b","responses":{"200":"c4cac7ce-929d-4ab7-a83a-bf246253fec9","422":"253235d8-f14d-46d2-a781-9daa654a6a8d"},"method":"post","type":"path","servers":["cb8616da-2789-41b0-a1b4-ad02a2608fe3"],"security":[],"path":"/api/v2/memories","baseUrlOptions":["http://localhost:8080"],"title":"Add Memories","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"content":{"application/json":{"schema":{"properties":{"messages":{"items":{"properties":{"content":{"type":"string","title":"Content","description":"The content or text of the message.","isRequired":true,"uniqueKey":"messages.items.[INDEX].content","typeLabel":"string"},"producer":{"type":"string","title":"Producer","description":"\n The sender of the message. This is a user-friendly name for\n the LLM to understand the message context. Defaults to 'user'.\n ","default":"user","uniqueKey":"messages.items.[INDEX].producer","typeLabel":"string"},"produced_for":{"type":"string","title":"Produced For","description":"\n The intended recipient of the message. This is a user-friendly name for\n the LLM to understand the message context. Defaults to an empty string.\n ","default":"","uniqueKey":"messages.items.[INDEX].produced_for","typeLabel":"string"},"timestamp":{"type":"string","format":"date-time","title":"Timestamp","description":"\n The timestamp when the message was created, in ISO 8601 format.\n The formats supported are:\n - ISO 8601 string (e.g., '2023-10-01T12:00:00Z' or '2023-10-01T08:00:00-04:00')\n - Unix epoch time in seconds (e.g., 1633072800)\n - Unix epoch time in milliseconds (e.g., 1633072800000)\n If not provided, the server assigns the current time.\n If the format is unrecognized, an error is returned.\n ","uniqueKey":"messages.items.[INDEX].timestamp","typeLabel":"string\u003cdate-time>"},"role":{"type":"string","title":"Role","description":"\n The role of the message in a conversation (e.g., 'user', 'assistant',\n 'system'). Optional; defaults to an empty string.\n ","default":"","uniqueKey":"messages.items.[INDEX].role","typeLabel":"string"},"metadata":{"additionalProperties":{"type":"string","uniqueKey":"messages.items.[INDEX].metadata.additionalProperties","typeLabel":"string"},"type":"object","title":"Metadata","description":"\n Additional metadata associated with the message, represented as key-value\n pairs. Optional; defaults to an empty object.\n Retrieval operations may utilize this metadata for filtering.\n Use 'metadata.{key}' to filter based on specific metadata keys.\n ","uniqueKey":"messages.items.[INDEX].metadata","typeLabel":"Metadata · object"},"episode_type":{"oneOf":[{"type":"string","title":"EpisodeType","description":"\n The type of an episode (e.g., 'message').\n ","enum":["message"],"uniqueKey":"messages.items.[INDEX].episode_type.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"\n The type of an episode (e.g., 'message').\n ","uniqueKey":"messages.items.[INDEX].episode_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"messages.items.[INDEX].episode_type","typeLabel":"enum\u003cstring> | null"}},"type":"object","required":["content"],"title":"MemoryMessage","description":"Model representing a memory message.","uniqueKey":"messages.items.[INDEX]","typeLabel":"MemoryMessage · object"},"type":"array","minItems":1,"title":"Messages","description":"\n A list of messages to be added (batch input).\n Must contain at least one message.\n ","isRequired":true,"uniqueKey":"messages","typeLabel":"MemoryMessage · object[]"},"org_id":{"type":"string","title":"Org Id","description":"\n The unique identifier of the organization.\n\n - Must not contain slashes (`/`).\n - Must contain only letters, numbers, underscores, hyphens, colon, and Unicode\n characters (e.g., Chinese/Japanese/Korean). No slashes or other symbols\n are allowed.\n\n This value determines the namespace the project belongs to.\n ","default":"universal","examples":["MemVerge","AI_Labs"],"uniqueKey":"org_id","typeLabel":"string"},"project_id":{"type":"string","title":"Project Id","description":"\n The identifier of the project.\n\n - Must be unique within the organization.\n - Must not contain slashes (`/`).\n - Must contain only letters, numbers, underscores, hyphens, colon, and Unicode\n characters (e.g., Chinese/Japanese/Korean). No slashes or other symbols\n are allowed.\n\n This ID is used in API paths and resource locations.\n ","default":"universal","examples":["memmachine","research123","qa_pipeline"],"uniqueKey":"project_id","typeLabel":"string"},"types":{"items":{"type":"string","enum":["semantic","episodic"],"title":"MemoryType","description":"Memory type.","uniqueKey":"types.items.[INDEX]","typeLabel":"enum\u003cstring>"},"type":"array","title":"Types","description":"\n A list of memory types to include in the search (e.g., episodic, semantic).\n If empty, all available types are searched.\n ","examples":[["episodic","semantic"]],"uniqueKey":"types","typeLabel":"enum\u003cstring>[]"}},"type":"object","required":["messages"],"title":"AddMemoriesSpec","description":"Specification model for adding memories.","uniqueKey":"","typeLabel":"AddMemoriesSpec · object"},"examples":{"Example":{"title":"Example","value":{"messages":[{"content":"\u003cstring>","producer":"user","produced_for":"","timestamp":"2023-11-07T05:31:56Z","role":"","metadata":{},"episode_type":"message"}],"org_id":"MemVerge","project_id":"memmachine","types":["episodic","semantic"]}}},"exampleType":"generated"}},"required":true,"exampleType":"generated"},"responses":{"c4cac7ce-929d-4ab7-a83a-bf246253fec9":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"results":{"items":{"properties":{"uid":{"type":"string","format":"uuid","title":"Uid","description":"The unique identifier of the memory message.","isRequired":true,"uniqueKey":"results.items.[INDEX].uid","typeLabel":"string\u003cuuid>"}},"type":"object","required":["uid"],"title":"AddMemoryResult","description":"Response model for adding memories.","uniqueKey":"results.items.[INDEX]","typeLabel":"AddMemoryResult · object"},"type":"array","title":"Results","description":"The list of results for each added memory message.","isRequired":true,"uniqueKey":"results","typeLabel":"AddMemoryResult · object[]"}},"type":"object","required":["results"],"title":"AddMemoriesResponse","description":"Response model for adding memories.","uniqueKey":"","typeLabel":"AddMemoriesResponse · object"},"examples":{"Example":{"title":"Example","value":{"results":[{"uid":"3c90c3cc-0d44-4b50-8888-8dd25736052a"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"253235d8-f14d-46d2-a781-9daa654a6a8d":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"oneOf":[{"type":"string","uniqueKey":"detail.items.[INDEX].loc.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"detail.items.[INDEX].loc.items.[INDEX].oneOf.1","typeLabel":"integer"}],"uniqueKey":"detail.items.[INDEX].loc.items.[INDEX]","typeLabel":"string | integer"},"type":"array","title":"Location","isRequired":true,"uniqueKey":"detail.items.[INDEX].loc","typeLabel":"(string | integer)[]"},"msg":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"detail.items.[INDEX].msg","typeLabel":"string"},"type":{"type":"string","title":"Error Type","isRequired":true,"uniqueKey":"detail.items.[INDEX].type","typeLabel":"string"},"input":{"oneOf":[{"title":"Input"}],"uniqueKey":"detail.items.[INDEX].input","typeLabel":"any"},"ctx":{"type":"object","title":"Context","uniqueKey":"detail.items.[INDEX].ctx","typeLabel":"Context · object"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError","uniqueKey":"detail.items.[INDEX]","typeLabel":"ValidationError · object"},"type":"array","title":"Detail","uniqueKey":"detail","typeLabel":"ValidationError · object[]"}},"type":"object","title":"HTTPValidationError","uniqueKey":"","typeLabel":"HTTPValidationError · object"},"examples":{"Example":{"title":"Example","value":{"detail":[{"loc":["\u003cstring>"],"msg":"\u003cstring>","type":"\u003cstring>","input":"\u003cunknown>","ctx":{}}]}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{},"servers":{"cb8616da-2789-41b0-a1b4-ad02a2608fe3":{"url":"http://localhost:8080"}}},"originalFileLocation":"openapi.json"},"subdomain":"memmachine","siteName":"MemMachine Documentation","title":"Add Memories - MemMachine Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-10T00:37:44.673Z","originalFileLocation":"api-reference/memories/add-memories.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Add memory messages to a project. The types field in the request specifies which memory types to add to: - If types is empty or not provided, memories are added to all types (episodic and semantic) - If types only contains \u0026quot;episodic\u0026quot;, memories are added only to Episodic memory - If types only contains \u0026quot;semantic\u0026quot;, memories are added only to Semantic memory - If types contains both, memories are added to both types Each memory message represents a discrete piece of information to be stored in the project\u0026#x27;s memory system. Messages can include content, metadata, timestamps, and other contextual details. The producer field indicates who created the message, while the produced_for field specifies the intended recipient. These fields help provide context for the memory and if provided should be user-friendly names. The endpoint accepts a batch of messages to be added in a single request.\">\u003cmeta data-mint-head name=\"application-name\" content=\"MemMachine Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/memmachine/HrDv83ZGR-Xf8GLl/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/memmachine/HrDv83ZGR-Xf8GLl/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/memmachine/HrDv83ZGR-Xf8GLl/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/memmachine/HrDv83ZGR-Xf8GLl/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/memmachine/HrDv83ZGR-Xf8GLl/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/memmachine/HrDv83ZGR-Xf8GLl/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/memmachine/HrDv83ZGR-Xf8GLl/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/memmachine/HrDv83ZGR-Xf8GLl/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/memmachine/HrDv83ZGR-Xf8GLl/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Add Memories - MemMachine Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Add memory messages to a project. The types field in the request specifies which memory types to add to: - If types is empty or not provided, memories are added to all types (episodic and semantic) - If types only contains \u0026quot;episodic\u0026quot;, memories are added only to Episodic memory - If types only contains \u0026quot;semantic\u0026quot;, memories are added only to Semantic memory - If types contains both, memories are added to both types Each memory message represents a discrete piece of information to be stored in the project\u0026#x27;s memory system. Messages can include content, metadata, timestamps, and other contextual details. The producer field indicates who created the message, while the produced_for field specifies the intended recipient. These fields help provide context for the memory and if provided should be user-friendly names. The endpoint accepts a batch of messages to be added in a single request.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"MemMachine Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.memmachine.ai/api-reference/memories/add-memories\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://memmachine.mintlify.app/_mintlify/api/og/v2?division=Memories\u0026amp;title=Add+Memories\u0026amp;description=Add+memory+messages+to+a+project.%0A%0A++++The+%60types%60+field+in+the+request+specifies+which+memory+types+to+add+to%3A%0A++++-+If+%60types%60+is+empty+or+not+provided%2C+memor\u0026amp;theme=982642f3373107673f012205\u0026amp;signature=158176f741306628a5807528f687bf98e93b4b7bad470c6275b3dbcd331e380c\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Add Memories - MemMachine Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Add memory messages to a project. The types field in the request specifies which memory types to add to: - If types is empty or not provided, memories are added to all types (episodic and semantic) - If types only contains \u0026quot;episodic\u0026quot;, memories are added only to Episodic memory - If types only contains \u0026quot;semantic\u0026quot;, memories are added only to Semantic memory - If types contains both, memories are added to both types Each memory message represents a discrete piece of information to be stored in the project\u0026#x27;s memory system. Messages can include content, metadata, timestamps, and other contextual details. The producer field indicates who created the message, while the produced_for field specifies the intended recipient. These fields help provide context for the memory and if provided should be user-friendly names. The endpoint accepts a batch of messages to be added in a single request.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://memmachine.mintlify.app/_mintlify/api/og/v2?division=Memories\u0026amp;title=Add+Memories\u0026amp;description=Add+memory+messages+to+a+project.%0A%0A++++The+%60types%60+field+in+the+request+specifies+which+memory+types+to+add+to%3A%0A++++-+If+%60types%60+is+empty+or+not+provided%2C+memor\u0026amp;theme=982642f3373107673f012205\u0026amp;signature=158176f741306628a5807528f687bf98e93b4b7bad470c6275b3dbcd331e380c\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/memmachine/HrDv83ZGR-Xf8GLl/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"MemMachine Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#9B63E6\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.memmachine.ai/api-reference/memories/add-memories\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/memories/add-memories.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.memmachine.ai/#organization\",\"name\":\"MemMachine Documentation\",\"url\":\"https://docs.memmachine.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/memmachine/BpRF5o8wX7ODMyIp/logo/memmachine-blue-logo-banner.png?fit=max\u0026auto=format\u0026n=BpRF5o8wX7ODMyIp\u0026q=85\u0026s=9fa6026f3171ba59566b89687f00b96e\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.memmachine.ai#website\",\"name\":\"MemMachine Documentation\",\"url\":\"https://docs.memmachine.ai\",\"publisher\":{\"@id\":\"https://docs.memmachine.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.memmachine.ai/api-reference/memories/add-memories#webpage\",\"url\":\"https://docs.memmachine.ai/api-reference/memories/add-memories\",\"name\":\"Add Memories\",\"description\":\"Add memory messages to a project. The types field in the request specifies which memory types to add to: - If types is empty or not provided, memories are added to all types (episodic and semantic) - If types only contains \\\"episodic\\\", memories are added only to Episodic memory - If types only contains \\\"semantic\\\", memories are added only to Semantic memory - If types contains both, memories are added to both types Each memory message represents a discrete piece of information to be stored in the project's memory system. Messages can include content, metadata, timestamps, and other contextual details. The producer field indicates who created the message, while the produced_for field specifies the intended recipient. These fields help provide context for the memory and if provided should be user-friendly names. The endpoint accepts a batch of messages to be added in a single request.\",\"dateModified\":\"2026-10-10T00:37:44.673Z\",\"isPartOf\":{\"@id\":\"https://docs.memmachine.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.memmachine.ai/api-reference/memories/add-memories#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.memmachine.ai/api-reference/memories/add-memories#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"REST API\",\"item\":\"https://docs.memmachine.ai/api-reference/configuration/get-config\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Add Memories\",\"item\":\"https://docs.memmachine.ai/api-reference/memories/add-memories\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.memmachine.ai/api-reference/memories/add-memories#apireference\",\"headline\":\"Add Memories\",\"name\":\"Add Memories\",\"description\":\"Add memory messages to a project. The types field in the request specifies which memory types to add to: - If types is empty or not provided, memories are added to all types (episodic and semantic) - If types only contains \\\"episodic\\\", memories are added only to Episodic memory - If types only contains \\\"semantic\\\", memories are added only to Semantic memory - If types contains both, memories are added to both types Each memory message represents a discrete piece of information to be stored in the project's memory system. Messages can include content, metadata, timestamps, and other contextual details. The producer field indicates who created the message, while the produced_for field specifies the intended recipient. These fields help provide context for the memory and if provided should be user-friendly names. The endpoint accepts a batch of messages to be added in a single request.\",\"url\":\"https://docs.memmachine.ai/api-reference/memories/add-memories\",\"mainEntityOfPage\":{\"@id\":\"https://docs.memmachine.ai/api-reference/memories/add-memories#webpage\"},\"dateModified\":\"2026-10-10T00:37:44.673Z\",\"publisher\":{\"@id\":\"https://docs.memmachine.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.memmachine.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"MemMachine Documentation\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"MemMachine Documentation","nav":{"global":{"anchors":[{"anchor":"Documentation","icon":"book-open-cover","href":"https://docs.memmachine.ai/"},{"anchor":"Community","icon":"slack","href":"https://memmachine.ai/community"},{"anchor":"Blog","icon":"newspaper","href":"https://memmachine.ai/blog"},{"anchor":"Platform","icon":"box-open","href":"https://console.memmachine.ai/"}]},"tabs":[{"tab":"Docs","pages":[{"title":"Docs","href":"/getting_started/introduction"}]},{"tab":"OpenSource API","groups":[{"group":"Introduction","pages":[{"title":"Welcome","icon":"face-smile","href":"/api_reference/intro"}]},{"group":"MCP Tools","pages":[{"title":"Tools Reference","icon":"square-binary","href":"/api_reference/mcp"}]},{"group":"REST API","pages":[{"group":"Configuration","pages":[{"title":"Get Config","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v2/config","href":"/api-reference/configuration/get-config"},{"title":"Update Memory Config Endpoint","deprecated":null,"version":null,"openapi":"/openapi.json put /api/v2/config/memory","href":"/api-reference/configuration/update-memory-config-endpoint"},{"title":"Get Episodic Memory Config","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v2/config/memory/episodic","href":"/api-reference/configuration/get-episodic-memory-config"},{"title":"Update Episodic Memory Config","deprecated":null,"version":null,"openapi":"/openapi.json put /api/v2/config/memory/episodic","href":"/api-reference/configuration/update-episodic-memory-config"},{"title":"Get Long Term Memory Config","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v2/config/memory/episodic/long_term","href":"/api-reference/configuration/get-long-term-memory-config"},{"title":"Update Long Term Memory Config","deprecated":null,"version":null,"openapi":"/openapi.json put /api/v2/config/memory/episodic/long_term","href":"/api-reference/configuration/update-long-term-memory-config"},{"title":"Get Short Term Memory Config","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v2/config/memory/episodic/short_term","href":"/api-reference/configuration/get-short-term-memory-config"},{"title":"Update Short Term Memory Config","deprecated":null,"version":null,"openapi":"/openapi.json put /api/v2/config/memory/episodic/short_term","href":"/api-reference/configuration/update-short-term-memory-config"},{"title":"Get Semantic Memory Config","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v2/config/memory/semantic","href":"/api-reference/configuration/get-semantic-memory-config"},{"title":"Update Semantic Memory Config","deprecated":null,"version":null,"openapi":"/openapi.json put /api/v2/config/memory/semantic","href":"/api-reference/configuration/update-semantic-memory-config"},{"title":"Get Resources","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v2/config/resources","href":"/api-reference/configuration/get-resources"}]},{"group":"Episodic Configuration","pages":[{"title":"Configure Episodic Memory","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v2/memory/episodic/config","href":"/api-reference/episodic-configuration/configure-episodic-memory"},{"title":"Get Episodic Memory Config","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v2/memory/episodic/config/get","href":"/api-reference/episodic-configuration/get-episodic-memory-config"},{"title":"Configure Long Term Memory","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v2/memory/episodic/long_term/config","href":"/api-reference/episodic-configuration/configure-long-term-memory"},{"title":"Get Long Term Memory Config","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v2/memory/episodic/long_term/config/get","href":"/api-reference/episodic-configuration/get-long-term-memory-config"},{"title":"Configure Short Term Memory","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v2/memory/episodic/short_term/config","href":"/api-reference/episodic-configuration/configure-short-term-memory"},{"title":"Get Short Term Memory Config","description":"Get short-term memory configuration for a project.\n\n Returns whether short-term episodic memory is enabled for the specified\n project.\n\n Returns 404 if the project does not exist.","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v2/memory/episodic/short_term/config/get","href":"/api-reference/episodic-configuration/get-short-term-memory-config"}]},{"group":"Memories","pages":[{"title":"Add Memories","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v2/memories","href":"/api-reference/memories/add-memories"},{"title":"Delete Episodic Memory","description":"Delete episodic memories from a project.\n\n This operation permanently removes one or more episodic memories from the\n specified project. You may provide either `episodic_id` to delete a single\n memory or `episodic_ids` to delete multiple memories in one request.\n This action cannot be undone.\n\n If any of the specified episodic memories do not exist, a not-found error\n is returned for those entries.","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v2/memories/episodic/delete","href":"/api-reference/memories/delete-episodic-memory"},{"title":"List Memories","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v2/memories/list","href":"/api-reference/memories/list-memories"},{"title":"Search Memories","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v2/memories/search","href":"/api-reference/memories/search-memories"},{"title":"Delete Semantic Memory","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v2/memories/semantic/delete","href":"/api-reference/memories/delete-semantic-memory"}]},{"group":"Projects","pages":[{"title":"Create Project","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v2/projects","href":"/api-reference/projects/create-project"},{"title":"Delete Project","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v2/projects/delete","href":"/api-reference/projects/delete-project"},{"title":"Get Episode Count","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v2/projects/episode_count/get","href":"/api-reference/projects/get-episode-count"},{"title":"Get Project","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v2/projects/get","href":"/api-reference/projects/get-project"},{"title":"List Projects","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v2/projects/list","href":"/api-reference/projects/list-projects"}]},{"group":"Resources","pages":[{"title":"Add Embedder Endpoint","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v2/config/resources/embedders","href":"/api-reference/resources/add-embedder-endpoint"},{"title":"Delete Embedder Endpoint","deprecated":null,"version":null,"openapi":"/openapi.json delete /api/v2/config/resources/embedders/{name}","href":"/api-reference/resources/delete-embedder-endpoint"},{"title":"Retry Embedder Endpoint","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v2/config/resources/embedders/{name}/retry","href":"/api-reference/resources/retry-embedder-endpoint"},{"title":"Add Language Model Endpoint","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v2/config/resources/language_models","href":"/api-reference/resources/add-language-model-endpoint"},{"title":"Delete Language Model Endpoint","deprecated":null,"version":null,"openapi":"/openapi.json delete /api/v2/config/resources/language_models/{name}","href":"/api-reference/resources/delete-language-model-endpoint"},{"title":"Retry Language Model Endpoint","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v2/config/resources/language_models/{name}/retry","href":"/api-reference/resources/retry-language-model-endpoint"},{"title":"Retry Reranker Endpoint","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v2/config/resources/rerankers/{name}/retry","href":"/api-reference/resources/retry-reranker-endpoint"}]},{"group":"Semantic Memory: Categories","pages":[{"title":"Add Semantic Category","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v2/memories/semantic/category","href":"/api-reference/semantic-memory:-categories/add-semantic-category"},{"title":"Delete Semantic Category","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v2/memories/semantic/category/delete","href":"/api-reference/semantic-memory:-categories/delete-semantic-category"},{"title":"Disable Semantic Category","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v2/memories/semantic/category/disable","href":"/api-reference/semantic-memory:-categories/disable-semantic-category"},{"title":"Get Semantic Category","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v2/memories/semantic/category/get","href":"/api-reference/semantic-memory:-categories/get-semantic-category"},{"title":"Get Semantic Category Set Ids","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v2/memories/semantic/category/set_ids/get","href":"/api-reference/semantic-memory:-categories/get-semantic-category-set-ids"},{"title":"Add Semantic Tag","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v2/memories/semantic/category/tag","href":"/api-reference/semantic-memory:-categories/add-semantic-tag"},{"title":"Delete Semantic Tag","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v2/memories/semantic/category/tag/delete","href":"/api-reference/semantic-memory:-categories/delete-semantic-tag"},{"title":"Add Semantic Category Template","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v2/memories/semantic/category/template","href":"/api-reference/semantic-memory:-categories/add-semantic-category-template"},{"title":"List Semantic Category Templates","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v2/memories/semantic/category/template/list","href":"/api-reference/semantic-memory:-categories/list-semantic-category-templates"}]},{"group":"Semantic Memory: Features","pages":[{"title":"Add Feature","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v2/memories/semantic/feature","href":"/api-reference/semantic-memory:-features/add-feature"},{"title":"Get Feature","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v2/memories/semantic/feature/get","href":"/api-reference/semantic-memory:-features/get-feature"},{"title":"Update Feature","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v2/memories/semantic/feature/update","href":"/api-reference/semantic-memory:-features/update-feature"}]},{"group":"Semantic Memory: Sets","pages":[{"title":"Configure Semantic Set","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v2/memories/semantic/set/configure","href":"/api-reference/semantic-memory:-sets/configure-semantic-set"},{"title":"Get Semantic Set Id","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v2/memories/semantic/set_id/get","href":"/api-reference/semantic-memory:-sets/get-semantic-set-id"},{"title":"List Semantic Set Ids","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v2/memories/semantic/set_id/list","href":"/api-reference/semantic-memory:-sets/list-semantic-set-ids"},{"title":"Create Semantic Set Type","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v2/memories/semantic/set_type","href":"/api-reference/semantic-memory:-sets/create-semantic-set-type"},{"title":"Delete Semantic Set Type","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v2/memories/semantic/set_type/delete","href":"/api-reference/semantic-memory:-sets/delete-semantic-set-type"},{"title":"List Semantic Set Types","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v2/memories/semantic/set_type/list","href":"/api-reference/semantic-memory:-sets/list-semantic-set-types"}]},{"group":"System","pages":[{"title":"Health Check","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v2/health","href":"/api-reference/system/health-check"},{"title":"Metrics","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v2/metrics","href":"/api-reference/system/metrics"}]}]},{"group":"Typescript REST SDK","pages":[{"title":"TypeScript SDK","icon":"code","href":"/api_reference/ts-rest/typescript"},{"group":"Classes","pages":[{"title":"MemMachineClient","href":"/api_reference/ts-rest/classes/MemMachineClient"},{"title":"MemMachineAPIError","href":"/api_reference/ts-rest/classes/MemMachineAPIError"},{"title":"MemMachineMemory","href":"/api_reference/ts-rest/classes/MemMachineMemory"},{"title":"MemMachineProject","href":"/api_reference/ts-rest/classes/MemMachineProject"}]},{"group":"Interfaces","pages":[{"title":"ClientOptions","href":"/api_reference/ts-rest/interfaces/ClientOptions"},{"title":"ProjectContext","href":"/api_reference/ts-rest/interfaces/ProjectContext"},{"title":"MemoryContext","href":"/api_reference/ts-rest/interfaces/MemoryContext"},{"title":"CreateProjectOptions","href":"/api_reference/ts-rest/interfaces/CreateProjectOptions"},{"title":"AddMemoryOptions","href":"/api_reference/ts-rest/interfaces/AddMemoryOptions"},{"title":"SearchMemoriesOptions","href":"/api_reference/ts-rest/interfaces/SearchMemoriesOptions"},{"title":"ListMemoriesOptions","href":"/api_reference/ts-rest/interfaces/ListMemoriesOptions"},{"title":"Project","href":"/api_reference/ts-rest/interfaces/Project"},{"title":"AddMemoryResult","href":"/api_reference/ts-rest/interfaces/AddMemoryResult"},{"title":"SearchMemoriesResult","href":"/api_reference/ts-rest/interfaces/SearchMemoriesResult"},{"title":"EpisodicMemory","href":"/api_reference/ts-rest/interfaces/EpisodicMemory"},{"title":"SemanticMemory","href":"/api_reference/ts-rest/interfaces/SemanticMemory"},{"title":"HealthStatus","href":"/api_reference/ts-rest/interfaces/HealthStatus"}]},{"group":"Types","pages":[{"title":"MemoryProducerRole","href":"/api_reference/ts-rest/types/MemoryProducerRole"},{"title":"MemoryType","href":"/api_reference/ts-rest/types/MemoryType"}]}]},{"group":"PythonSDK Client","pages":[{"title":"Client Introduction","icon":"python","href":"/api_reference/python/client"},{"title":"Client API","icon":"code","href":"/api_reference/python/client_api"},{"title":"Project API","icon":"folder","href":"/api_reference/python/project_api"},{"title":"Memories API","icon":"brain","href":"/api_reference/python/memory_api"},{"title":"Semantic API","icon":"diagram-project","href":"/api_reference/python/semantic_api"},{"title":"Configuration API","icon":"gear","href":"/api_reference/python/config_api"},{"title":"System API","icon":"microchip","href":"/api_reference/python/system_api"}]},{"group":"Python SDK Server","pages":[{"title":"Server Implementation","icon":"server","href":"/api_reference/python/server"},{"title":"Memory Types \u0026 Models","icon":"cube","href":"/api_reference/python/memory_types"},{"title":"Episodic Memory","icon":"brain","href":"/api_reference/python/episodic_memory"},{"title":"Semantic Memory","icon":"diagram-project","href":"/api_reference/python/semantic_memory"},{"title":"Episodic Memory Manager","icon":"sitemap","href":"/api_reference/python/episodic_memory_manager"}]}]},{"tab":"Examples","pages":[{"title":"Examples","href":"/examples/introduction"}]},{"tab":"Platform","pages":[{"title":"Platform","href":"/platform/introduction"}]}]},"basePath":"","title":"Add Memories - MemMachine Documentation","buildId":"dpl_G9nrg4qeJSZtah1Ziwbc2n6WkLch","deploymentId":"dpl_G9nrg4qeJSZtah1Ziwbc2n6WkLch","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-B7XKH4J3.js","utils-lOYzL7z-.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DF6jUUIM.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-Dpsj5f7C.js","snippetPresets-CYeiDe8v.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-CUFz1YZ_.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-D8H_iLS4.js","shallow-DdluZBHX.js","getApiPlaygroundDisplay-B9922vev.js","CodeSnippet-CMoRNGYs.js","CodeSnippets-DwyrPHuw.js","Page-DSVu9Ucl.js","getPastedJson-G-zIvlHh.js","icon-B03fnEy0.js","MethodPill-CW7teklc.js","DuplicateIcon-CtO8eekd.js","createIcon-DZTKdM_A.js","DynamicMarkdown-D5M2At0B.js","SectionHeading-C_2NaA2U.js","axios-vUo_bRtp.js","Markdown-D7QRHV3m.js","clsx-D1Z-ELXV.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-lvhuD9Du.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-CKfC4ywL.js"]}