Applies a correction to an extracted workspace memory. When
correctedChunkContent is provided, the cited source chunk is updated
too so future document retrieval stays aligned with the corrected
memory.
API key created from the MemContext dashboard. Keys are prefixed with mc_, bound to one workspace, and API-key requests cannot override that workspace.
Number of source chunks updated by the correction.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"MemContext","colors":{"primary":"#e8613c","light":"#f0845f","dark":"#d95530"},"logo":{"light":"https://mintcdn.com/ayush-2ce8fa1e/Qy9kP0H4r2k1gKah/logo.png?fit=max\u0026auto=format\u0026n=Qy9kP0H4r2k1gKah\u0026q=85\u0026s=b04c27197f285bcca98d01efe1fb9003","dark":"https://mintcdn.com/ayush-2ce8fa1e/Qy9kP0H4r2k1gKah/logo.png?fit=max\u0026auto=format\u0026n=Qy9kP0H4r2k1gKah\u0026q=85\u0026s=b04c27197f285bcca98d01efe1fb9003"},"favicon":"https://mintcdn.com/ayush-2ce8fa1e/Qy9kP0H4r2k1gKah/favicon.png?fit=max\u0026auto=format\u0026n=Qy9kP0H4r2k1gKah\u0026q=85\u0026s=d60c4a18ad04d9c353614a827e07e7ab","api":{"openapi":"openapi.yaml","params":{"expanded":"all"},"playground":{"display":"interactive"},"examples":{"defaults":"required","languages":["curl","javascript","python"],"prefill":true,"autogenerate":true},"url":"full","mdx":{"auth":{"method":"key","name":"X-API-Key"},"server":"https://api.memcontext.in"}},"appearance":{"default":"dark"},"background":{"color":{"dark":"#0a0a0a"}},"navbar":{"links":[{"href":"https://app.memcontext.in","label":"Dashboard"}]},"footer":{"socials":{"website":"https://memcontext.in","github":"https://github.com/CyberBoyAyush/memcontext","x":"https://x.com/theayush"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"ayush-2ce8fa1e","hasAudioNarration":false,"actualSubdomain":"ayush-2ce8fa1e","customDomains":["docs.memcontext.in"],"gitSource":{"type":"github","owner":"cyberboyayush","repo":"memcontext","deployBranch":"main","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ad3cf8e6d6be355031fd1cf","collectionId":"184cb23a-ae7e-4322-b985-69f9a258a07d","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ad3cf8e6d6be355031fd1cf"},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6ad3cf8e6d6be355031fd1cf","clientVersion":"0.0.4043","searchFilterCounts":[{"language":"default","tag":"API Reference","count":41},{"language":"default","tag":"Context Vault","count":22},{"language":"default","tag":"Workspaces","count":8},{"language":"default","tag":"Memories","count":7},{"language":"default","tag":"Concepts","count":6},{"language":"default","tag":"MCP Tools","count":6},{"language":"default","tag":"Get Started","count":4},{"language":"default","tag":"Subscription","count":4},{"language":"default","tag":"Guides","count":3},{"language":"default","tag":"API Keys","count":3}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"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/context-vault/correct-a-context-vault-memory","slug":"/api-reference/context-vault/correct-a-context-vault-memory","pageMetadata":{"title":"Correct a context vault memory","description":"Applies a correction to an extracted workspace memory. When\n`correctedChunkContent` is provided, the cited source chunk is updated\ntoo so future document retrieval stays aligned with the corrected\nmemory.\n","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/context-vault/memories/{memoryId}/correction","href":"/api-reference/context-vault/correct-a-context-vault-memory","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Applies a correction to an extracted workspace memory. When\\n\", _jsx(_components.code, {\n children: \"correctedChunkContent\"\n }), \" is provided, the cited source chunk is updated\\ntoo so future document retrieval stays aligned with the corrected\\nmemory.\"]\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":"Correct a context vault memory","description":"Applies a correction to an extracted workspace memory. When\n`correctedChunkContent` is provided, the cited source chunk is updated\ntoo so future document retrieval stays aligned with the corrected\nmemory.\n","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/context-vault/memories/{memoryId}/correction","href":"/api-reference/context-vault/correct-a-context-vault-memory","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Context Vault"],"summary":"Correct a context vault memory","operationId":"correctContextVaultMemory","description":"Applies a correction to an extracted workspace memory. When\n`correctedChunkContent` is provided, the cited source chunk is updated\ntoo so future document retrieval stays aligned with the corrected\nmemory.\n","security":["2ec08ab8-1af6-4e08-b684-81211560aa73","89a30b02-1a68-4cd9-bfc0-b2c03d54397e"],"parameters":["09c1518c-1489-4484-a874-dbc64bcc7886"],"requestBody":"42633d34-633a-4f58-872b-adf3e2177862","responses":{"200":"a7e936e5-a6db-46eb-96c5-7e20cf565ed4"},"method":"post","type":"path","servers":["e8ce4479-a9c7-4d17-88f1-3eb8fa29cf9c"],"path":"/api/context-vault/memories/{memoryId}/correction","baseUrlOptions":["https://api.memcontext.in"],"title":"Correct a context vault memory","codeSamples":[],"requestExampleLanguages":["bash","javascript","python"],"requiredOnlyExamples":true,"requestExampleType":"generated","responseExampleType":"generated","prefillPlaygroundWithExample":true,"prefillPlaygroundExamples":[{"body.workspaceId":"3c90c3cc-0d44-4b50-8888-8dd25736052a","body.correctedContent":"\u003cstring>","body.vaultId":"3c90c3cc-0d44-4b50-8888-8dd25736052a","body.type":"wrong","body.reason":"\u003cstring>","body.correctedChunkContent":"\u003cstring>","body.evidenceChunkId":"3c90c3cc-0d44-4b50-8888-8dd25736052a"}],"urlDisplay":"full"},"dependencies":{"parameters":{"09c1518c-1489-4484-a874-dbc64bcc7886":{"in":"path","name":"memoryId","required":true,"schema":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"","typeLabel":"string\u003cuuid>"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["workspaceId","correctedContent"],"properties":{"workspaceId":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"workspaceId","typeLabel":"string\u003cuuid>"},"correctedContent":{"type":"string","maxLength":10000,"description":"Corrected extracted memory text.","isRequired":true,"uniqueKey":"correctedContent","typeLabel":"string"},"vaultId":{"type":"string","format":"uuid","description":"Optional vault inside the workspace. Defaults to the workspace's default vault.","uniqueKey":"vaultId","typeLabel":"string\u003cuuid>"},"type":{"type":"string","enum":["wrong","outdated","incomplete"],"default":"wrong","uniqueKey":"type","typeLabel":"enum\u003cstring>"},"reason":{"type":"string","maxLength":1000,"description":"Reviewer note explaining why the correction is needed.","uniqueKey":"reason","typeLabel":"string"},"correctedChunkContent":{"type":"string","maxLength":20000,"description":"Optional corrected source chunk text. Send this to keep document-chunk retrieval aligned with the corrected memory.","uniqueKey":"correctedChunkContent","typeLabel":"string"},"evidenceChunkId":{"type":"string","format":"uuid","description":"Optional evidence chunk to update. Omit to update all cited chunks when `correctedChunkContent` is supplied.","uniqueKey":"evidenceChunkId","typeLabel":"string\u003cuuid>"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"workspaceId":"3c90c3cc-0d44-4b50-8888-8dd25736052a","correctedContent":"\u003cstring>","vaultId":"3c90c3cc-0d44-4b50-8888-8dd25736052a","type":"wrong","reason":"\u003cstring>","correctedChunkContent":"\u003cstring>","evidenceChunkId":"3c90c3cc-0d44-4b50-8888-8dd25736052a"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"a7e936e5-a6db-46eb-96c5-7e20cf565ed4":{"description":"Memory corrected.","content":{"application/json":{"schema":{"type":"object","required":["success","memory","updatedChunkCount"],"properties":{"success":{"type":"boolean","isRequired":true,"uniqueKey":"success","typeLabel":"boolean"},"memory":{"type":"object","required":["id","content","memoryType","createdAt"],"properties":{"id":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"memory.id","typeLabel":"string\u003cuuid>"},"content":{"type":"string","isRequired":true,"uniqueKey":"memory.content","typeLabel":"string"},"memoryType":{"type":"string","enum":["document","company"],"description":"`document` memories are extracted from sources; `company` memories are curated workspace facts.","isRequired":true,"uniqueKey":"memory.memoryType","typeLabel":"enum\u003cstring>"},"createdAt":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"memory.createdAt","typeLabel":"string\u003cdate-time>"},"category":{"oneOf":[{"type":"string","uniqueKey":"memory.category.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"memory.category.oneOf.1","typeLabel":"null"}],"uniqueKey":"memory.category","typeLabel":"string | null"},"scope":{"oneOf":[{"type":"string","uniqueKey":"memory.scope.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"memory.scope.oneOf.1","typeLabel":"null"}],"uniqueKey":"memory.scope","typeLabel":"string | null"},"project":{"oneOf":[{"type":"string","uniqueKey":"memory.project.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"memory.project.oneOf.1","typeLabel":"null"}],"uniqueKey":"memory.project","typeLabel":"string | null"},"sourceId":{"oneOf":[{"type":"string","format":"uuid","uniqueKey":"memory.sourceId.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","uniqueKey":"memory.sourceId.oneOf.1","typeLabel":"null"}],"uniqueKey":"memory.sourceId","typeLabel":"string\u003cuuid> | null"},"sourceTitle":{"oneOf":[{"type":"string","uniqueKey":"memory.sourceTitle.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"memory.sourceTitle.oneOf.1","typeLabel":"null"}],"uniqueKey":"memory.sourceTitle","typeLabel":"string | null"},"sourceUrl":{"oneOf":[{"type":"string","uniqueKey":"memory.sourceUrl.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"memory.sourceUrl.oneOf.1","typeLabel":"null"}],"uniqueKey":"memory.sourceUrl","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"memory","typeLabel":"object"},"updatedChunkCount":{"type":"integer","description":"Number of source chunks updated by the correction.","isRequired":true,"uniqueKey":"updatedChunkCount","typeLabel":"integer"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":true,"memory":{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","content":"\u003cstring>","memoryType":"document","createdAt":"2023-11-07T05:31:56Z","category":"\u003cstring>","scope":"\u003cstring>","project":"\u003cstring>","sourceId":"3c90c3cc-0d44-4b50-8888-8dd25736052a","sourceTitle":"\u003cstring>","sourceUrl":"\u003cstring>"},"updatedChunkCount":123}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"2ec08ab8-1af6-4e08-b684-81211560aa73":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-API-Key","description":"API key created from the MemContext dashboard. Keys are prefixed with `mc_`, bound to one workspace, and API-key requests cannot override that workspace.\n","scopes":[]}},"89a30b02-1a68-4cd9-bfc0-b2c03d54397e":{"CookieAuth":{"type":"apiKey","in":"cookie","name":"better-auth.session_token","description":"Dashboard session cookie used for workspace/company endpoints.","scopes":[]}}},"servers":{"e8ce4479-a9c7-4d17-88f1-3eb8fa29cf9c":{"url":"https://api.memcontext.in","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"X-API-Key","description":"API key created from the MemContext dashboard. Keys are prefixed with `mc_`, bound to one workspace, and API-key requests cannot override that workspace.\n","scopes":[]},"schema":{"title":"X-API-Key","type":"string","description":"API key created from the MemContext dashboard. Keys are prefixed with `mc_`, bound to one workspace, and API-key requests cannot override that workspace.\n","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKeyAuth","name":"X-API-Key"}],"title":"ApiKeyAuth"},{"schemes":[{"scheme":{"type":"apiKey","in":"cookie","name":"better-auth.session_token","description":"Dashboard session cookie used for workspace/company endpoints.","scopes":[]},"schema":{"title":"better-auth.session_token","type":"string","description":"Dashboard session cookie used for workspace/company endpoints.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"CookieAuth","name":"better-auth.session_token"}],"title":"CookieAuth"}]},"originalFileLocation":"openapi.yaml"},"subdomain":"ayush-2ce8fa1e","siteName":"MemContext","title":"Correct a context vault memory - MemContext","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-06-30T17:39:26.398Z","originalFileLocation":"api-reference/context-vault/correct-a-context-vault-memory.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=\"dark\"}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=\"Applies a correction to an extracted workspace memory. When correctedChunkContent is provided, the cited source chunk is updated too so future document retrieval stays aligned with the corrected memory.\">\u003cmeta data-mint-head name=\"application-name\" content=\"MemContext\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/ayush-2ce8fa1e/Tm2xC7d7SaV5tL11/_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/ayush-2ce8fa1e/Tm2xC7d7SaV5tL11/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/ayush-2ce8fa1e/Tm2xC7d7SaV5tL11/_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/ayush-2ce8fa1e/Tm2xC7d7SaV5tL11/_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/ayush-2ce8fa1e/Tm2xC7d7SaV5tL11/_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/ayush-2ce8fa1e/Tm2xC7d7SaV5tL11/_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/ayush-2ce8fa1e/Tm2xC7d7SaV5tL11/_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/ayush-2ce8fa1e/Tm2xC7d7SaV5tL11/_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/ayush-2ce8fa1e/Tm2xC7d7SaV5tL11/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Correct a context vault memory - MemContext\">\u003cmeta data-mint-head property=\"og:description\" content=\"Applies a correction to an extracted workspace memory. When correctedChunkContent is provided, the cited source chunk is updated too so future document retrieval stays aligned with the corrected memory.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"MemContext\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.memcontext.in/api-reference/context-vault/correct-a-context-vault-memory\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://ayush-2ce8fa1e.mintlify.app/_mintlify/api/og/v2?division=Context+Vault\u0026amp;title=Correct+a+context+vault+memory\u0026amp;description=Applies+a+correction+to+an+extracted+workspace+memory.+When%0A%60correctedChunkContent%60+is+provided%2C+the+cited+source+chunk+is+updated%0Atoo+so+future+document+retrie\u0026amp;theme=7ca6644054e41833591d0279\u0026amp;signature=ae228a2398d415351ff30e67d17962a33ff529721353f2f3a6f7495789993965\">\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=\"Correct a context vault memory - MemContext\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Applies a correction to an extracted workspace memory. When correctedChunkContent is provided, the cited source chunk is updated too so future document retrieval stays aligned with the corrected memory.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://ayush-2ce8fa1e.mintlify.app/_mintlify/api/og/v2?division=Context+Vault\u0026amp;title=Correct+a+context+vault+memory\u0026amp;description=Applies+a+correction+to+an+extracted+workspace+memory.+When%0A%60correctedChunkContent%60+is+provided%2C+the+cited+source+chunk+is+updated%0Atoo+so+future+document+retrie\u0026amp;theme=7ca6644054e41833591d0279\u0026amp;signature=ae228a2398d415351ff30e67d17962a33ff529721353f2f3a6f7495789993965\">\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/ayush-2ce8fa1e/Tm2xC7d7SaV5tL11/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"MemContext\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#e8613c\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.memcontext.in/api-reference/context-vault/correct-a-context-vault-memory\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/context-vault/correct-a-context-vault-memory.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.memcontext.in/#organization\",\"name\":\"MemContext\",\"url\":\"https://docs.memcontext.in\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/ayush-2ce8fa1e/Qy9kP0H4r2k1gKah/logo.png?fit=max\u0026auto=format\u0026n=Qy9kP0H4r2k1gKah\u0026q=85\u0026s=b04c27197f285bcca98d01efe1fb9003\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.memcontext.in#website\",\"name\":\"MemContext\",\"url\":\"https://docs.memcontext.in\",\"publisher\":{\"@id\":\"https://docs.memcontext.in/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.memcontext.in/api-reference/context-vault/correct-a-context-vault-memory#webpage\",\"url\":\"https://docs.memcontext.in/api-reference/context-vault/correct-a-context-vault-memory\",\"name\":\"Correct a context vault memory\",\"description\":\"Applies a correction to an extracted workspace memory. When correctedChunkContent is provided, the cited source chunk is updated too so future document retrieval stays aligned with the corrected memory.\",\"dateModified\":\"2026-06-30T17:39:26.398Z\",\"isPartOf\":{\"@id\":\"https://docs.memcontext.in#website\"},\"breadcrumb\":{\"@id\":\"https://docs.memcontext.in/api-reference/context-vault/correct-a-context-vault-memory#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.memcontext.in/api-reference/context-vault/correct-a-context-vault-memory#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API Reference\",\"item\":\"https://docs.memcontext.in/api-reference/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Context Vault\",\"item\":\"https://docs.memcontext.in/api-reference/context-vault/list-context-vault-documents\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Correct a context vault memory\",\"item\":\"https://docs.memcontext.in/api-reference/context-vault/correct-a-context-vault-memory\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.memcontext.in/api-reference/context-vault/correct-a-context-vault-memory#apireference\",\"headline\":\"Correct a context vault memory\",\"name\":\"Correct a context vault memory\",\"description\":\"Applies a correction to an extracted workspace memory. When correctedChunkContent is provided, the cited source chunk is updated too so future document retrieval stays aligned with the corrected memory.\",\"url\":\"https://docs.memcontext.in/api-reference/context-vault/correct-a-context-vault-memory\",\"mainEntityOfPage\":{\"@id\":\"https://docs.memcontext.in/api-reference/context-vault/correct-a-context-vault-memory#webpage\"},\"dateModified\":\"2026-06-30T17:39:26.398Z\",\"publisher\":{\"@id\":\"https://docs.memcontext.in/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.memcontext.in#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"MemContext\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"MemContext","nav":{"global":null,"groups":[{"group":"Get Started","pages":[{"title":"Introduction","href":"/index"},{"title":"Quickstart","href":"/quickstart"},{"title":"Authentication","href":"/authentication"},{"title":"Pricing and Limits","href":"/pricing"}]},{"group":"Concepts","pages":[{"title":"How It Works","href":"/concepts/how-it-works"},{"title":"Scopes and Projects","href":"/concepts/scopes-and-projects"},{"title":"Context Vault","href":"/concepts/context-vault"},{"title":"Versioning","href":"/concepts/versioning"},{"title":"Hybrid Search","href":"/concepts/hybrid-search"},{"title":"User Profiles","href":"/concepts/user-profiles"}]},{"group":"Context Vault","pages":[{"title":"Context Vault Overview","href":"/context-vault/overview"},{"title":"Workspace and Vault Model","href":"/context-vault/workspace-model"},{"title":"Document Ingestion","href":"/context-vault/document-ingestion"},{"title":"Context Vault Search","href":"/context-vault/search"},{"title":"Context Vault Feedback","href":"/context-vault/feedback"},{"title":"Evidence and Citations","href":"/context-vault/evidence-citations"},{"title":"Access Control With Workspace, Scope, and Project","href":"/context-vault/access-control"},{"title":"Building a Company Knowledge Base","href":"/context-vault/building-company-knowledge-base"}]},{"group":"Guides","pages":[{"title":"MCP Setup","href":"/guides/mcp-setup"},{"title":"Evolving Memory","href":"/guides/evolving-memory"},{"title":"Building With MemContext","href":"/guides/building-with-memcontext"}]},{"group":"SDK","pages":[{"title":"TypeScript SDK","href":"/sdk/typescript"}]},{"group":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/overview"},{"group":"Workspaces","pages":[{"title":"List workspaces","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/workspaces","href":"/api-reference/workspaces/list-workspaces"},{"title":"Create workspace","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/workspaces","href":"/api-reference/workspaces/create-workspace"},{"title":"Invite workspace member","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/workspaces/{workspaceId}/invitations","href":"/api-reference/workspaces/invite-workspace-member"},{"title":"List workspace team","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/workspaces/{workspaceId}/team","href":"/api-reference/workspaces/list-workspace-team"},{"title":"Remove workspace member","deprecated":null,"version":null,"openapi":"/openapi.yaml delete /api/workspaces/{workspaceId}/members/{memberId}","href":"/api-reference/workspaces/remove-workspace-member"},{"title":"Update workspace member role","deprecated":null,"version":null,"openapi":"/openapi.yaml patch /api/workspaces/{workspaceId}/members/{memberId}","href":"/api-reference/workspaces/update-workspace-member-role"},{"title":"Revoke workspace invitation","deprecated":null,"version":null,"openapi":"/openapi.yaml delete /api/workspaces/{workspaceId}/invitations/{invitationId}","href":"/api-reference/workspaces/revoke-workspace-invitation"},{"title":"Accept workspace invitation","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/workspaces/invitations/accept","href":"/api-reference/workspaces/accept-workspace-invitation"}]},{"group":"Context Vault","pages":[{"title":"List context vault documents","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/context-vault/documents","href":"/api-reference/context-vault/list-context-vault-documents"},{"title":"Ingest context vault document","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/context-vault/documents","href":"/api-reference/context-vault/ingest-context-vault-document"},{"title":"Upload and ingest context vault document","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/context-vault/documents/upload","href":"/api-reference/context-vault/upload-and-ingest-context-vault-document"},{"title":"Cancel context vault document processing","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/context-vault/documents/{documentId}/cancel","href":"/api-reference/context-vault/cancel-context-vault-document-processing"},{"title":"List memories extracted from one context vault document","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/context-vault/documents/{documentId}/memories","href":"/api-reference/context-vault/list-memories-extracted-from-one-context-vault-document"},{"title":"Delete context vault document","deprecated":null,"version":null,"openapi":"/openapi.yaml delete /api/context-vault/documents/{documentId}","href":"/api-reference/context-vault/delete-context-vault-document"},{"title":"Search context vault","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/context-vault/search","href":"/api-reference/context-vault/search-context-vault"},{"title":"Browse context vault memories","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/context-vault/memories","href":"/api-reference/context-vault/browse-context-vault-memories"},{"title":"Add a curated company fact","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/context-vault/memories","href":"/api-reference/context-vault/add-a-curated-company-fact"},{"title":"Submit feedback on a context vault memory","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/context-vault/memories/{memoryId}/feedback","href":"/api-reference/context-vault/submit-feedback-on-a-context-vault-memory"},{"title":"Delete a curated company fact","description":"Soft-deletes a curated company fact. Document-extracted memories are removed through document deletion instead.","deprecated":null,"version":null,"openapi":"/openapi.yaml delete /api/context-vault/memories/{memoryId}","href":"/api-reference/context-vault/delete-a-curated-company-fact"},{"title":"Correct a context vault memory","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/context-vault/memories/{memoryId}/correction","href":"/api-reference/context-vault/correct-a-context-vault-memory"},{"title":"List source evidence for a context vault memory","description":null,"deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/context-vault/memories/{memoryId}/evidence","href":"/api-reference/context-vault/list-source-evidence-for-a-context-vault-memory"},{"title":"Context vault scope/project hierarchy","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/context-vault/hierarchy","href":"/api-reference/context-vault/context-vault-scopeproject-hierarchy"}]},{"group":"Memories","pages":[{"title":"List memories","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/memories","href":"/api-reference/memories/list-memories"},{"title":"Save a memory","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/memories","href":"/api-reference/memories/save-a-memory"},{"title":"Search memories","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/memories/search","href":"/api-reference/memories/search-memories"},{"title":"Get a memory by ID","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/memories/{id}","href":"/api-reference/memories/get-a-memory-by-id"},{"title":"Delete a memory","deprecated":null,"version":null,"openapi":"/openapi.yaml delete /api/memories/{id}","href":"/api-reference/memories/delete-a-memory"},{"title":"Update a memory","deprecated":null,"version":null,"openapi":"/openapi.yaml patch /api/memories/{id}","href":"/api-reference/memories/update-a-memory"},{"title":"Forget a memory","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/memories/{id}/forget","href":"/api-reference/memories/forget-a-memory"}]},{"group":"Profiles","pages":[{"title":"Get user profile context","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/memories/profile","href":"/api-reference/profiles/get-user-profile-context"},{"title":"Get memory graph data","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/memories/graph","href":"/api-reference/profiles/get-memory-graph-data"}]},{"group":"History","pages":[{"title":"Get memory version history","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/memories/{id}/history","href":"/api-reference/history/get-memory-version-history"}]},{"group":"Feedback","pages":[{"title":"Submit feedback for a memory","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/memories/{id}/feedback","href":"/api-reference/feedback/submit-feedback-for-a-memory"}]},{"group":"API Keys","pages":[{"title":"List API keys","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/api-keys","href":"/api-reference/api-keys/list-api-keys"},{"title":"Create API key","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/api-keys","href":"/api-reference/api-keys/create-api-key"},{"title":"Delete API key","deprecated":null,"version":null,"openapi":"/openapi.yaml delete /api/api-keys/{id}","href":"/api-reference/api-keys/delete-api-key"}]},{"group":"Subscription","pages":[{"title":"Get workspace subscription","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/subscription/current","href":"/api-reference/subscription/get-workspace-subscription"},{"title":"Create workspace checkout session","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/subscription/checkout","href":"/api-reference/subscription/create-workspace-checkout-session"},{"title":"Change workspace subscription plan","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/subscription/change-plan","href":"/api-reference/subscription/change-workspace-subscription-plan"},{"title":"Create billing portal session","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/subscription/portal","href":"/api-reference/subscription/create-billing-portal-session"}]}]},{"group":"MCP Tools","pages":[{"title":"MCP Overview","href":"/mcp/overview"},{"title":"save_memory","href":"/mcp/save-memory"},{"title":"search_memory","href":"/mcp/search-memory"},{"title":"memory_feedback","href":"/mcp/memory-feedback"},{"title":"update_memory","href":"/mcp/update-memory"},{"title":"delete_memory","href":"/mcp/delete-memory"}]}]},"basePath":"","title":"Correct a context vault memory - MemContext","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"]}