{
"error": "Invalid request parameters",
"details": "Query must be at least 1 character long"
}
{
"error": "Invalid request parameters",
"details": "Query must be at least 1 character long"
}
{
"error": "Invalid request parameters",
"details": "Query must be at least 1 character long"
}
Authorizations
Authorization
string
header
required
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
connectionId
string
required
Response
Connection details
createdAt
string<datetime>
required
id
string
required
provider
string
required
documentLimit
number
email
string
expiresAt
string<datetime>
metadata
object
Show child attributes
containerTags
string[]
deprecated
lastSyncRun
object
Show child attributes
Was this page helpful?
{"docsConfig":{"theme":"aspen","$schema":"https://mintlify.com/docs.json","name":"supermemory | Memory API for the AI era","description":"Frontier agent memory and context platform","colors":{"primary":"#091120","light":"#F5F5F5","dark":"#091120"},"logo":{"light":"https://mintcdn.com/supermemory/1szAHJ3-ym4bjQ4U/logo/light.svg?fit=max\u0026auto=format\u0026n=1szAHJ3-ym4bjQ4U\u0026q=85\u0026s=e4571d11b31900b962a200bf7206e7d9","dark":"https://mintcdn.com/supermemory/1szAHJ3-ym4bjQ4U/logo/dark.svg?fit=max\u0026auto=format\u0026n=1szAHJ3-ym4bjQ4U\u0026q=85\u0026s=23c339f1eafcd1c5ad241c14d94dad53"},"favicon":{"light":"https://mintcdn.com/supermemory/p0zPjih-OxhkPwgX/favicon-light-mode.png?fit=max\u0026auto=format\u0026n=p0zPjih-OxhkPwgX\u0026q=85\u0026s=2f4fb184e0e1a2b9a5e9fd27d3aca4b7","dark":"https://mintcdn.com/supermemory/p0zPjih-OxhkPwgX/favicon-dark-mode.png?fit=max\u0026auto=format\u0026n=p0zPjih-OxhkPwgX\u0026q=85\u0026s=839400ffc6b2249c0930e3d7376b4459"},"api":{"openapi":"https://api.supermemory.ai/v5/openapi","examples":{"defaults":"required","languages":["typescript","python","bash"],"prefill":true}},"background":{"color":{"light":"#FFFFFF","dark":"#0A0A0A"}},"navbar":{"links":[{"href":"https://supermemory.ai/changelog/","label":"Changelog"},{"href":"mailto:support@supermemory.com","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://console.supermemory.ai"}},"footer":{"socials":{"github":"https://github.com/supermemoryai","linkedin":"https://linkedin.com/company/supermemory","x":"https://x.com/supermemory"}},"fonts":{"heading":{"family":"Geist","weight":500},"body":{"family":"Geist"}},"icons":{"library":"lucide"},"styling":{"eyebrows":"breadcrumbs","codeblocks":{"theme":{"light":"github-light-default","dark":"github-dark-default"}},"latex":false},"banner":{"content":"**v3 and v4 are deprecated and will be shut down on December 31, 2026.** Move to v5 before then. [Read the migration guide](https://supermemory.ai/docs/migration/api-v5).","dismissible":true},"contextual":{"options":["copy","view","assistant","chatgpt","claude","mcp","add-mcp","cursor","vscode","download-spec"],"display":"header"},"thumbnails":{"appearance":"dark","background":"https://mintcdn.com/supermemory/h0P1q8R9RVJPj3Y5/images/og-background.jpg?fit=max\u0026auto=format\u0026n=h0P1q8R9RVJPj3Y5\u0026q=85\u0026s=c415d91bd85a6db507dd36eb330edb9a","fonts":{"family":"Geist"}},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"supermemory","hasAudioNarration":false,"actualSubdomain":"supermemory","customDomains":["supermemory.ai","docs.supermemory.ai"],"gitSource":{"type":"github","owner":"supermemoryai","repo":"supermemory","deployBranch":"main","contentDirectory":"apps/docs","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true,"edits":true,"issues":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b0b74affa888ae55e2c9790","clientVersion":"0.0.4344","searchFilterCounts":[{"language":"default","tag":"Developer platform","count":190},{"language":"default","tag":"API reference","count":92},{"language":"default","tag":"Developer platform (API)","count":75},{"language":"default","tag":"Using supermemory","count":31},{"language":"default","tag":"Plugins and MCP","count":24},{"language":"default","tag":"API integrations","count":23},{"language":"default","tag":"Connectors","count":19},{"language":"default","tag":"Migration guides","count":15},{"language":"default","tag":"Ingest","count":13},{"language":"default","tag":"Connections","count":11}]},"assistantConfig":{"enableAskAiButton":true,"enableStarterQuestions":true,"enableContextualStarterQuestions":true,"enableAskAiSearchBar":true,"deflection":{"enabled":true,"email":"support@supermemory.com","showHelpButton":true}},"basePath":"/docs","hasChatPermissions":true,"hasWebMcpPermissions":true,"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":"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":"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":"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":"turbopuffer-dual-write","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":"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}],"starterQuestions":[{"_id":"6902c52aad086969d32e674e","deploymentId":"679c28b9bb8558c304aa0d79","questionText":"User profiles and tool use together for multimodal use cases","status":"active","generatedBy":"manual","createdAt":"2025-10-30T01:53:46.092Z","updatedAt":"2025-10-30T01:53:46.092Z","__v":0},{"_id":"6902c51ead086969d32e6474","deploymentId":"679c28b9bb8558c304aa0d79","questionText":"I am building XYZ. how do I use user profiles with the python SDK?","status":"active","generatedBy":"manual","createdAt":"2025-10-30T01:53:34.162Z","updatedAt":"2025-10-30T01:53:34.162Z","__v":0}],"googleFontsInlined":true},"customCss":[{"filePath":"style.css","href":"/docs/_mintlify/custom/supermemory/0ad5c1b8d894c2cb/style.css"}]}
{"page":{"pagePath":"api-reference/connections/get-connection-by-id","slug":"/api-reference/connections/get-connection-by-id","pageMetadata":{"title":"Get connection (by id)","description":"Get connection details with id","deprecated":null,"version":null,"openapi":"https://api.supermemory.ai/v4/openapi get /v3/connections/{connectionId}","href":"/api-reference/connections/get-connection-by-id","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Get connection details with id\"\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":{"codeStyling":{"theme":{"light":"github-light-default","dark":"github-dark-default"}},"config":{},"pageMetadata":{"title":"Get connection (by id)","description":"Get connection details with id","deprecated":null,"version":null,"openapi":"https://api.supermemory.ai/v4/openapi get /v3/connections/{connectionId}","href":"/api-reference/connections/get-connection-by-id","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/docs/_mintlify/custom/supermemory/71b914845a04a595/theme-switch.js"],"openApiReferenceData":{"operation":{"operationId":"getV3ConnectionsByConnectionId","parameters":["5369f218-a090-4f35-a4b2-83846aba4827"],"description":"Get connection details with id","responses":{"200":"e5fa644b-ae06-4d35-a8df-71673beada2e","401":"98573490-131f-4467-89eb-4c87d77374de","404":"9f49d930-a71a-4f3d-a46e-cdc20b700792","500":"9b024bb2-6484-4543-bd6f-b0aa02828acb"},"summary":"Get connection (by id)","tags":["Connections"],"x-codeSamples":[{"lang":"typescript","label":"TypeScript SDK","source":"import Supermemory from \"supermemory\";\n\nconst client = new Supermemory({\n apiKey: process.env.SUPERMEMORY_API_KEY,\n});\n\nconst connection = await client.connections.getByID(\"conn_abc123\");\nconsole.log(connection);"},{"lang":"python","label":"Python SDK","source":"from supermemory import Supermemory\n\nclient = Supermemory() # uses SUPERMEMORY_API_KEY\n\nconnection = client.connections.get_by_id(\"conn_abc123\")\nprint(connection)"},{"lang":"bash","label":"cURL","source":"curl \"https://api.supermemory.ai/v3/connections/conn_abc123\" \\\n -H \"Authorization: Bearer $SUPERMEMORY_API_KEY\""}],"method":"get","type":"path","servers":["001dcd81-a783-4cbb-8e87-42d08573ab56"],"security":["86ef9429-c1ae-49e3-a7d5-72abd7c573b1"],"path":"/v3/connections/{connectionId}","baseUrlOptions":["https://api.supermemory.ai"],"title":"Get connection (by id)","codeSamples":[{"label":"TypeScript SDK","lang":"typescript","source":"import Supermemory from \"supermemory\";\n\nconst client = new Supermemory({\n apiKey: process.env.SUPERMEMORY_API_KEY,\n});\n\nconst connection = await client.connections.getByID(\"conn_abc123\");\nconsole.log(connection);"},{"label":"Python SDK","lang":"python","source":"from supermemory import Supermemory\n\nclient = Supermemory() # uses SUPERMEMORY_API_KEY\n\nconnection = client.connections.get_by_id(\"conn_abc123\")\nprint(connection)"},{"label":"cURL","lang":"bash","source":"curl \"https://api.supermemory.ai/v3/connections/conn_abc123\" \\\n -H \"Authorization: Bearer $SUPERMEMORY_API_KEY\""}],"requestExampleLanguages":["typescript","python","bash"],"requiredOnlyExamples":true,"requestExampleType":"codeSamples","responseExampleType":"generated","prefillPlaygroundWithExample":true,"prefillPlaygroundExamples":[]},"dependencies":{"parameters":{"5369f218-a090-4f35-a4b2-83846aba4827":{"in":"path","name":"connectionId","schema":{"type":"string","isRequired":true,"uniqueKey":"","typeLabel":"string"},"required":true}},"responses":{"e5fa644b-ae06-4d35-a8df-71673beada2e":{"content":{"application/json":{"schema":{"type":"object","properties":{"createdAt":{"type":"string","format":"datetime","isRequired":true,"uniqueKey":"createdAt","typeLabel":"string\u003cdatetime>"},"id":{"type":"string","isRequired":true,"uniqueKey":"id","typeLabel":"string"},"provider":{"type":"string","isRequired":true,"uniqueKey":"provider","typeLabel":"string"},"documentLimit":{"type":"number","uniqueKey":"documentLimit","typeLabel":"number"},"email":{"type":"string","uniqueKey":"email","typeLabel":"string"},"expiresAt":{"type":"string","format":"datetime","uniqueKey":"expiresAt","typeLabel":"string\u003cdatetime>"},"metadata":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"oneOf":[{}],"uniqueKey":"metadata.additionalProperties","typeLabel":"any"},"uniqueKey":"metadata","typeLabel":"object"},"containerTags":{"deprecated":true,"x-hidden":true,"type":"array","items":{"type":"string","uniqueKey":"containerTags.items.[INDEX]","typeLabel":"string"},"uniqueKey":"containerTags","typeLabel":"string[]"},"lastSyncRun":{"type":"object","properties":{"status":{"type":"string","isRequired":true,"uniqueKey":"lastSyncRun.status","typeLabel":"string"},"errorCode":{"oneOf":[{"type":"string","enum":["auth_expired","rate_limited","plan_required","provider_unavailable","internal"],"uniqueKey":"lastSyncRun.errorCode.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"lastSyncRun.errorCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"lastSyncRun.errorCode","typeLabel":"enum\u003cstring> | null"},"error":{"oneOf":[{"type":"string","uniqueKey":"lastSyncRun.error.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"lastSyncRun.error.oneOf.1","typeLabel":"null"}],"uniqueKey":"lastSyncRun.error","typeLabel":"string | null"},"startedAt":{"type":"string","format":"datetime","uniqueKey":"lastSyncRun.startedAt","typeLabel":"string\u003cdatetime>"},"completedAt":{"type":"string","format":"datetime","uniqueKey":"lastSyncRun.completedAt","typeLabel":"string\u003cdatetime>"}},"required":["status"],"uniqueKey":"lastSyncRun","typeLabel":"object"}},"required":["createdAt","id","provider"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"createdAt":"\u003cstring>","id":"\u003cstring>","provider":"\u003cstring>","documentLimit":123,"email":"\u003cstring>","expiresAt":"\u003cstring>","metadata":{},"containerTags":["\u003cstring>"],"lastSyncRun":{"status":"\u003cstring>","errorCode":"auth_expired","error":"\u003cstring>","startedAt":"\u003cstring>","completedAt":"\u003cstring>"}}}},"exampleType":"generated"}},"description":"Connection details","exampleType":"generated"},"98573490-131f-4467-89eb-4c87d77374de":{"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"Error message","example":"Invalid request parameters","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"details":{"type":"string","description":"Additional error details","example":"Query must be at least 1 character long","uniqueKey":"details","typeLabel":"string"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"Invalid request parameters","details":"Query must be at least 1 character long"}}},"exampleType":"generated"}},"description":"Unauthorized","exampleType":"generated"},"9f49d930-a71a-4f3d-a46e-cdc20b700792":{"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"Error message","example":"Invalid request parameters","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"details":{"type":"string","description":"Additional error details","example":"Query must be at least 1 character long","uniqueKey":"details","typeLabel":"string"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"Invalid request parameters","details":"Query must be at least 1 character long"}}},"exampleType":"generated"}},"description":"Connection not found","exampleType":"generated"},"9b024bb2-6484-4543-bd6f-b0aa02828acb":{"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"Error message","example":"Invalid request parameters","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"details":{"type":"string","description":"Additional error details","example":"Query must be at least 1 character long","uniqueKey":"details","typeLabel":"string"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"Invalid request parameters","details":"Query must be at least 1 character long"}}},"exampleType":"generated"}},"description":"Internal server error","exampleType":"generated"}},"security":{"86ef9429-c1ae-49e3-a7d5-72abd7c573b1":{"bearerAuth":{"scheme":"bearer","type":"http","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"001dcd81-a783-4cbb-8e87-42d08573ab56":{"description":"Production Server","url":"https://api.supermemory.ai"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"scheme":"bearer","type":"http","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"https://api.supermemory.ai/v4/openapi"},"subdomain":"supermemory","siteName":"supermemory | Memory API for the AI era","title":"Get connection (by id) - supermemory | Memory API for the AI era","contextualStarterQuestions":[{"_id":"69e95e70c82b27b92a35a9ea","deploymentId":"679c28b9bb8558c304aa0d79","questionText":"What details does this endpoint return?","status":"active","generatedBy":"contextual","path":"api-reference/connections/get-connection-by-id","createdAt":"2026-04-22T23:49:04.913Z","updatedAt":"2026-04-22T23:49:04.913Z","__v":0},{"_id":"69e95e70c82b27b92a35a9e9","deploymentId":"679c28b9bb8558c304aa0d79","questionText":"How do I get a connection by ID?","status":"active","generatedBy":"contextual","path":"api-reference/connections/get-connection-by-id","createdAt":"2026-04-22T23:49:04.913Z","updatedAt":"2026-04-22T23:49:04.913Z","__v":0},{"_id":"69e95e70c82b27b92a35a9eb","deploymentId":"679c28b9bb8558c304aa0d79","questionText":"How do I use the connection ID?","status":"active","generatedBy":"contextual","path":"api-reference/connections/get-connection-by-id","createdAt":"2026-04-22T23:49:04.913Z","updatedAt":"2026-04-22T23:49:04.913Z","__v":0}],"navMaps":{"firstHrefInVersion":{"Legacy (v3, v4)":{"href":"/api-reference/connections/get-connection-by-id","matchLevel":0},"Latest (v5)":{"href":"/v5/api-reference/overview","matchLevel":3}},"firstHrefInLanguage":{}},"lastModified":"2026-11-02T18:43:18.446Z","originalFileLocation":"api-reference/connections/get-connection-by-id.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=\"Get connection details with id\">\u003cmeta data-mint-head name=\"application-name\" content=\"supermemory | Memory API for the AI era\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/supermemory/GrDCAjqJehqOwU42/_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=\"/docs/mintlify-assets/_mintlify/favicons/supermemory/GrDCAjqJehqOwU42/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/supermemory/GrDCAjqJehqOwU42/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/supermemory/GrDCAjqJehqOwU42/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/supermemory/GrDCAjqJehqOwU42/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/supermemory/GrDCAjqJehqOwU42/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/supermemory/GrDCAjqJehqOwU42/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/supermemory/GrDCAjqJehqOwU42/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/supermemory/GrDCAjqJehqOwU42/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get connection (by id) - supermemory | Memory API for the AI era\">\u003cmeta data-mint-head property=\"og:description\" content=\"Get connection details with id\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"supermemory | Memory API for the AI era\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://supermemory.ai/docs/api-reference/connections/get-connection-by-id\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://supermemory.mintlify.site/docs/_mintlify/api/og/v2?division=Connections\u0026amp;title=Get+connection+%28by+id%29\u0026amp;description=Get+connection+details+with+id\u0026amp;theme=f0b184f649948bfd607431b4\u0026amp;signature=f481305756320f7b0c397e2da10545840f389190920aded592b9612bee7c9517\">\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=\"Get connection (by id) - supermemory | Memory API for the AI era\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Get connection details with id\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://supermemory.mintlify.site/docs/_mintlify/api/og/v2?division=Connections\u0026amp;title=Get+connection+%28by+id%29\u0026amp;description=Get+connection+details+with+id\u0026amp;theme=f0b184f649948bfd607431b4\u0026amp;signature=f481305756320f7b0c397e2da10545840f389190920aded592b9612bee7c9517\">\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=\"/docs/mintlify-assets/_mintlify/favicons/supermemory/GrDCAjqJehqOwU42/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"supermemory | Memory API for the AI era\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#091120\">\u003clink data-mint-head rel=\"canonical\" href=\"https://supermemory.ai/docs/api-reference/connections/get-connection-by-id\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/api-reference/connections/get-connection-by-id.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://supermemory.ai/#organization\",\"name\":\"supermemory | Memory API for the AI era\",\"url\":\"https://supermemory.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/supermemory/1szAHJ3-ym4bjQ4U/logo/light.svg?fit=max\u0026auto=format\u0026n=1szAHJ3-ym4bjQ4U\u0026q=85\u0026s=e4571d11b31900b962a200bf7206e7d9\"}},{\"@type\":\"WebSite\",\"@id\":\"https://supermemory.ai/docs#website\",\"name\":\"supermemory | Memory API for the AI era\",\"url\":\"https://supermemory.ai/docs\",\"publisher\":{\"@id\":\"https://supermemory.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://supermemory.ai/docs/api-reference/connections/get-connection-by-id#webpage\",\"url\":\"https://supermemory.ai/docs/api-reference/connections/get-connection-by-id\",\"name\":\"Get connection (by id)\",\"description\":\"Get connection details with id\",\"dateModified\":\"2026-11-02T18:43:18.446Z\",\"isPartOf\":{\"@id\":\"https://supermemory.ai/docs#website\"},\"breadcrumb\":{\"@id\":\"https://supermemory.ai/docs/api-reference/connections/get-connection-by-id#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://supermemory.ai/docs/api-reference/connections/get-connection-by-id#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Connections\",\"item\":\"https://supermemory.ai/docs/api-reference/connections\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Get connection (by id)\",\"item\":\"https://supermemory.ai/docs/api-reference/connections/get-connection-by-id\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://supermemory.ai/docs/api-reference/connections/get-connection-by-id#apireference\",\"headline\":\"Get connection (by id)\",\"name\":\"Get connection (by id)\",\"description\":\"Get connection details with id\",\"url\":\"https://supermemory.ai/docs/api-reference/connections/get-connection-by-id\",\"mainEntityOfPage\":{\"@id\":\"https://supermemory.ai/docs/api-reference/connections/get-connection-by-id#webpage\"},\"dateModified\":\"2026-11-02T18:43:18.446Z\",\"publisher\":{\"@id\":\"https://supermemory.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://supermemory.ai/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"supermemory | Memory API for the AI era\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"supermemory | Memory API for the AI era\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/api-reference/connections/get-connection-by-id.md","siteName":"supermemory | Memory API for the AI era","nav":{"global":null,"tabs":[{"tab":"Overview","pages":[{"title":"Overview","href":""}]},{"tab":"Developer platform","icon":"https://mintlify.s3.us-west-1.amazonaws.com/supermemory/icons/hugeicons/source-code.svg","anchors":[{"anchor":"Developer platform (API)","icon":"https://mintlify.s3.us-west-1.amazonaws.com/supermemory/icons/hugeicons/book-open-01.svg","pages":[{"title":"Developer platform (API)","href":"/overview/what-is-supermemory"}]},{"anchor":"API integrations","icon":"https://mintlify.s3.us-west-1.amazonaws.com/supermemory/icons/hugeicons/plug-01.svg","pages":[{"title":"API integrations","href":"/integrations/supermemory-sdk"}]},{"anchor":"API reference","icon":"https://mintlify.s3.us-west-1.amazonaws.com/supermemory/icons/hugeicons/plug-socket.svg","versions":[{"version":"Legacy (v3, v4)","pages":[{"title":"API reference","icon":"https://mintlify.s3.us-west-1.amazonaws.com/supermemory/icons/hugeicons/plug-socket.svg","href":"/api-reference/overview"},{"title":"API keys \u0026 auth","sidebarTitle":"API keys","icon":"https://mintlify.s3.us-west-1.amazonaws.com/supermemory/icons/hugeicons/key-01.svg","href":"/authentication"},{"group":"Ingest","icon":"/icons/hugeicons/download-01.svg","pages":[{"title":"Ingest","sidebarTitle":"Overview","icon":"https://mintlify.s3.us-west-1.amazonaws.com/supermemory/icons/hugeicons/book-open-01.svg","href":"/api-reference/ingest"},{"title":"Add document","deprecated":null,"version":null,"openapi":"https://api.supermemory.ai/v4/openapi post /v3/documents","href":"/api-reference/ingest/add-document"},{"title":"Upload a file","deprecated":null,"version":null,"openapi":"https://api.supermemory.ai/v4/openapi post /v3/documents/file","href":"/api-reference/ingest/upload-a-file"},{"title":"Batch add documents","deprecated":null,"version":null,"openapi":"https://api.supermemory.ai/v4/openapi post /v3/documents/batch","href":"/api-reference/ingest/batch-add-documents"},{"title":"Ingest or update conversation","deprecated":null,"version":null,"openapi":"https://api.supermemory.ai/v4/openapi post /v4/conversations","href":"/api-reference/ingest/ingest-or-update-conversation"},{"title":"Get document","deprecated":null,"version":null,"openapi":"https://api.supermemory.ai/v4/openapi get /v3/documents/{id}","href":"/api-reference/documents/get-document"}]},{"group":"Recall","icon":"/icons/hugeicons/search-01.svg","pages":[{"title":"Recall","sidebarTitle":"Overview","icon":"https://mintlify.s3.us-west-1.amazonaws.com/supermemory/icons/hugeicons/book-open-01.svg","href":"/api-reference/search"},{"title":"Search memory entries","deprecated":null,"version":null,"openapi":"https://api.supermemory.ai/v4/openapi post /v4/search","href":"/api-reference/recall-search/search-memory-entries"},{"title":"Search documents","deprecated":null,"version":null,"openapi":"https://api.supermemory.ai/v4/openapi post /v3/search","href":"/api-reference/documents/search-documents"},{"title":"Profiles","sidebarTitle":"Profiles overview","icon":"https://mintlify.s3.us-west-1.amazonaws.com/supermemory/icons/hugeicons/id.svg","href":"/api-reference/profiles"},{"title":"Get user profile","deprecated":null,"version":null,"openapi":"https://api.supermemory.ai/v4/openapi post /v4/profile","href":"/api-reference/profiles/get-user-profile"},{"title":"Get profile buckets","deprecated":null,"version":null,"openapi":"https://api.supermemory.ai/v4/openapi post /v4/profile/buckets","href":"/api-reference/profiles/get-profile-buckets"}]},{"group":"Documents","icon":"/icons/hugeicons/file-02.svg","pages":[{"title":"Documents","sidebarTitle":"Overview","icon":"https://mintlify.s3.us-west-1.amazonaws.com/supermemory/icons/hugeicons/book-open-01.svg","href":"/api-reference/documents"},{"title":"List documents","deprecated":null,"version":null,"openapi":"https://api.supermemory.ai/v4/openapi post /v3/documents/list","href":"/api-reference/documents/list-documents"},{"title":"Get processing documents","deprecated":null,"version":null,"openapi":"https://api.supermemory.ai/v4/openapi get /v3/documents/processing","href":"/api-reference/documents/get-processing-documents"},{"title":"Update document","deprecated":null,"version":null,"openapi":"https://api.supermemory.ai/v4/openapi patch /v3/documents/{id}","href":"/api-reference/ingest/update-document"},{"title":"Delete document by ID or customId","deprecated":null,"version":null,"openapi":"https://api.supermemory.ai/v4/openapi delete /v3/documents/{id}","href":"/api-reference/ingest/delete-document-by-id-or-customid"},{"title":"Bulk delete documents","deprecated":null,"version":null,"openapi":"https://api.supermemory.ai/v4/openapi delete /v3/documents/bulk","href":"/api-reference/ingest/bulk-delete-documents"},{"title":"Get document chunks","deprecated":null,"version":null,"openapi":"https://api.supermemory.ai/v4/openapi get /v3/documents/{id}/chunks","href":"/api-reference/documents/get-document-chunks"},{"title":"Get presigned file URL","deprecated":null,"version":null,"openapi":"https://api.supermemory.ai/v4/openapi get /v3/documents/{id}/file-url","href":"/api-reference/documents/get-presigned-file-url"}]},{"group":"Memories","icon":"/icons/hugeicons/database-01.svg","pages":[{"title":"Memories","sidebarTitle":"Overview","icon":"https://mintlify.s3.us-west-1.amazonaws.com/supermemory/icons/hugeicons/book-open-01.svg","href":"/api-reference/memories"},{"title":"Create memories directly","deprecated":null,"version":null,"openapi":"https://api.supermemory.ai/v4/openapi post /v4/memories","href":"/api-reference/content-management/create-memories-directly"},{"title":"List memory entries with history","deprecated":null,"version":null,"openapi":"https://api.supermemory.ai/v4/openapi post /v4/memories/list","href":"/api-reference/content-management/list-memory-entries-with-history"},{"title":"Update a memory (creates new version)","deprecated":null,"version":null,"openapi":"https://api.supermemory.ai/v4/openapi patch /v4/memories","href":"/api-reference/content-management/update-a-memory-creates-new-version"},{"title":"Forget a memory","deprecated":null,"version":null,"openapi":"https://api.supermemory.ai/v4/openapi delete /v4/memories","href":"/api-reference/content-management/forget-a-memory"},{"title":"Forget memories matching a prompt/query","deprecated":null,"version":null,"openapi":"https://api.supermemory.ai/v4/openapi post /v4/memories/forget-matching","href":"/api-reference/content-management/forget-memories-matching-a-promptquery"}]},{"group":"Container tags","icon":"/icons/hugeicons/tag-01.svg","pages":[{"title":"Container tags","sidebarTitle":"Overview","icon":"https://mintlify.s3.us-west-1.amazonaws.com/supermemory/icons/hugeicons/book-open-01.svg","href":"/api-reference/container-tags"},{"title":"List all container tags","deprecated":null,"version":null,"openapi":"https://api.supermemory.ai/v4/openapi get /v3/container-tags/list","href":"/api-reference/container-tags/list-all-container-tags"},{"title":"Get container tag settings","deprecated":null,"version":null,"openapi":"https://api.supermemory.ai/v4/openapi get /v3/container-tags/{containerTag}","href":"/api-reference/container-tags/get-container-tag-settings"},{"title":"Update container tag settings","deprecated":null,"version":null,"openapi":"https://api.supermemory.ai/v4/openapi patch /v3/container-tags/{containerTag}","href":"/api-reference/container-tags/update-container-tag-settings"},{"title":"Delete container tag","deprecated":null,"version":null,"openapi":"https://api.supermemory.ai/v4/openapi delete /v3/container-tags/{containerTag}","href":"/api-reference/container-tags/delete-container-tag"},{"title":"Merge container tags","deprecated":null,"version":null,"openapi":"https://api.supermemory.ai/v4/openapi post /v3/container-tags/merge","href":"/api-reference/container-tags/merge-container-tags"},{"title":"Get container tag merge status","deprecated":null,"version":null,"openapi":"https://api.supermemory.ai/v4/openapi get /v3/container-tags/merge/{mergeId}","href":"/api-reference/container-tags/get-container-tag-merge-status"}]},{"group":"Connections","icon":"/icons/hugeicons/plug-01.svg","pages":[{"title":"Connections","sidebarTitle":"Overview","icon":"https://mintlify.s3.us-west-1.amazonaws.com/supermemory/icons/hugeicons/book-open-01.svg","href":"/api-reference/connections"},{"title":"Create connection","deprecated":null,"version":null,"openapi":"https://api.supermemory.ai/v4/openapi post /v3/connections/{provider}","href":"/api-reference/connections/create-connection"},{"title":"List connections","description":"List all connections","deprecated":null,"version":null,"openapi":"https://api.supermemory.ai/v4/openapi post /v3/connections/list","href":"/api-reference/connections/list-connections"},{"title":"Get connection (by id)","deprecated":null,"version":null,"openapi":"https://api.supermemory.ai/v4/openapi get /v3/connections/{connectionId}","href":"/api-reference/connections/get-connection-by-id"},{"title":"Configure connection","description":"Configure resources for a connection (supported providers: GitHub for now)","deprecated":null,"version":null,"openapi":"https://api.supermemory.ai/v4/openapi post /v3/connections/{connectionId}/configure","href":"/api-reference/connections/configure-connection"},{"title":"Fetch resources","deprecated":null,"version":null,"openapi":"https://api.supermemory.ai/v4/openapi get /v3/connections/{connectionId}/resources","href":"/api-reference/connections/fetch-resources"},{"title":"Sync connection","deprecated":null,"version":null,"openapi":"https://api.supermemory.ai/v4/openapi post /v3/connections/{provider}/import","href":"/api-reference/connections/sync-connection"},{"title":"List documents","deprecated":null,"version":null,"openapi":"https://api.supermemory.ai/v4/openapi post /v3/connections/{provider}/documents","href":"/api-reference/connections/list-documents"},{"title":"Get connection (by provider)","deprecated":null,"version":null,"openapi":"https://api.supermemory.ai/v4/openapi post /v3/connections/{provider}/connection","href":"/api-reference/connections/get-connection-by-provider"},{"title":"Delete connection by ID","deprecated":null,"version":null,"openapi":"https://api.supermemory.ai/v4/openapi delete /v3/connections/{connectionId}","href":"/api-reference/connections/delete-connection-by-id"},{"title":"Delete connection","deprecated":null,"version":null,"openapi":"https://api.supermemory.ai/v4/openapi delete /v3/connections/{provider}","href":"/api-reference/connections/delete-connection"}]},{"group":"Settings","icon":"/icons/hugeicons/settings-01.svg","pages":[{"title":"Settings","sidebarTitle":"Overview","icon":"https://mintlify.s3.us-west-1.amazonaws.com/supermemory/icons/hugeicons/book-open-01.svg","href":"/api-reference/settings"},{"title":"Get settings","deprecated":null,"version":null,"openapi":"https://api.supermemory.ai/v4/openapi get /v3/settings","href":"/api-reference/settings/get-settings"},{"title":"Update settings","deprecated":null,"version":null,"openapi":"https://api.supermemory.ai/v4/openapi patch /v3/settings","href":"/api-reference/settings/update-settings"},{"title":"Suggest profile buckets","deprecated":null,"version":null,"openapi":"https://api.supermemory.ai/v4/openapi post /v3/settings/suggest-buckets","href":"/api-reference/settings/suggest-profile-buckets"},{"title":"Reset organization data","deprecated":null,"version":null,"openapi":"https://api.supermemory.ai/v4/openapi post /v3/settings/reset","href":"/api-reference/settings/reset-organization-data"}]},{"group":"Feedback","pages":[{"title":"Send feedback","deprecated":null,"version":null,"openapi":"https://api.supermemory.ai/v4/openapi post /feedback","href":"/api-reference/feedback/send-feedback"}]}]},{"version":"Latest (v5)","default":true,"pages":[{"title":"Latest (v5)","href":"/v5/api-reference/overview"}]}]}]},{"tab":"Plugins and MCP","icon":"https://mintlify.s3.us-west-1.amazonaws.com/supermemory/icons/hugeicons/puzzle.svg","pages":[{"title":"Plugins and MCP","href":"/supermemory-mcp/mcp"}]}]},"basePath":"","title":"Get connection (by id) - supermemory | Memory API for the AI era","deploymentId":"dpl_3L1FNBg9Mynx3haQDgU9Rf9VMnSS","buildId":"dpl_3L1FNBg9Mynx3haQDgU9Rf9VMnSS","dynamics":["10e4515597","c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["BannerMarkdown-nHHXOsGr.js","dist-CZeUJE_W.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js","OpenApiReferenceProvider-xpGnaaul.js","snippetPresets-DFnopzEm.js","utils-DRMdof0K.js","style-to-object-BY3JEAdk.js","utils-LcT9fS-Z.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-CXVfE-bZ.js","conditional-requirements-CFM0id0Q.js","cloneDeep-B2-8Fada.js","_Uint8Array-BtVUbcAp.js","isObject-FP1Yky1u.js","ApiExamples-DISA6aQu.js","usePlaygroundInputsStore-W_CSvcax.js","shallow-MVXkJ5Lc.js","isEqual-CvE11Zg6.js","CodeSnippets-OONN_OC8.js","CodeSnippet-DRJWrppX.js","use-playground-group-access-51n0EtA1.js","Page-DECsw0Dj.js","api-description-markdown-CYGMisve.js","DynamicMarkdown-DfMYIWKY.js","SectionHeading-BahhTpYu.js","MethodPill-CPp8SQYS.js","getPastedJson-C-RUqx8h.js","Check2Icon-q3AGc5VC.js","axios-CsQoIw0U.js","Markdown-D2yqdjs4.js","AssistantPageLink-BuW2MymO.js"]}