For plugins and hooks. Secrets are removed, then the conversation is split into chunks and
extracted into memories in the background. Resending the same (or a longer) transcript with the
same sessionId skips chunks already queued. Use final: false while the chat is still going.
API key created from the MemContext dashboard. Keys are prefixed with mc_, bound to one workspace, and API-key requests cannot override that workspace.
Body
application/json
sessionId
string
required
Maximum string length: 200
messages
object[]
required
Maximum array length: 1000
Hide child attributes
messages.role
enum<string>
required
Only user and assistant messages are used.
Available options:
user,
assistant,
system,
tool
messages.content
string
required
messages.at
string<date-time>
client
string
project
string
scope
string
date
string
Conversation date, used to resolve relative dates like "next Friday".
Chunks not queued in this request (max 30 per request, or memory limit reached). Resend later; already-queued chunks are skipped.
limitExceeded
boolean
handoff
object
Hide child attributes
handoff.status
enum<string>
required
Available options:
saved,
updated,
closed,
none
handoff.handoff
object | null
required
Hide child attributes
handoff.handoff.id
string<uuid>
required
handoff.handoff.content
string
required
handoff.handoff.createdAt
string<date-time>
required
handoff.handoff.project
string
handoff.handoff.scope
string
handoff.handoff.client
string
handoff.handoff.validUntil
string<date-time>
handoff.redacted
integer
{"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":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6afc31c9837a82b451e6e2b4","clientVersion":"0.0.4270","searchFilterCounts":[{"language":"default","tag":"API Reference","count":46},{"language":"default","tag":"Context Vault","count":22},{"language":"default","tag":"Memories","count":12},{"language":"default","tag":"Workspaces","count":8},{"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":"custom-rbac-roles","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":"rbac-expansion","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":"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":"site-roles","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":"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":"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},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"api-reference/memories/ingest-a-chat-transcript","slug":"/api-reference/memories/ingest-a-chat-transcript","pageMetadata":{"title":"Ingest a chat transcript","description":"For plugins and hooks. Secrets are removed, then the conversation is split into chunks and\nextracted into memories in the background. Resending the same (or a longer) transcript with the\nsame `sessionId` skips chunks already queued. Use `final: false` while the chat is still going.\n","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/memories/ingest","href":"/api-reference/memories/ingest-a-chat-transcript","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: [\"For plugins and hooks. Secrets are removed, then the conversation is split into chunks and\\nextracted into memories in the background. Resending the same (or a longer) transcript with the\\nsame \", _jsx(_components.code, {\n children: \"sessionId\"\n }), \" skips chunks already queued. Use \", _jsx(_components.code, {\n children: \"final: false\"\n }), \" while the chat is still going.\"]\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":"Ingest a chat transcript","description":"For plugins and hooks. Secrets are removed, then the conversation is split into chunks and\nextracted into memories in the background. Resending the same (or a longer) transcript with the\nsame `sessionId` skips chunks already queued. Use `final: false` while the chat is still going.\n","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/memories/ingest","href":"/api-reference/memories/ingest-a-chat-transcript","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Memories"],"summary":"Ingest a chat transcript","operationId":"ingestTranscript","description":"For plugins and hooks. Secrets are removed, then the conversation is split into chunks and\nextracted into memories in the background. Resending the same (or a longer) transcript with the\nsame `sessionId` skips chunks already queued. Use `final: false` while the chat is still going.\n","requestBody":"f5950daa-a562-48f3-bfd3-adb5a96ba7ce","responses":{"202":"5247facc-08b0-4067-a47c-c30068c59420"},"method":"post","type":"path","servers":["49a72c0a-310a-4e18-888b-150d8bb2bf28"],"security":["1da2d5bd-919f-4fed-bc35-b59edc0bf0b6"],"path":"/api/memories/ingest","baseUrlOptions":["https://api.memcontext.in"],"title":"Ingest a chat transcript","codeSamples":[],"requestExampleLanguages":["bash","javascript","python"],"requiredOnlyExamples":true,"requestExampleType":"generated","responseExampleType":"generated","prefillPlaygroundWithExample":true,"prefillPlaygroundExamples":[{"body.sessionId":"\u003cstring>","body.messages.items.0.content":"\u003cstring>","body.messages.items.0.at":"2023-11-07T05:31:56Z","body.client":"\u003cstring>","body.project":"\u003cstring>","body.scope":"\u003cstring>","body.date":"\u003cstring>","body.final":true,"body.handoff.content":"\u003cstring>","body.handoff.done":true}],"urlDisplay":"full"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["sessionId","messages"],"properties":{"sessionId":{"type":"string","maxLength":200,"isRequired":true,"uniqueKey":"sessionId","typeLabel":"string"},"messages":{"type":"array","maxItems":1000,"items":{"type":"object","required":["role","content"],"properties":{"role":{"type":"string","enum":["user","assistant","system","tool"],"description":"Only `user` and `assistant` messages are used.","isRequired":true,"uniqueKey":"messages.items.[INDEX].role","typeLabel":"enum\u003cstring>"},"content":{"type":"string","isRequired":true,"uniqueKey":"messages.items.[INDEX].content","typeLabel":"string"},"at":{"type":"string","format":"date-time","uniqueKey":"messages.items.[INDEX].at","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"messages.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"messages","typeLabel":"object[]"},"client":{"type":"string","uniqueKey":"client","typeLabel":"string"},"project":{"type":"string","uniqueKey":"project","typeLabel":"string"},"scope":{"type":"string","uniqueKey":"scope","typeLabel":"string"},"date":{"type":"string","description":"Conversation date, used to resolve relative dates like \"next Friday\".","uniqueKey":"date","typeLabel":"string"},"final":{"type":"boolean","default":true,"uniqueKey":"final","typeLabel":"boolean"},"handoff":{"type":"object","properties":{"content":{"type":"string","uniqueKey":"handoff.content","typeLabel":"string"},"done":{"type":"boolean","uniqueKey":"handoff.done","typeLabel":"boolean"}},"uniqueKey":"handoff","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"sessionId":"\u003cstring>","messages":[{"content":"\u003cstring>","at":"2023-11-07T05:31:56Z"}],"client":"\u003cstring>","project":"\u003cstring>","scope":"\u003cstring>","date":"\u003cstring>","final":true,"handoff":{"content":"\u003cstring>","done":true}}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"5247facc-08b0-4067-a47c-c30068c59420":{"description":"Accepted for background extraction.","content":{"application/json":{"schema":{"type":"object","required":["accepted","skipped","jobIds","redacted"],"properties":{"accepted":{"type":"integer","description":"Transcript chunks queued for extraction.","isRequired":true,"uniqueKey":"accepted","typeLabel":"integer"},"skipped":{"type":"integer","description":"Chunks already ingested earlier (idempotent resend).","isRequired":true,"uniqueKey":"skipped","typeLabel":"integer"},"jobIds":{"type":"array","items":{"type":"string","format":"uuid","uniqueKey":"jobIds.items.[INDEX]","typeLabel":"string\u003cuuid>"},"isRequired":true,"uniqueKey":"jobIds","typeLabel":"string\u003cuuid>[]"},"redacted":{"type":"integer","description":"Secrets removed before anything was stored.","isRequired":true,"uniqueKey":"redacted","typeLabel":"integer"},"deferred":{"type":"integer","description":"Chunks not queued in this request (max 30 per request, or memory limit reached). Resend later; already-queued chunks are skipped.","uniqueKey":"deferred","typeLabel":"integer"},"limitExceeded":{"type":"boolean","uniqueKey":"limitExceeded","typeLabel":"boolean"},"handoff":{"type":"object","required":["status","handoff"],"properties":{"status":{"type":"string","enum":["saved","updated","closed","none"],"isRequired":true,"uniqueKey":"handoff.status","typeLabel":"enum\u003cstring>"},"handoff":{"oneOf":[{"type":"object","required":["id","content","createdAt"],"properties":{"id":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"handoff.handoff.oneOf.0.id","typeLabel":"string\u003cuuid>"},"content":{"type":"string","isRequired":true,"uniqueKey":"handoff.handoff.oneOf.0.content","typeLabel":"string"},"createdAt":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"handoff.handoff.oneOf.0.createdAt","typeLabel":"string\u003cdate-time>"},"project":{"type":"string","uniqueKey":"handoff.handoff.oneOf.0.project","typeLabel":"string"},"scope":{"type":"string","uniqueKey":"handoff.handoff.oneOf.0.scope","typeLabel":"string"},"client":{"type":"string","uniqueKey":"handoff.handoff.oneOf.0.client","typeLabel":"string"},"validUntil":{"type":"string","format":"date-time","uniqueKey":"handoff.handoff.oneOf.0.validUntil","typeLabel":"string\u003cdate-time>"}},"isRequired":true,"uniqueKey":"handoff.handoff.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"handoff.handoff.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"handoff.handoff","typeLabel":"object | null"},"redacted":{"type":"integer","uniqueKey":"handoff.redacted","typeLabel":"integer"}},"uniqueKey":"handoff","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"accepted":123,"skipped":123,"jobIds":["3c90c3cc-0d44-4b50-8888-8dd25736052a"],"redacted":123,"deferred":123,"limitExceeded":true,"handoff":{"status":"saved","handoff":{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","content":"\u003cstring>","createdAt":"2023-11-07T05:31:56Z","project":"\u003cstring>","scope":"\u003cstring>","client":"\u003cstring>","validUntil":"2023-11-07T05:31:56Z"},"redacted":123}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"1da2d5bd-919f-4fed-bc35-b59edc0bf0b6":{"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":[],"schemeName":"ApiKeyAuth"}}},"servers":{"49a72c0a-310a-4e18-888b-150d8bb2bf28":{"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":[],"schemeName":"ApiKeyAuth"},"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"}]},"originalFileLocation":"openapi.yaml"},"subdomain":"ayush-2ce8fa1e","siteName":"MemContext","title":"Ingest a chat transcript - MemContext","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-17T10:51:58.002Z","originalFileLocation":"api-reference/memories/ingest-a-chat-transcript.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=\"For plugins and hooks. Secrets are removed, then the conversation is split into chunks and extracted into memories in the background. Resending the same (or a longer) transcript with the same sessionId skips chunks already queued. Use final: false while the chat is still going.\">\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=\"Ingest a chat transcript - MemContext\">\u003cmeta data-mint-head property=\"og:description\" content=\"For plugins and hooks. Secrets are removed, then the conversation is split into chunks and extracted into memories in the background. Resending the same (or a longer) transcript with the same sessionId skips chunks already queued. Use final: false while the chat is still going.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"MemContext\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.memcontext.in/api-reference/memories/ingest-a-chat-transcript\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://ayush-2ce8fa1e.mintlify.site/_mintlify/api/og/v2?division=Memories\u0026amp;title=Ingest+a+chat+transcript\u0026amp;description=For+plugins+and+hooks.+Secrets+are+removed%2C+then+the+conversation+is+split+into+chunks+and%0Aextracted+into+memories+in+the+background.+Resending+the+same+%28or+a+l\u0026amp;theme=74667f400b244abe41b93880\u0026amp;signature=7617246079db03fcfa7379fedb87494df913178fd5d45aa703856f8a9b3bcabc\">\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=\"Ingest a chat transcript - MemContext\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"For plugins and hooks. Secrets are removed, then the conversation is split into chunks and extracted into memories in the background. Resending the same (or a longer) transcript with the same sessionId skips chunks already queued. Use final: false while the chat is still going.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://ayush-2ce8fa1e.mintlify.site/_mintlify/api/og/v2?division=Memories\u0026amp;title=Ingest+a+chat+transcript\u0026amp;description=For+plugins+and+hooks.+Secrets+are+removed%2C+then+the+conversation+is+split+into+chunks+and%0Aextracted+into+memories+in+the+background.+Resending+the+same+%28or+a+l\u0026amp;theme=74667f400b244abe41b93880\u0026amp;signature=7617246079db03fcfa7379fedb87494df913178fd5d45aa703856f8a9b3bcabc\">\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/memories/ingest-a-chat-transcript\">\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/ingest-a-chat-transcript.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/memories/ingest-a-chat-transcript#webpage\",\"url\":\"https://docs.memcontext.in/api-reference/memories/ingest-a-chat-transcript\",\"name\":\"Ingest a chat transcript\",\"description\":\"For plugins and hooks. Secrets are removed, then the conversation is split into chunks and extracted into memories in the background. Resending the same (or a longer) transcript with the same sessionId skips chunks already queued. Use final: false while the chat is still going.\",\"dateModified\":\"2026-11-17T10:51:58.002Z\",\"isPartOf\":{\"@id\":\"https://docs.memcontext.in#website\"},\"breadcrumb\":{\"@id\":\"https://docs.memcontext.in/api-reference/memories/ingest-a-chat-transcript#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.memcontext.in/api-reference/memories/ingest-a-chat-transcript#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API Reference\",\"item\":\"https://docs.memcontext.in/api-reference/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Memories\",\"item\":\"https://docs.memcontext.in/api-reference/memories/list-memories\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Ingest a chat transcript\",\"item\":\"https://docs.memcontext.in/api-reference/memories/ingest-a-chat-transcript\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.memcontext.in/api-reference/memories/ingest-a-chat-transcript#apireference\",\"headline\":\"Ingest a chat transcript\",\"name\":\"Ingest a chat transcript\",\"description\":\"For plugins and hooks. Secrets are removed, then the conversation is split into chunks and extracted into memories in the background. Resending the same (or a longer) transcript with the same sessionId skips chunks already queued. Use final: false while the chat is still going.\",\"url\":\"https://docs.memcontext.in/api-reference/memories/ingest-a-chat-transcript\",\"mainEntityOfPage\":{\"@id\":\"https://docs.memcontext.in/api-reference/memories/ingest-a-chat-transcript#webpage\"},\"dateModified\":\"2026-11-17T10:51:58.002Z\",\"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\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"MemContext\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/memories/ingest-a-chat-transcript.md","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","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","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 ready-to-inject context","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/memories/context","href":"/api-reference/memories/get-ready-to-inject-context"},{"title":"Get the open in-progress note","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/memories/handoff","href":"/api-reference/memories/get-the-open-in-progress-note"},{"title":"Set or close the in-progress note","description":"Each project has one open in-progress note. A new note replaces the previous one (history is\nkept and no extra memory slot is used). Send `done: true` to close it. Notes expire after 14 days.\nSaving `In progress: …` through `POST /api/memories` or the `save_memory` MCP tool does the same.\n","deprecated":null,"version":null,"openapi":"/openapi.yaml put /api/memories/handoff","href":"/api-reference/memories/set-or-close-the-in-progress-note"},{"title":"Ingest a chat transcript","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/memories/ingest","href":"/api-reference/memories/ingest-a-chat-transcript"},{"title":"Import a ChatGPT or Claude export","description":"Send the parsed `conversations.json` from a ChatGPT or Claude data export. The newest\nconversations are ingested (default 50, max 200). Re-importing the same export is a no-op.\n","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/memories/import","href":"/api-reference/memories/import-a-chatgpt-or-claude-export"},{"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":"Ingest a chat transcript - MemContext","deploymentId":"dpl_DyXGnKeCjZyA3sUdfMJ7FjkdBefg","buildId":"dpl_DyXGnKeCjZyA3sUdfMJ7FjkdBefg","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CiUHMMOm.js","snippetPresets-BgfXU7Bw.js","utils-DWvOwgy_.js","style-to-object-BY3JEAdk.js","utils-BN7RXSMJ.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-CFw8bq89.js","conditional-requirements-CFM0id0Q.js","cloneDeep-CAwdfOU2.js","_Uint8Array-BJr8e-ZL.js","isObject-FP1Yky1u.js","ApiExamples-XX0UgMZK.js","usePlaygroundInputsStore-DXDFSa1V.js","shallow-CdX5aREi.js","isEqual-CoOaxexF.js","CodeSnippets-Cg2wpzWm.js","CodeSnippet-D_HwgQO_.js","getApiPlaygroundDisplay-CmCoerhe.js","Page-CVJ-f_k1.js","DynamicMarkdown-CQM9Bhbv.js","SectionHeading-DpbrP8nQ.js","icon-BPCgijHy.js","MethodPill-GQ8DuY0c.js","getPastedJson-Cb5mT31m.js","Check2Icon-a7bUI6e8.js","axios-CsQoIw0U.js","Markdown-CX2QY19L.js","AssistantPageLink-CY3bFglh.js","dist-Dl6_zDnT.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}