Changes an integration. Only the fields you send change; null is rejected. Omit credentials to keep them; send only a new secret to rotate it. The bot’s app identifier cannot change (422). New DingTalk, Feishu and Slack credentials are verified before saving, and the status returns to pending until the new connection is up. Changing a project reference needs the same project access as Create IM Integration.
Permission required:workspace:integration_manage on workspace_id
When you set read_write_project_id: project:mem_add on read_write_project_id
When you set read_only_project_ids: project:mem_search on read_only_project_ids
Path Parameters
string
required
Identifier of the integration
Headers
string
Optional. Retrying with the same value replays the first result. Credential values are not compared.
Request Body
string
Switch the answering agent. Ongoing IM conversations start over with the new agent; sending the current agent_id changes nothing.
object
Write-only. Omit to keep the stored credentials. Send only the values that change: a secret can be rotated alone. The app identifier (appKey / appId / botId, or the Slack team and bot user) cannot change — delete and recreate the integration to connect a different bot. DingTalk, Feishu and Slack credentials are verified with the platform before saving.
Show Integration Credentials object
string
Feishu: App ID. Identifies the bot; cannot change after creation.
string
DingTalk: Client ID (AppKey). Identifies the bot; cannot change after creation.
IM platform. One of: dingtalk, wecom, feishu, slack.
integer
Creation time, Unix seconds
boolean
Whether credentials are stored. Credentials themselves are write-only and never returned.
integer
Maximum messages this integration handles per day; 0 = unlimited
array
Open-data datasets the agent may use
boolean
Whether the integration should be connected
string
The bot’s identifier on the IM platform (DingTalk Client ID, Feishu App ID, WeCom Bot ID, Slack team:bot-user). Not a secret.
string
Identifier of the integration
string
Display name
array
Additional projects searched (read only)
string
Project that memories extracted from IM conversations are written to
object
Channel-specific settings
Show Integration Settings object
string
DingTalk only: AI card template id. Set it to stream replies into an interactive card; omit or send "" to reply with plain messages.
string
Connection state. pending right after a create or a credential change until the first connection attempt; poll Get IM Integration to follow it. One of: pending, connected, error, disabled.
integer
Last update time, Unix seconds
string
Workspace the integration belongs to. Fixed at creation.
string
Short normalized reason when status is error, for display (Chinese, the console’s wording; it may change). Never contains the platform’s raw response. Use status_error_code in programs.
string
Stable reason code, present whenever status_error is. credentials_invalid: the platform rejected the credentials (fix them); subscribe_rejected: WeCom refused the subscription — wrong credentials or the platform’s rate limit, retried automatically; preempted: another connection took over the bot, usually the same bot connected from another environment; timeout / disconnected / connection_aborted / connection_failed: connection problems, retried automatically; dependency_unavailable: a service this deployment depends on is down, retried automatically; dependency_misconfigured: this deployment lacks something the channel needs (WeCom needs Redis) — contact the operator; internal_error: a fault on our side; unknown: the reason was recorded before codes existed, and is replaced on the next connection attempt. New codes may be added; treat an unrecognised one like connection_failed.
Errors answer with success: false, a message and an error_code. See Error Codes for every code.
Status
Meaning
400
A parameter or the body is invalid
401
The API key is missing, invalid, disabled or expired
403
The key is not allowed to do this
404
The resource does not exist
409
The request conflicts with the current state, e.g. a duplicate or a limit reached
422
The body or a parameter failed validation
429
Too many requests. Wait for the time in Retry-After
500
Server-side error
503
Temporarily unavailable. Retry later
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"MemoryLake AI","colors":{"primary":"#E75C2A","light":"#F2A361","dark":"#EF8640"},"logo":{"light":"https://mintcdn.com/datacloud-924043c1/W_-TJZhNN0WMmbCI/logo/light.svg?fit=max\u0026auto=format\u0026n=W_-TJZhNN0WMmbCI\u0026q=85\u0026s=9766e4cbaa7d674460d63cee7a88c501","dark":"https://mintcdn.com/datacloud-924043c1/W_-TJZhNN0WMmbCI/logo/dark.svg?fit=max\u0026auto=format\u0026n=W_-TJZhNN0WMmbCI\u0026q=85\u0026s=a41577a71bafe8a081881ff6b98cb305"},"favicon":"https://mintcdn.com/datacloud-924043c1/pEDy58oBG5CxVCQs/favicon.svg?fit=max\u0026auto=format\u0026n=pEDy58oBG5CxVCQs\u0026q=85\u0026s=d47c4a1ae8b1aac3422e43e0d1bc022b","navbar":{"primary":{"type":"button","label":"Console","href":"https://app.memorylake.ai"}},"footer":{"socials":{"x":"https://x.com/mintlify","github":"https://github.com/mintlify","linkedin":"https://linkedin.com/company/mintlify"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"languages":[{"language":"en","default":true,"href":"overview"},{"language":"zh","href":"zh/overview"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"datacloud-924043c1","hasAudioNarration":false,"actualSubdomain":"datacloud-924043c1","customDomains":["docs.memorylake.ai"],"gitSource":{"type":"github","owner":"memorylake-ai","repo":"memorylake-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":"","_id":"6b10c6db9ffae5051c40749b"},"entitlements":{},"buildId":"6b0cea3c688a432224fb186f","clientVersion":"0.0.4453","searchFilterCounts":[{"language":"en","tag":"API reference","count":243},{"language":"zh","tag":"API 参考","count":243},{"language":"en","tag":"MemoryLake API","count":236},{"language":"zh","tag":"MemoryLake API","count":236},{"language":"en","tag":"Guides","count":51},{"language":"zh","tag":"指南","count":51},{"language":"en","tag":"Access Control","count":29},{"language":"en","tag":"Projects","count":29},{"language":"zh","tag":"访问控制","count":29},{"language":"zh","tag":"项目","count":29},{"language":"en","tag":"Agents","count":28},{"language":"zh","tag":"Agent","count":28},{"language":"en","tag":"Actors","count":22},{"language":"zh","tag":"Actor","count":22},{"language":"en","tag":"Deprecated","count":21},{"language":"zh","tag":"已弃用","count":21},{"language":"en","tag":"Billing","count":18},{"language":"en","tag":"Workspaces","count":18},{"language":"zh","tag":"计费","count":18},{"language":"zh","tag":"工作空间","count":18}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":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":"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":"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":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"hidden-docs.css","content":"html:not([data-show-hidden-docs]) [data-group-tag=\"Preview\"]:not([data-active]),html:not([data-show-hidden-docs]) [data-group-tag=\"预览\"]:not([data-active]),html:not([data-show-hidden-docs]) div:has(>.sidebar-group-header [data-nav-tag=\"Preview\"]):not(:has([data-active])),html:not([data-show-hidden-docs]) div:has(>.sidebar-group-header [data-nav-tag=\"预览\"]):not(:has([data-active])){display:none}"}]}
{"page":{"pagePath":"features/memorylake/api-reference/integrations/update-integration","slug":"/features/memorylake/api-reference/integrations/update-integration","pageMetadata":{"title":"Update IM Integration","description":"Changes an integration","href":"/features/memorylake/api-reference/integrations/update-integration"},"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: \"Changes an integration\"\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,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,Note,ParamField,ResponseField,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`PATCH /openapi/memorylake/admin/v1/integrations/{integration_id}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(_components.p,{children:[`Changes an integration. Only the fields you send change; null is rejected. Omit credentials to keep them; send only a new secret to rotate it. The bot’s app identifier cannot change (422). New DingTalk, Feishu and Slack credentials are verified before saving, and the status returns to pending until the new connection is up. Changing a project reference needs the same project access as `,_jsx(_components.a,{href:`/features/memorylake/api-reference/integrations/create-integration`,children:`Create IM Integration`}),`.`]}),`\n`,_jsxs(Note,{children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Permission required:`}),` `,_jsx(_components.code,{children:`workspace:integration_manage`}),` on `,_jsx(_components.code,{children:`workspace_id`})]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`When you set `,_jsx(_components.code,{children:`read_write_project_id`}),`: `,_jsx(_components.code,{children:`project:mem_add`}),` on `,_jsx(_components.code,{children:`read_write_project_id`})]}),`\n`,_jsxs(_components.li,{children:[`When you set `,_jsx(_components.code,{children:`read_only_project_ids`}),`: `,_jsx(_components.code,{children:`project:mem_search`}),` on `,_jsx(_components.code,{children:`read_only_project_ids`})]}),`\n`]})]}),`\n`,_jsx(Heading,{level:`3`,id:`path-parameters`,children:`Path Parameters`}),`\n`,_jsx(ParamField,{path:`integration_id`,type:`string`,required:true,id:`param-integration-id`,children:_jsx(_components.p,{children:`Identifier of the integration`})}),`\n`,_jsx(Heading,{level:`3`,id:`headers`,children:`Headers`}),`\n`,_jsx(ParamField,{header:`Idempotency-Key`,type:`string`,id:`param-idempotency-key`,children:_jsx(_components.p,{children:`Optional. Retrying with the same value replays the first result. Credential values are not compared.`})}),`\n`,_jsx(Heading,{level:`3`,id:`request-body`,children:`Request Body`}),`\n`,_jsx(ParamField,{body:`agent_id`,type:`string`,id:`param-agent-id`,children:_jsx(_components.p,{children:`Switch the answering agent. Ongoing IM conversations start over with the new agent; sending the current agent_id changes nothing.`})}),`\n`,_jsxs(ParamField,{body:`credentials`,type:`object`,id:`param-credentials`,children:[_jsx(_components.p,{children:`Write-only. Omit to keep the stored credentials. Send only the values that change: a secret can be rotated alone. The app identifier (appKey / appId / botId, or the Slack team and bot user) cannot change — delete and recreate the integration to connect a different bot. DingTalk, Feishu and Slack credentials are verified with the platform before saving.`}),_jsxs(Expandable,{title:`Integration Credentials object`,children:[_jsx(ParamField,{body:`credentials.appId`,type:`string`,id:`param-credentials-app-id`,children:`Feishu: App ID. Identifies the bot; cannot change after creation.`}),_jsx(ParamField,{body:`credentials.appKey`,type:`string`,id:`param-credentials-app-key`,children:`DingTalk: Client ID (AppKey). Identifies the bot; cannot change after creation.`}),_jsx(ParamField,{body:`credentials.appSecret`,type:`string`,id:`param-credentials-app-secret`,children:`DingTalk: Client Secret (AppSecret). Feishu: App Secret.`}),_jsx(ParamField,{body:`credentials.appToken`,type:`string`,id:`param-credentials-app-token`,children:`Slack: App-Level Token (xapp-…) with connections:write.`}),_jsx(ParamField,{body:`credentials.botId`,type:`string`,id:`param-credentials-bot-id`,children:`WeCom: Bot ID of the intelligent robot. Identifies the bot; cannot change after creation.`}),_jsx(ParamField,{body:`credentials.botToken`,type:`string`,id:`param-credentials-bot-token`,children:`Slack: Bot User OAuth Token (xoxb-…). Apps with token rotation enabled are not supported.`}),_jsx(ParamField,{body:`credentials.secret`,type:`string`,id:`param-credentials-secret`,children:`WeCom: Secret of the intelligent robot.`})]})]}),`\n`,_jsx(ParamField,{body:`daily_message_limit`,type:`integer`,id:`param-daily-message-limit`,children:_jsx(_components.p,{children:`Maximum messages handled per day; 0 = unlimited`})}),`\n`,_jsx(ParamField,{body:`dataset_ids`,type:`array`,id:`param-dataset-ids`,children:_jsx(_components.p,{children:`Replace the datasets. [] removes them.`})}),`\n`,_jsx(ParamField,{body:`enabled`,type:`boolean`,id:`param-enabled`,children:_jsx(_components.p,{children:`Connect (true) or disconnect (false) the bot`})}),`\n`,_jsx(ParamField,{body:`name`,type:`string`,id:`param-name`,children:_jsx(_components.p,{children:`New display name`})}),`\n`,_jsx(ParamField,{body:`read_only_project_ids`,type:`array`,id:`param-read-only-project-ids`,children:_jsx(_components.p,{children:`Replace the read-only projects. [] removes them.`})}),`\n`,_jsx(ParamField,{body:`read_write_project_id`,type:`string`,id:`param-read-write-project-id`,children:_jsx(_components.p,{children:`New project for extracted memories`})}),`\n`,_jsxs(ParamField,{body:`settings`,type:`object`,id:`param-settings`,children:[_jsx(_components.p,{children:`Replace the channel-specific settings`}),_jsx(Expandable,{title:`Integration Settings object`,children:_jsx(ParamField,{body:`settings.card_template_id`,type:`string`,id:`param-settings-card-template-id`,children:`DingTalk only: AI card template id. Set it to stream replies into an interactive card; omit or send \"\" to reply with plain messages.`})})]}),`\n`,`\n`,_jsx(Heading,{level:`3`,id:`response`,children:`Response`}),`\n`,_jsx(ResponseField,{name:`data`,type:`object`,id:`param-data`,children:_jsxs(Expandable,{title:`Integration object`,children:[_jsx(ResponseField,{name:`agent_id`,type:`string`,id:`param-agent-id-1`,children:`Agent that answers messages sent to the bot`}),_jsxs(ResponseField,{name:`channel`,type:`string`,id:`param-channel`,children:[`IM platform. One of: `,_jsx(_components.code,{children:`dingtalk`}),`, `,_jsx(_components.code,{children:`wecom`}),`, `,_jsx(_components.code,{children:`feishu`}),`, `,_jsx(_components.code,{children:`slack`}),`.`]}),_jsx(ResponseField,{name:`created_at`,type:`integer`,id:`param-created-at`,children:`Creation time, Unix seconds`}),_jsx(ResponseField,{name:`credentials_configured`,type:`boolean`,id:`param-credentials-configured`,children:`Whether credentials are stored. Credentials themselves are write-only and never returned.`}),_jsx(ResponseField,{name:`daily_message_limit`,type:`integer`,id:`param-daily-message-limit-1`,children:`Maximum messages this integration handles per day; 0 = unlimited`}),_jsx(ResponseField,{name:`dataset_ids`,type:`array`,id:`param-dataset-ids-1`,children:`Open-data datasets the agent may use`}),_jsx(ResponseField,{name:`enabled`,type:`boolean`,id:`param-enabled-1`,children:`Whether the integration should be connected`}),_jsx(ResponseField,{name:`external_app_id`,type:`string`,id:`param-external-app-id`,children:`The bot’s identifier on the IM platform (DingTalk Client ID, Feishu App ID, WeCom Bot ID, Slack team:bot-user). Not a secret.`}),_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id`,children:`Identifier of the integration`}),_jsx(ResponseField,{name:`name`,type:`string`,id:`param-name-1`,children:`Display name`}),_jsx(ResponseField,{name:`read_only_project_ids`,type:`array`,id:`param-read-only-project-ids-1`,children:`Additional projects searched (read only)`}),_jsx(ResponseField,{name:`read_write_project_id`,type:`string`,id:`param-read-write-project-id-1`,children:`Project that memories extracted from IM conversations are written to`}),_jsxs(ResponseField,{name:`settings`,type:`object`,id:`param-settings-1`,children:[_jsx(_components.p,{children:`Channel-specific settings`}),_jsx(Expandable,{title:`Integration Settings object`,children:_jsx(ResponseField,{name:`card_template_id`,type:`string`,id:`param-card-template-id`,children:`DingTalk only: AI card template id. Set it to stream replies into an interactive card; omit or send \"\" to reply with plain messages.`})})]}),_jsxs(ResponseField,{name:`status`,type:`string`,id:`param-status`,children:[`Connection state. pending right after a create or a credential change until the first connection attempt; poll `,_jsx(_components.a,{href:`/features/memorylake/api-reference/integrations/get-integration`,children:`Get IM Integration`}),` to follow it. One of: `,_jsx(_components.code,{children:`pending`}),`, `,_jsx(_components.code,{children:`connected`}),`, `,_jsx(_components.code,{children:`error`}),`, `,_jsx(_components.code,{children:`disabled`}),`.`]}),_jsx(ResponseField,{name:`updated_at`,type:`integer`,id:`param-updated-at`,children:`Last update time, Unix seconds`}),_jsx(ResponseField,{name:`workspace_id`,type:`string`,id:`param-workspace-id`,children:`Workspace the integration belongs to. Fixed at creation.`}),_jsx(ResponseField,{name:`status_error`,type:`string`,id:`param-status-error`,children:`Short normalized reason when status is error, for display (Chinese, the console’s wording; it may change). Never contains the platform’s raw response. Use status_error_code in programs.`}),_jsx(ResponseField,{name:`status_error_code`,type:`string`,id:`param-status-error-code`,children:`Stable reason code, present whenever status_error is. credentials_invalid: the platform rejected the credentials (fix them); subscribe_rejected: WeCom refused the subscription — wrong credentials or the platform’s rate limit, retried automatically; preempted: another connection took over the bot, usually the same bot connected from another environment; timeout / disconnected / connection_aborted / connection_failed: connection problems, retried automatically; dependency_unavailable: a service this deployment depends on is down, retried automatically; dependency_misconfigured: this deployment lacks something the channel needs (WeCom needs Redis) — contact the operator; internal_error: a fault on our side; unknown: the reason was recorded before codes existed, and is replaced on the next connection attempt. New codes may be added; treat an unrecognised one like connection_failed.`})]})}),`\n`,`\n`,_jsx(Heading,{level:`3`,id:`errors`,children:`Errors`}),`\n`,_jsxs(_components.p,{children:[`Errors answer with `,_jsx(_components.code,{children:`success: false`}),`, a `,_jsx(_components.code,{children:`message`}),` and an `,_jsx(_components.code,{children:`error_code`}),`. See `,_jsx(_components.a,{href:`/features/memorylake/api-reference/errors`,children:`Error Codes`}),` for every code.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`Meaning`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:`A parameter or the body is invalid`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`401`})}),_jsx(_components.td,{children:`The API key is missing, invalid, disabled or expired`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`403`})}),_jsx(_components.td,{children:`The key is not allowed to do this`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`404`})}),_jsx(_components.td,{children:`The resource does not exist`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`409`})}),_jsx(_components.td,{children:`The request conflicts with the current state, e.g. a duplicate or a limit reached`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:`The body or a parameter failed validation`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`429`})}),_jsxs(_components.td,{children:[`Too many requests. Wait for the time in `,_jsx(_components.code,{children:`Retry-After`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`500`})}),_jsx(_components.td,{children:`Server-side error`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`503`})}),_jsx(_components.td,{children:`Temporarily unavailable. Retry later`})]})]})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Update IM Integration","description":"Changes an integration","href":"/features/memorylake/api-reference/integrations/update-integration"}}},"mdxSourceWithNoJs":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,Note,ParamField,RequestExample,ResponseExample,ResponseField,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`PATCH /openapi/memorylake/admin/v1/integrations/{integration_id}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(_components.p,{children:[`Changes an integration. Only the fields you send change; null is rejected. Omit credentials to keep them; send only a new secret to rotate it. The bot’s app identifier cannot change (422). New DingTalk, Feishu and Slack credentials are verified before saving, and the status returns to pending until the new connection is up. Changing a project reference needs the same project access as `,_jsx(_components.a,{href:`/features/memorylake/api-reference/integrations/create-integration`,children:`Create IM Integration`}),`.`]}),`\n`,_jsxs(Note,{children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Permission required:`}),` `,_jsx(_components.code,{children:`workspace:integration_manage`}),` on `,_jsx(_components.code,{children:`workspace_id`})]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`When you set `,_jsx(_components.code,{children:`read_write_project_id`}),`: `,_jsx(_components.code,{children:`project:mem_add`}),` on `,_jsx(_components.code,{children:`read_write_project_id`})]}),`\n`,_jsxs(_components.li,{children:[`When you set `,_jsx(_components.code,{children:`read_only_project_ids`}),`: `,_jsx(_components.code,{children:`project:mem_search`}),` on `,_jsx(_components.code,{children:`read_only_project_ids`})]}),`\n`]})]}),`\n`,_jsx(Heading,{level:`3`,id:`path-parameters`,children:`Path Parameters`}),`\n`,_jsx(ParamField,{path:`integration_id`,type:`string`,required:true,id:`param-integration-id`,children:_jsx(_components.p,{children:`Identifier of the integration`})}),`\n`,_jsx(Heading,{level:`3`,id:`headers`,children:`Headers`}),`\n`,_jsx(ParamField,{header:`Idempotency-Key`,type:`string`,id:`param-idempotency-key`,children:_jsx(_components.p,{children:`Optional. Retrying with the same value replays the first result. Credential values are not compared.`})}),`\n`,_jsx(Heading,{level:`3`,id:`request-body`,children:`Request Body`}),`\n`,_jsx(ParamField,{body:`agent_id`,type:`string`,id:`param-agent-id`,children:_jsx(_components.p,{children:`Switch the answering agent. Ongoing IM conversations start over with the new agent; sending the current agent_id changes nothing.`})}),`\n`,_jsxs(ParamField,{body:`credentials`,type:`object`,id:`param-credentials`,children:[_jsx(_components.p,{children:`Write-only. Omit to keep the stored credentials. Send only the values that change: a secret can be rotated alone. The app identifier (appKey / appId / botId, or the Slack team and bot user) cannot change — delete and recreate the integration to connect a different bot. DingTalk, Feishu and Slack credentials are verified with the platform before saving.`}),_jsxs(Expandable,{title:`Integration Credentials object`,children:[_jsx(ParamField,{body:`credentials.appId`,type:`string`,id:`param-credentials-app-id`,children:`Feishu: App ID. Identifies the bot; cannot change after creation.`}),_jsx(ParamField,{body:`credentials.appKey`,type:`string`,id:`param-credentials-app-key`,children:`DingTalk: Client ID (AppKey). Identifies the bot; cannot change after creation.`}),_jsx(ParamField,{body:`credentials.appSecret`,type:`string`,id:`param-credentials-app-secret`,children:`DingTalk: Client Secret (AppSecret). Feishu: App Secret.`}),_jsx(ParamField,{body:`credentials.appToken`,type:`string`,id:`param-credentials-app-token`,children:`Slack: App-Level Token (xapp-…) with connections:write.`}),_jsx(ParamField,{body:`credentials.botId`,type:`string`,id:`param-credentials-bot-id`,children:`WeCom: Bot ID of the intelligent robot. Identifies the bot; cannot change after creation.`}),_jsx(ParamField,{body:`credentials.botToken`,type:`string`,id:`param-credentials-bot-token`,children:`Slack: Bot User OAuth Token (xoxb-…). Apps with token rotation enabled are not supported.`}),_jsx(ParamField,{body:`credentials.secret`,type:`string`,id:`param-credentials-secret`,children:`WeCom: Secret of the intelligent robot.`})]})]}),`\n`,_jsx(ParamField,{body:`daily_message_limit`,type:`integer`,id:`param-daily-message-limit`,children:_jsx(_components.p,{children:`Maximum messages handled per day; 0 = unlimited`})}),`\n`,_jsx(ParamField,{body:`dataset_ids`,type:`array`,id:`param-dataset-ids`,children:_jsx(_components.p,{children:`Replace the datasets. [] removes them.`})}),`\n`,_jsx(ParamField,{body:`enabled`,type:`boolean`,id:`param-enabled`,children:_jsx(_components.p,{children:`Connect (true) or disconnect (false) the bot`})}),`\n`,_jsx(ParamField,{body:`name`,type:`string`,id:`param-name`,children:_jsx(_components.p,{children:`New display name`})}),`\n`,_jsx(ParamField,{body:`read_only_project_ids`,type:`array`,id:`param-read-only-project-ids`,children:_jsx(_components.p,{children:`Replace the read-only projects. [] removes them.`})}),`\n`,_jsx(ParamField,{body:`read_write_project_id`,type:`string`,id:`param-read-write-project-id`,children:_jsx(_components.p,{children:`New project for extracted memories`})}),`\n`,_jsxs(ParamField,{body:`settings`,type:`object`,id:`param-settings`,children:[_jsx(_components.p,{children:`Replace the channel-specific settings`}),_jsx(Expandable,{title:`Integration Settings object`,children:_jsx(ParamField,{body:`settings.card_template_id`,type:`string`,id:`param-settings-card-template-id`,children:`DingTalk only: AI card template id. Set it to stream replies into an interactive card; omit or send \"\" to reply with plain messages.`})})]}),`\n`,_jsx(RequestExample,{children:_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`29`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`29`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` PATCH`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://app.memorylake.ai/openapi/memorylake/admin/v1/integrations/8e6332af9d801f19496ca0f9fded5333'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Authorization: Bearer sk_xxxxxx'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Idempotency-Key: 7c1d2e3f-0a9b-4c8d-b7e6-f5a4d3c2b1a0'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Content-Type: application/json'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"agent_id\": \"bacb5a9d15867eca98ad566c546b2503\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"credentials\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"appId\": \"example\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"appKey\": \"example\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"appSecret\": \"example\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"appToken\": \"example\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"botId\": \"example\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"botToken\": \"example\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"secret\": \"example\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"daily_message_limit\": 1,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"dataset_ids\": [`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"3748f84ef0d2e877c0097b8f32d45cf0\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"enabled\": true,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"name\": \"Example name\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"read_only_project_ids\": [`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"5af1515af082229ccfd68f981a6cf886\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"read_write_project_id\": \"47e198610eb6f56441396b62501d1ccf\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"settings\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"card_template_id\": \"870213bad9d43369a8af134b1b482d6e\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})})}),`\n`,_jsx(Heading,{level:`3`,id:`response`,children:`Response`}),`\n`,_jsx(ResponseField,{name:`data`,type:`object`,id:`param-data`,children:_jsxs(Expandable,{title:`Integration object`,children:[_jsx(ResponseField,{name:`agent_id`,type:`string`,id:`param-agent-id-1`,children:`Agent that answers messages sent to the bot`}),_jsxs(ResponseField,{name:`channel`,type:`string`,id:`param-channel`,children:[`IM platform. One of: `,_jsx(_components.code,{children:`dingtalk`}),`, `,_jsx(_components.code,{children:`wecom`}),`, `,_jsx(_components.code,{children:`feishu`}),`, `,_jsx(_components.code,{children:`slack`}),`.`]}),_jsx(ResponseField,{name:`created_at`,type:`integer`,id:`param-created-at`,children:`Creation time, Unix seconds`}),_jsx(ResponseField,{name:`credentials_configured`,type:`boolean`,id:`param-credentials-configured`,children:`Whether credentials are stored. Credentials themselves are write-only and never returned.`}),_jsx(ResponseField,{name:`daily_message_limit`,type:`integer`,id:`param-daily-message-limit-1`,children:`Maximum messages this integration handles per day; 0 = unlimited`}),_jsx(ResponseField,{name:`dataset_ids`,type:`array`,id:`param-dataset-ids-1`,children:`Open-data datasets the agent may use`}),_jsx(ResponseField,{name:`enabled`,type:`boolean`,id:`param-enabled-1`,children:`Whether the integration should be connected`}),_jsx(ResponseField,{name:`external_app_id`,type:`string`,id:`param-external-app-id`,children:`The bot’s identifier on the IM platform (DingTalk Client ID, Feishu App ID, WeCom Bot ID, Slack team:bot-user). Not a secret.`}),_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id`,children:`Identifier of the integration`}),_jsx(ResponseField,{name:`name`,type:`string`,id:`param-name-1`,children:`Display name`}),_jsx(ResponseField,{name:`read_only_project_ids`,type:`array`,id:`param-read-only-project-ids-1`,children:`Additional projects searched (read only)`}),_jsx(ResponseField,{name:`read_write_project_id`,type:`string`,id:`param-read-write-project-id-1`,children:`Project that memories extracted from IM conversations are written to`}),_jsxs(ResponseField,{name:`settings`,type:`object`,id:`param-settings-1`,children:[_jsx(_components.p,{children:`Channel-specific settings`}),_jsx(Expandable,{title:`Integration Settings object`,children:_jsx(ResponseField,{name:`card_template_id`,type:`string`,id:`param-card-template-id`,children:`DingTalk only: AI card template id. Set it to stream replies into an interactive card; omit or send \"\" to reply with plain messages.`})})]}),_jsxs(ResponseField,{name:`status`,type:`string`,id:`param-status`,children:[`Connection state. pending right after a create or a credential change until the first connection attempt; poll `,_jsx(_components.a,{href:`/features/memorylake/api-reference/integrations/get-integration`,children:`Get IM Integration`}),` to follow it. One of: `,_jsx(_components.code,{children:`pending`}),`, `,_jsx(_components.code,{children:`connected`}),`, `,_jsx(_components.code,{children:`error`}),`, `,_jsx(_components.code,{children:`disabled`}),`.`]}),_jsx(ResponseField,{name:`updated_at`,type:`integer`,id:`param-updated-at`,children:`Last update time, Unix seconds`}),_jsx(ResponseField,{name:`workspace_id`,type:`string`,id:`param-workspace-id`,children:`Workspace the integration belongs to. Fixed at creation.`}),_jsx(ResponseField,{name:`status_error`,type:`string`,id:`param-status-error`,children:`Short normalized reason when status is error, for display (Chinese, the console’s wording; it may change). Never contains the platform’s raw response. Use status_error_code in programs.`}),_jsx(ResponseField,{name:`status_error_code`,type:`string`,id:`param-status-error-code`,children:`Stable reason code, present whenever status_error is. credentials_invalid: the platform rejected the credentials (fix them); subscribe_rejected: WeCom refused the subscription — wrong credentials or the platform’s rate limit, retried automatically; preempted: another connection took over the bot, usually the same bot connected from another environment; timeout / disconnected / connection_aborted / connection_failed: connection problems, retried automatically; dependency_unavailable: a service this deployment depends on is down, retried automatically; dependency_misconfigured: this deployment lacks something the channel needs (WeCom needs Redis) — contact the operator; internal_error: a fault on our side; unknown: the reason was recorded before codes existed, and is replaced on the next connection attempt. New codes may be added; treat an unrecognised one like connection_failed.`})]})}),`\n`,_jsx(ResponseExample,{children:_jsx(CodeBlock,{filename:`Success (200)`,numberOfLines:`30`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`30`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Operation completed successfully\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"agent_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"9926a90400d85f0a54e9e195e915db44\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"channel\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"dingtalk\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"created_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1760000000`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"credentials_configured\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"daily_message_limit\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"dataset_ids\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"3748f84ef0d2e877c0097b8f32d45cf0\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"enabled\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"external_app_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"524832f3cb1ba8ef33208d0692b8d565\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"f58008acc066bab6dfb73de8efde8905\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Example name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"read_only_project_ids\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"5af1515af082229ccfd68f981a6cf886\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"read_write_project_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"aed31b20113b86ecc2587aa0cbc0eb2f\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"settings\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"card_template_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"870213bad9d43369a8af134b1b482d6e\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"pending\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"updated_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1760000000`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"workspace_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ce55865bcc4c12c26161d24b238a888e\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status_error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"example\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status_error_code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"credentials_invalid\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})}),`\n`,_jsx(Heading,{level:`3`,id:`errors`,children:`Errors`}),`\n`,_jsxs(_components.p,{children:[`Errors answer with `,_jsx(_components.code,{children:`success: false`}),`, a `,_jsx(_components.code,{children:`message`}),` and an `,_jsx(_components.code,{children:`error_code`}),`. See `,_jsx(_components.a,{href:`/features/memorylake/api-reference/errors`,children:`Error Codes`}),` for every code.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`Meaning`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:`A parameter or the body is invalid`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`401`})}),_jsx(_components.td,{children:`The API key is missing, invalid, disabled or expired`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`403`})}),_jsx(_components.td,{children:`The key is not allowed to do this`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`404`})}),_jsx(_components.td,{children:`The resource does not exist`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`409`})}),_jsx(_components.td,{children:`The request conflicts with the current state, e.g. a duplicate or a limit reached`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:`The body or a parameter failed validation`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`429`})}),_jsxs(_components.td,{children:[`Too many requests. Wait for the time in `,_jsx(_components.code,{children:`Retry-After`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`500`})}),_jsx(_components.td,{children:`Server-side error`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`503`})}),_jsx(_components.td,{children:`Temporarily unavailable. Retry later`})]})]})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Update IM Integration","description":"Changes an integration","href":"/features/memorylake/api-reference/integrations/update-integration"}}}},"mdxExtracts":{"tableOfContents":[{"title":"Path Parameters","slug":"path-parameters","depth":3,"children":[]},{"title":"Headers","slug":"headers","depth":3,"children":[]},{"title":"Request Body","slug":"request-body","depth":3,"children":[]},{"title":"Response","slug":"response","depth":3,"children":[]},{"title":"Errors","slug":"errors","depth":3,"children":[]}],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"cURL","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"29\">\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -X\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> PATCH\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'https://app.memorylake.ai/openapi/memorylake/admin/v1/integrations/8e6332af9d801f19496ca0f9fded5333'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'Authorization: Bearer sk_xxxxxx'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'Idempotency-Key: 7c1d2e3f-0a9b-4c8d-b7e6-f5a4d3c2b1a0'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'Content-Type: application/json'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -d\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> '{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"agent_id\": \"bacb5a9d15867eca98ad566c546b2503\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"credentials\": {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"appId\": \"example\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"appKey\": \"example\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"appSecret\": \"example\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"appToken\": \"example\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"botId\": \"example\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"botToken\": \"example\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"secret\": \"example\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"daily_message_limit\": 1,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"dataset_ids\": [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"3748f84ef0d2e877c0097b8f32d45cf0\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> ],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"enabled\": true,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"name\": \"Example name\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"read_only_project_ids\": [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"5af1515af082229ccfd68f981a6cf886\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> ],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"read_write_project_id\": \"47e198610eb6f56441396b62501d1ccf\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"settings\": {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"card_template_id\": \"870213bad9d43369a8af134b1b482d6e\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> }'\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]},"response":{"type":"ResponseExample","children":[{"filename":"Success (200)","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"30\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"success\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">true\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"message\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Operation completed successfully\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"data\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"agent_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"9926a90400d85f0a54e9e195e915db44\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"channel\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"dingtalk\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"created_at\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">1760000000\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"credentials_configured\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">false\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"daily_message_limit\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">1\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"dataset_ids\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"3748f84ef0d2e877c0097b8f32d45cf0\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"enabled\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">true\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"external_app_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"524832f3cb1ba8ef33208d0692b8d565\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"f58008acc066bab6dfb73de8efde8905\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Example name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"read_only_project_ids\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"5af1515af082229ccfd68f981a6cf886\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"read_write_project_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"aed31b20113b86ecc2587aa0cbc0eb2f\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"settings\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"card_template_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"870213bad9d43369a8af134b1b482d6e\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"pending\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"updated_at\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">1760000000\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"workspace_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"ce55865bcc4c12c26161d24b238a888e\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"status_error\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"example\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"status_error_code\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"credentials_invalid\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}}},"jsLinks":["/_mintlify/custom/datacloud-924043c1/1c558f432fed73aa/hidden-docs.js"],"subdomain":"datacloud-924043c1","siteName":"MemoryLake AI","title":"Update IM Integration - MemoryLake AI","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/features/memorylake/api-reference/integrations/update-integration","matchLevel":0},"zh":{"href":"/zh/features/memorylake/api-reference/integrations/update-integration","matchLevel":1}}},"lastModified":"2026-10-16T08:17:36.874Z","originalFileLocation":"features/memorylake/api-reference/integrations/update-integration.mdx","locale":"en"},"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=\"Changes an integration\">\u003cmeta data-mint-head name=\"application-name\" content=\"MemoryLake AI\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/datacloud-924043c1/krsYsTllXK6ojRYh/_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/datacloud-924043c1/krsYsTllXK6ojRYh/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/datacloud-924043c1/krsYsTllXK6ojRYh/_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/datacloud-924043c1/krsYsTllXK6ojRYh/_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/datacloud-924043c1/krsYsTllXK6ojRYh/_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/datacloud-924043c1/krsYsTllXK6ojRYh/_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/datacloud-924043c1/krsYsTllXK6ojRYh/_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/datacloud-924043c1/krsYsTllXK6ojRYh/_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/datacloud-924043c1/krsYsTllXK6ojRYh/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Update IM Integration - MemoryLake AI\">\u003cmeta data-mint-head property=\"og:description\" content=\"Changes an integration\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"MemoryLake AI\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.memorylake.ai/features/memorylake/api-reference/integrations/update-integration\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://datacloud-924043c1.mintlify.site/_mintlify/api/og/v2?division=IM+Integrations\u0026amp;title=Update+IM+Integration\u0026amp;description=Changes+an+integration\u0026amp;theme=5e044ebec589c4295124e63e\u0026amp;signature=eb46c32c05e2e7b214230d67bc49804ae195b495de2b7819745e113b3af09793\">\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=\"Update IM Integration - MemoryLake AI\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Changes an integration\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://datacloud-924043c1.mintlify.site/_mintlify/api/og/v2?division=IM+Integrations\u0026amp;title=Update+IM+Integration\u0026amp;description=Changes+an+integration\u0026amp;theme=5e044ebec589c4295124e63e\u0026amp;signature=eb46c32c05e2e7b214230d67bc49804ae195b495de2b7819745e113b3af09793\">\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/datacloud-924043c1/krsYsTllXK6ojRYh/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"MemoryLake AI\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#E75C2A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.memorylake.ai/features/memorylake/api-reference/integrations/update-integration\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/features/memorylake/api-reference/integrations/update-integration.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.memorylake.ai/features/memorylake/api-reference/integrations/update-integration\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh\" href=\"https://docs.memorylake.ai/zh/features/memorylake/api-reference/integrations/update-integration\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.memorylake.ai/features/memorylake/api-reference/integrations/update-integration\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.memorylake.ai/#organization\",\"name\":\"MemoryLake AI\",\"url\":\"https://docs.memorylake.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/datacloud-924043c1/W_-TJZhNN0WMmbCI/logo/light.svg?fit=max\u0026auto=format\u0026n=W_-TJZhNN0WMmbCI\u0026q=85\u0026s=9766e4cbaa7d674460d63cee7a88c501\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.memorylake.ai#website\",\"name\":\"MemoryLake AI\",\"url\":\"https://docs.memorylake.ai\",\"publisher\":{\"@id\":\"https://docs.memorylake.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.memorylake.ai/features/memorylake/api-reference/integrations/update-integration#webpage\",\"url\":\"https://docs.memorylake.ai/features/memorylake/api-reference/integrations/update-integration\",\"name\":\"Update IM Integration\",\"description\":\"Changes an integration\",\"dateModified\":\"2026-10-16T08:17:36.874Z\",\"isPartOf\":{\"@id\":\"https://docs.memorylake.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.memorylake.ai/features/memorylake/api-reference/integrations/update-integration#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.memorylake.ai/features/memorylake/api-reference/integrations/update-integration#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"MemoryLake API\",\"item\":\"https://docs.memorylake.ai/features/memorylake/api-reference/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Workspaces\",\"item\":\"https://docs.memorylake.ai/features/memorylake/api-reference/workspaces/overview\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"IM Integrations\",\"item\":\"https://docs.memorylake.ai/features/memorylake/api-reference/integrations/list-integrations\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Update IM Integration\",\"item\":\"https://docs.memorylake.ai/features/memorylake/api-reference/integrations/update-integration\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.memorylake.ai/features/memorylake/api-reference/integrations/update-integration#article\",\"headline\":\"Update IM Integration\",\"name\":\"Update IM Integration\",\"description\":\"Changes an integration\",\"url\":\"https://docs.memorylake.ai/features/memorylake/api-reference/integrations/update-integration\",\"mainEntityOfPage\":{\"@id\":\"https://docs.memorylake.ai/features/memorylake/api-reference/integrations/update-integration#webpage\"},\"dateModified\":\"2026-10-16T08:17:36.874Z\",\"publisher\":{\"@id\":\"https://docs.memorylake.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.memorylake.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"MemoryLake AI\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"MemoryLake AI\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/features/memorylake/api-reference/integrations/update-integration.md","siteName":"MemoryLake AI","nav":{"global":null,"languages":[{"language":"en","default":true,"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":"/overview"}]},{"tab":"API reference","groups":[{"group":"API documentation","pages":[]},{"group":"MemoryLake API","pages":[{"title":"MemoryLake API Reference","href":"/features/memorylake/api-reference/overview"},{"title":"API Authentication","href":"/features/memorylake/api-reference/authentication"},{"group":"Core Memory Operations","pages":[{"title":"Overview","href":"/features/memorylake/api-reference/core-memory/overview"},{"title":"Import Documents","href":"/features/memorylake/api-reference/v3-documents/import-documents"},{"title":"Append Conversation Message","href":"/features/memorylake/api-reference/conversations/create-message"},{"title":"Search Memories","href":"/features/memorylake/api-reference/search/search-memories"}]},{"group":"Library","pages":[{"title":"Overview","href":"/features/memorylake/api-reference/library/overview"},{"title":"Get Item","href":"/features/memorylake/api-reference/library/get-item"},{"title":"List Items","href":"/features/memorylake/api-reference/library/list-items"},{"title":"Download Item","href":"/features/memorylake/api-reference/library/download-item"},{"title":"Create Upload","href":"/features/memorylake/api-reference/library/create-upload"},{"title":"Create Item","href":"/features/memorylake/api-reference/library/create-item"},{"title":"Delete Item","href":"/features/memorylake/api-reference/library/delete-item"},{"title":"Batch Delete Items","href":"/features/memorylake/api-reference/library/batch-delete-items"},{"title":"Set Item Xattrs","href":"/features/memorylake/api-reference/library/set-item-xattrs"},{"title":"Delete Item Xattrs","href":"/features/memorylake/api-reference/library/delete-item-xattrs"}]},{"group":"Workspaces","pages":[{"title":"Overview","href":"/features/memorylake/api-reference/workspaces/overview"},{"title":"List Workspaces","href":"/features/memorylake/api-reference/workspaces/list-workspaces"},{"title":"Create Workspace","href":"/features/memorylake/api-reference/workspaces/create-workspace"},{"title":"Get Workspace","href":"/features/memorylake/api-reference/workspaces/get-workspace"},{"title":"Update Workspace","href":"/features/memorylake/api-reference/workspaces/update-workspace"},{"title":"Delete Workspace","href":"/features/memorylake/api-reference/workspaces/delete-workspace"},{"title":"List Workspace Facts","href":"/features/memorylake/api-reference/facts/list-workspace-facts"},{"group":"Conversations","pages":[{"title":"List Conversations","href":"/features/memorylake/api-reference/conversations/list-conversations"},{"title":"Create Conversation","href":"/features/memorylake/api-reference/conversations/create-conversation"},{"title":"Get Conversation","href":"/features/memorylake/api-reference/conversations/get-conversation"},{"title":"Delete Conversation","href":"/features/memorylake/api-reference/conversations/delete-conversation"},{"title":"List Messages","href":"/features/memorylake/api-reference/conversations/list-messages"},{"title":"Batch Get Messages","href":"/features/memorylake/api-reference/conversations/batch-get-messages"}]},{"group":"IM Integrations","pages":[{"title":"List IM Integrations","href":"/features/memorylake/api-reference/integrations/list-integrations"},{"title":"Create IM Integration","href":"/features/memorylake/api-reference/integrations/create-integration"},{"title":"Get IM Integration","description":"Returns one integration","href":"/features/memorylake/api-reference/integrations/get-integration"},{"title":"Update IM Integration","href":"/features/memorylake/api-reference/integrations/update-integration"},{"title":"Delete IM Integration","description":"Disconnects the bot and deletes the integration with its conversation mappings","href":"/features/memorylake/api-reference/integrations/delete-integration"}]}]},{"group":"Actors","pages":[{"title":"Overview","href":"/features/memorylake/api-reference/actors/overview"},{"title":"List Actors","href":"/features/memorylake/api-reference/actors/list-actors"},{"title":"Create Actor","href":"/features/memorylake/api-reference/actors/create-actor"},{"title":"Get Actor","href":"/features/memorylake/api-reference/actors/get-actor"},{"title":"Update Actor","href":"/features/memorylake/api-reference/actors/update-actor"},{"title":"Delete Actor","href":"/features/memorylake/api-reference/actors/delete-actor"},{"title":"List Workspace Actors","href":"/features/memorylake/api-reference/actors/list-workspace-actors"},{"title":"Bind Actor to Workspace","href":"/features/memorylake/api-reference/actors/bind-actor"},{"title":"Unbind Actor from Workspace","href":"/features/memorylake/api-reference/actors/unbind-actor"},{"group":"Actor Facts","pages":[{"title":"List Actor Facts","href":"/features/memorylake/api-reference/facts/list-actor-facts"},{"title":"Add Actor Facts","href":"/features/memorylake/api-reference/facts/add-actor-facts"},{"title":"Get Actor Fact","href":"/features/memorylake/api-reference/facts/get-actor-fact"},{"title":"Get Actor Fact Change History","href":"/features/memorylake/api-reference/facts/get-actor-fact-trace"},{"title":"Update Actor Fact","href":"/features/memorylake/api-reference/facts/update-actor-fact"},{"title":"Forget Actor Fact","href":"/features/memorylake/api-reference/facts/forget-actor-fact"},{"title":"Batch Forget Actor Facts","href":"/features/memorylake/api-reference/facts/batch-forget-actor-facts"}]},{"group":"Memory Conflicts","pages":[{"title":"List Actor Memory Conflicts","href":"/features/memorylake/api-reference/v3-conflicts/list-actor-conflicts"},{"title":"Get Actor Memory Conflict","href":"/features/memorylake/api-reference/v3-conflicts/get-actor-conflict"},{"title":"Resolve Actor Memory Conflict","href":"/features/memorylake/api-reference/v3-conflicts/resolve-actor-conflict"}]},{"group":"Memory Settings","pages":[{"title":"Get Actor Memory Settings","href":"/features/memorylake/api-reference/memory-settings/get-actor-memory-settings"},{"title":"Update Actor Memory Settings","href":"/features/memorylake/api-reference/memory-settings/update-actor-memory-settings"},{"title":"Draft Actor Fact Instruction","href":"/features/memorylake/api-reference/memory-settings/draft-actor-fact-instruction"}]}]},{"group":"Agents","pages":[{"title":"Overview","href":"/features/memorylake/api-reference/agents/overview"},{"title":"A2A Integration","href":"/features/memorylake/api-reference/a2a/overview"},{"title":"List Open Data Collections","href":"/features/memorylake/api-reference/a2a/list-open-data-collections"},{"title":"List Agents","href":"/features/memorylake/api-reference/agents/list-agents"},{"title":"Create Agent","href":"/features/memorylake/api-reference/agents/create-agent"},{"title":"Get Agent","href":"/features/memorylake/api-reference/agents/get-agent"},{"title":"Update Agent","href":"/features/memorylake/api-reference/agents/update-agent"},{"title":"Delete Agent","href":"/features/memorylake/api-reference/agents/delete-agent"},{"title":"Fork Agent","href":"/features/memorylake/api-reference/agents/fork-agent"},{"group":"Versions","pages":[{"title":"List Agent Versions","href":"/features/memorylake/api-reference/agents/list-agent-versions"},{"title":"Create Agent Version","href":"/features/memorylake/api-reference/agents/create-agent-version"},{"title":"Get Agent Version","href":"/features/memorylake/api-reference/agents/get-agent-version"}]},{"title":"List Workspace Agents","href":"/features/memorylake/api-reference/agents/list-workspace-agents"},{"title":"Bind Agent to Workspace","href":"/features/memorylake/api-reference/agents/bind-agent"},{"title":"Unbind Agent from Workspace","href":"/features/memorylake/api-reference/agents/unbind-agent"},{"group":"Agent Facts","pages":[{"title":"List Agent Facts","href":"/features/memorylake/api-reference/facts/list-agent-facts"},{"title":"Add Agent Facts","href":"/features/memorylake/api-reference/facts/add-agent-facts"},{"title":"Get Agent Fact","href":"/features/memorylake/api-reference/facts/get-agent-fact"},{"title":"Get Agent Fact Change History","href":"/features/memorylake/api-reference/facts/get-agent-fact-trace"},{"title":"Update Agent Fact","href":"/features/memorylake/api-reference/facts/update-agent-fact"},{"title":"Forget Agent Fact","href":"/features/memorylake/api-reference/facts/forget-agent-fact"},{"title":"Batch Forget Agent Facts","href":"/features/memorylake/api-reference/facts/batch-forget-agent-facts"}]},{"group":"Memory Conflicts","pages":[{"title":"List Agent Memory Conflicts","href":"/features/memorylake/api-reference/v3-conflicts/list-agent-conflicts"},{"title":"Get Agent Memory Conflict","href":"/features/memorylake/api-reference/v3-conflicts/get-agent-conflict"},{"title":"Resolve Agent Memory Conflict","href":"/features/memorylake/api-reference/v3-conflicts/resolve-agent-conflict"}]},{"group":"Memory Settings","pages":[{"title":"Get Agent Memory Settings","href":"/features/memorylake/api-reference/memory-settings/get-agent-memory-settings"},{"title":"Update Agent Memory Settings","href":"/features/memorylake/api-reference/memory-settings/update-agent-memory-settings"},{"title":"Draft Agent Fact Instruction","href":"/features/memorylake/api-reference/memory-settings/draft-agent-fact-instruction"}]}]},{"group":"Skills","pages":[{"title":"Overview","href":"/features/memorylake/api-reference/skills/overview"},{"title":"Request Package Upload","href":"/features/memorylake/api-reference/skills/create-package-upload"},{"title":"List Skills","href":"/features/memorylake/api-reference/skills/list-skills"},{"title":"Create Skill","href":"/features/memorylake/api-reference/skills/create-skill"},{"title":"Get Skill","href":"/features/memorylake/api-reference/skills/get-skill"},{"title":"Update Skill","href":"/features/memorylake/api-reference/skills/update-skill"},{"title":"Delete Skill","href":"/features/memorylake/api-reference/skills/delete-skill"},{"group":"Versions","pages":[{"title":"List Skill Versions","href":"/features/memorylake/api-reference/skills/list-skill-versions"},{"title":"Publish Skill Version","href":"/features/memorylake/api-reference/skills/create-skill-version"},{"title":"Get Skill Version","href":"/features/memorylake/api-reference/skills/get-skill-version"}]}]},{"group":"Boundaries","pages":[{"title":"Overview","href":"/features/memorylake/api-reference/boundaries/overview"},{"title":"List Boundaries","href":"/features/memorylake/api-reference/boundaries/list-boundaries"},{"title":"Create Boundary","href":"/features/memorylake/api-reference/boundaries/create-boundary"},{"title":"Get Boundary","href":"/features/memorylake/api-reference/boundaries/get-boundary"},{"title":"Update Boundary","href":"/features/memorylake/api-reference/boundaries/update-boundary"},{"title":"Delete Boundary","href":"/features/memorylake/api-reference/boundaries/delete-boundary"}]},{"group":"Projects","pages":[{"title":"Overview","href":"/features/memorylake/api-reference/v3-projects/overview"},{"title":"List Projects","href":"/features/memorylake/api-reference/v3-projects/list-projects"},{"title":"Create Project","href":"/features/memorylake/api-reference/v3-projects/create-project"},{"title":"Get Project","href":"/features/memorylake/api-reference/v3-projects/get-project"},{"title":"Update Project","href":"/features/memorylake/api-reference/v3-projects/update-project"},{"title":"Delete Project","href":"/features/memorylake/api-reference/v3-projects/delete-project"},{"group":"Documents","pages":[{"title":"List Documents","href":"/features/memorylake/api-reference/v3-documents/list-documents"},{"title":"Get Document","href":"/features/memorylake/api-reference/v3-documents/get-document"},{"title":"Download Document","href":"/features/memorylake/api-reference/v3-documents/download-document"},{"title":"Delete Documents","href":"/features/memorylake/api-reference/v3-documents/delete-documents"}]},{"group":"Project Facts","pages":[{"title":"List Facts","href":"/features/memorylake/api-reference/facts/list-facts"},{"title":"Add Facts","href":"/features/memorylake/api-reference/facts/add-facts"},{"title":"Get Fact","href":"/features/memorylake/api-reference/facts/get-fact"},{"title":"Get Fact Change History","href":"/features/memorylake/api-reference/facts/get-fact-trace"},{"title":"Update Fact","href":"/features/memorylake/api-reference/facts/update-fact"},{"title":"Forget Fact","href":"/features/memorylake/api-reference/facts/forget-fact"},{"title":"Batch Forget Facts","href":"/features/memorylake/api-reference/facts/batch-forget-facts"}]},{"group":"Memory Conflicts","pages":[{"title":"List Memory Conflicts","href":"/features/memorylake/api-reference/v3-conflicts/list-conflicts"},{"title":"Get Memory Conflict","href":"/features/memorylake/api-reference/v3-conflicts/get-conflict"},{"title":"Resolve Memory Conflict","href":"/features/memorylake/api-reference/v3-conflicts/resolve-conflict"}]},{"group":"Memory Settings","pages":[{"title":"Get Project Memory Settings","href":"/features/memorylake/api-reference/memory-settings/get-project-memory-settings"},{"title":"Update Project Memory Settings","href":"/features/memorylake/api-reference/memory-settings/update-project-memory-settings"},{"title":"Draft Project Fact Instruction","href":"/features/memorylake/api-reference/memory-settings/draft-project-fact-instruction"}]}]},{"group":"Databases","tag":"Preview","pages":[{"title":"Databases API Overview","href":"/features/memorylake/api-reference/database/overview"},{"group":"Connections","pages":[{"title":"List Database Connections","href":"/features/memorylake/api-reference/database/connections/list-database-connections"},{"title":"Test Database Connectivity","href":"/features/memorylake/api-reference/database/connections/test-database-connectivity"},{"title":"Create Database Connection","href":"/features/memorylake/api-reference/database/connections/create-database-connection"},{"title":"Get Database Connection","href":"/features/memorylake/api-reference/database/connections/get-database-connection"},{"title":"Update Database Connection","href":"/features/memorylake/api-reference/database/connections/update-database-connection"},{"title":"Delete Database Connection","href":"/features/memorylake/api-reference/database/connections/delete-database-connection"},{"title":"List Connection Schemas","href":"/features/memorylake/api-reference/database/connections/list-connection-schemas"}]},{"group":"Datasources","pages":[{"title":"List Datasources","href":"/features/memorylake/api-reference/database/datasources/list-datasources"},{"title":"Create Datasource","href":"/features/memorylake/api-reference/database/datasources/create-datasource"},{"title":"Get Datasource","href":"/features/memorylake/api-reference/database/datasources/get-datasource"},{"title":"Update Datasource","href":"/features/memorylake/api-reference/database/datasources/update-datasource"},{"title":"Delete Datasource","href":"/features/memorylake/api-reference/database/datasources/delete-datasource"},{"title":"Build Datasource Index","href":"/features/memorylake/api-reference/database/datasources/build-datasource-index"},{"title":"List Tables","href":"/features/memorylake/api-reference/database/datasources/list-tables"},{"title":"List Columns","href":"/features/memorylake/api-reference/database/datasources/list-columns"},{"title":"Edit Schema Metadata","href":"/features/memorylake/api-reference/database/datasources/edit-schema-metadata"}]},{"group":"Analysis Models","pages":[{"title":"List Analysis Model Templates","href":"/features/memorylake/api-reference/database/analysis-models/list-analysis-model-templates"},{"title":"List Analysis Models","href":"/features/memorylake/api-reference/database/analysis-models/list-analysis-models"},{"title":"Create Analysis Model","href":"/features/memorylake/api-reference/database/analysis-models/create-analysis-model"},{"title":"Get Analysis Model","href":"/features/memorylake/api-reference/database/analysis-models/get-analysis-model"},{"title":"Update Analysis Model","href":"/features/memorylake/api-reference/database/analysis-models/update-analysis-model"},{"title":"Delete Analysis Model","href":"/features/memorylake/api-reference/database/analysis-models/delete-analysis-model"},{"title":"List Knowledge Entries","href":"/features/memorylake/api-reference/database/analysis-models/list-knowledge-entries"},{"title":"Add Knowledge Entry","href":"/features/memorylake/api-reference/database/analysis-models/add-knowledge-entry"},{"title":"Get Knowledge Entry","href":"/features/memorylake/api-reference/database/analysis-models/get-knowledge-entry"},{"title":"Edit Knowledge Entry","href":"/features/memorylake/api-reference/database/analysis-models/edit-knowledge-entry"},{"title":"Disable or Restore Knowledge Entry","href":"/features/memorylake/api-reference/database/analysis-models/disable-knowledge-entry"},{"title":"Delete Knowledge Entry","href":"/features/memorylake/api-reference/database/analysis-models/delete-knowledge-entry"}]},{"group":"Database Memories","pages":[{"title":"List Database Memories","href":"/features/memorylake/api-reference/database/database-memories/list-database-memories"},{"title":"Create Database Memory","href":"/features/memorylake/api-reference/database/database-memories/create-database-memory"},{"title":"Get Database Memory","href":"/features/memorylake/api-reference/database/database-memories/get-database-memory"},{"title":"Update Database Memory","href":"/features/memorylake/api-reference/database/database-memories/update-database-memory"},{"title":"Delete Database Memory","href":"/features/memorylake/api-reference/database/database-memories/delete-database-memory"},{"title":"Reload Database Memory","href":"/features/memorylake/api-reference/database/database-memories/reload-database-memory"},{"title":"Generate Database Memory Instruction","href":"/features/memorylake/api-reference/database/database-memories/generate-database-memory-instruction"}]},{"group":"Database Access","pages":[{"title":"Get Database Resource Access","href":"/features/memorylake/api-reference/access-control/get-database-resource-access"},{"title":"List Database Permission Level Options","href":"/features/memorylake/api-reference/access-control/list-database-permission-level-options"},{"title":"Set Database Permission Level","href":"/features/memorylake/api-reference/access-control/set-database-permission-level"},{"title":"Grant Database Access","href":"/features/memorylake/api-reference/access-control/grant-database-scope"},{"title":"Revoke Database Access","href":"/features/memorylake/api-reference/access-control/revoke-database-scope"}]}]},{"group":"Team","pages":[{"title":"Get Team","href":"/features/memorylake/api-reference/team/get-team"},{"title":"Rename Team","href":"/features/memorylake/api-reference/team/update-team"},{"title":"Create Team","href":"/features/memorylake/api-reference/team/create-team"},{"title":"Transfer Ownership","href":"/features/memorylake/api-reference/team/transfer-ownership"},{"title":"Delete Team","href":"/features/memorylake/api-reference/team/delete-team"}]},{"group":"Members","pages":[{"title":"List Members","href":"/features/memorylake/api-reference/members/list-members"},{"title":"Get Member","href":"/features/memorylake/api-reference/members/get-member"},{"title":"Create Virtual Member","href":"/features/memorylake/api-reference/members/create-member"},{"title":"Update Member","href":"/features/memorylake/api-reference/members/update-member"},{"title":"Remove Member","href":"/features/memorylake/api-reference/members/remove-member"},{"title":"List Roles","href":"/features/memorylake/api-reference/members/list-roles"},{"title":"Get Member Access Scope","href":"/features/memorylake/api-reference/members/get-member-access-scope"},{"title":"Set Member Access Scope","href":"/features/memorylake/api-reference/members/set-member-access-scope"},{"title":"Get Member Effective Permissions","href":"/features/memorylake/api-reference/members/get-member-effective-permissions"}]},{"group":"Invitations","pages":[{"title":"List Invitations","href":"/features/memorylake/api-reference/invitations/list-invitations"},{"title":"Create Invitation","href":"/features/memorylake/api-reference/invitations/create-invitation"},{"title":"Get Invitation","href":"/features/memorylake/api-reference/invitations/get-invitation"},{"title":"Revoke Invitation","href":"/features/memorylake/api-reference/invitations/revoke-invitation"}]},{"group":"API Keys","pages":[{"title":"List API Keys","href":"/features/memorylake/api-reference/api-keys/list-api-keys"},{"title":"Create API Key","href":"/features/memorylake/api-reference/api-keys/create-api-key"},{"title":"Get API Key","href":"/features/memorylake/api-reference/api-keys/get-api-key"},{"title":"Update API Key","href":"/features/memorylake/api-reference/api-keys/update-api-key"},{"title":"Rotate API Key","href":"/features/memorylake/api-reference/api-keys/rotate-api-key"},{"title":"Revoke API Key","href":"/features/memorylake/api-reference/api-keys/revoke-api-key"}]},{"group":"Authorized Apps","pages":[{"title":"List My Authorized Apps","href":"/features/memorylake/api-reference/authorized-apps/list-my-authorized-apps"},{"title":"Revoke Authorized App","href":"/features/memorylake/api-reference/authorized-apps/revoke-my-authorized-app"}]},{"group":"Webhooks","pages":[{"title":"List Webhooks","href":"/features/memorylake/api-reference/webhooks/list-webhooks"},{"title":"Add Webhook","href":"/features/memorylake/api-reference/webhooks/create-webhook"},{"title":"Get Webhook","href":"/features/memorylake/api-reference/webhooks/get-webhook"},{"title":"Update Webhook","href":"/features/memorylake/api-reference/webhooks/update-webhook"},{"title":"Delete Webhook","href":"/features/memorylake/api-reference/webhooks/delete-webhook"},{"title":"Enable Webhook","href":"/features/memorylake/api-reference/webhooks/enable-webhook"},{"title":"Disable Webhook","href":"/features/memorylake/api-reference/webhooks/disable-webhook"},{"title":"Rotate Signing Secret","href":"/features/memorylake/api-reference/webhooks/rotate-webhook-secret"},{"title":"Send Test Event","href":"/features/memorylake/api-reference/webhooks/send-webhook-test-event"},{"title":"List Event Types","href":"/features/memorylake/api-reference/webhooks/list-webhook-event-types"},{"title":"List Deliveries","href":"/features/memorylake/api-reference/webhooks/list-webhook-deliveries"},{"title":"Get Delivery","href":"/features/memorylake/api-reference/webhooks/get-webhook-delivery"},{"title":"Resend Delivery","href":"/features/memorylake/api-reference/webhooks/resend-webhook-delivery"}]},{"group":"Access Control","pages":[{"title":"Access Control","href":"/features/memorylake/api-reference/access-control/overview"},{"title":"Get Permission Catalog","href":"/features/memorylake/api-reference/access-control/get-permission-catalog"},{"title":"List My Permissions","href":"/features/memorylake/api-reference/access-control/list-my-permissions"},{"group":"Roles","pages":[{"title":"Get Role","href":"/features/memorylake/api-reference/access-control/get-role"},{"title":"Create Custom Role","href":"/features/memorylake/api-reference/access-control/create-role"},{"title":"Update Custom Role","href":"/features/memorylake/api-reference/access-control/update-role"},{"title":"Delete Custom Role","href":"/features/memorylake/api-reference/access-control/delete-role"},{"title":"Get Role Access Scope","href":"/features/memorylake/api-reference/access-control/get-role-access-scope"},{"title":"Set Role Access Scope","href":"/features/memorylake/api-reference/access-control/set-role-access-scope"}]},{"group":"Permission Rules","pages":[{"title":"List Permission Rules","href":"/features/memorylake/api-reference/access-control/list-permission-rules"},{"title":"Create Permission Rules","href":"/features/memorylake/api-reference/access-control/create-permission-rules"},{"title":"Delete Permission Rule","href":"/features/memorylake/api-reference/access-control/delete-permission-rule"}]},{"group":"Access Groups","pages":[{"title":"List Access Groups","href":"/features/memorylake/api-reference/access-control/list-access-groups"},{"title":"Create Access Group","href":"/features/memorylake/api-reference/access-control/create-access-group"},{"title":"Get Access Group","href":"/features/memorylake/api-reference/access-control/get-access-group"},{"title":"Update Access Group","href":"/features/memorylake/api-reference/access-control/update-access-group"},{"title":"Delete Access Group","href":"/features/memorylake/api-reference/access-control/delete-access-group"},{"title":"List Access Group Members","href":"/features/memorylake/api-reference/access-control/list-access-group-members"},{"title":"Add Access Group Members","href":"/features/memorylake/api-reference/access-control/add-access-group-members"},{"title":"Remove Access Group Member","href":"/features/memorylake/api-reference/access-control/remove-access-group-member"},{"title":"Set Access Group Permissions","href":"/features/memorylake/api-reference/access-control/set-access-group-permissions"},{"title":"Get Access Group Access Scope","href":"/features/memorylake/api-reference/access-control/get-access-group-access-scope"},{"title":"Set Access Group Access Scope","href":"/features/memorylake/api-reference/access-control/set-access-group-access-scope"},{"title":"Get Access Group Effective Permissions","href":"/features/memorylake/api-reference/access-control/get-access-group-effective-permissions"}]},{"group":"Resource Access","pages":[{"title":"Get Resource Access","href":"/features/memorylake/api-reference/access-control/get-resource-access"},{"title":"List Permission Level Options","href":"/features/memorylake/api-reference/access-control/list-permission-level-options"},{"title":"Set Permission Level","href":"/features/memorylake/api-reference/access-control/set-permission-level"},{"title":"Grant Access","href":"/features/memorylake/api-reference/access-control/grant-scope"},{"title":"Revoke Access","href":"/features/memorylake/api-reference/access-control/revoke-scope"}]}]},{"group":"Usage \u0026 Audit Logs","pages":[{"title":"Get Usage","href":"/features/memorylake/api-reference/usage/get-usage"},{"title":"Get Usage Summary","href":"/features/memorylake/api-reference/usage/get-usage-summary"},{"title":"List Usage Records","href":"/features/memorylake/api-reference/usage/list-usage-records"},{"title":"List Audit Logs","href":"/features/memorylake/api-reference/usage/list-audit-logs"}]},{"group":"Billing","pages":[{"group":"Subscription","pages":[{"title":"Get Subscription","href":"/features/memorylake/api-reference/billing/get-subscription"},{"title":"Preview Plan Change","href":"/features/memorylake/api-reference/billing/preview-plan-change"}]},{"group":"Credits","pages":[{"title":"Get Credit Balance","href":"/features/memorylake/api-reference/billing/get-credit-balance"},{"title":"List Credit Transactions","href":"/features/memorylake/api-reference/billing/list-credit-transactions"},{"title":"Get Low-Balance Alert","href":"/features/memorylake/api-reference/billing/get-balance-alert"},{"title":"Set Low-Balance Alert","href":"/features/memorylake/api-reference/billing/set-balance-alert"},{"title":"Reset Low-Balance Alert","href":"/features/memorylake/api-reference/billing/reset-balance-alert"},{"title":"List Low-Balance Alert Events","href":"/features/memorylake/api-reference/billing/list-balance-alert-events"},{"title":"Get Auto Top-Up","href":"/features/memorylake/api-reference/billing/get-auto-topup"},{"title":"List Auto Top-Up Attempts","href":"/features/memorylake/api-reference/billing/list-auto-topup-attempts"}]},{"group":"Orders","pages":[{"title":"List Orders","href":"/features/memorylake/api-reference/billing/list-orders"},{"title":"Get Order","href":"/features/memorylake/api-reference/billing/get-order"}]},{"group":"Payment Methods","pages":[{"title":"List Payment Methods","href":"/features/memorylake/api-reference/billing/list-payment-methods"}]},{"group":"Invoices","pages":[{"title":"List Invoices","href":"/features/memorylake/api-reference/billing/list-invoices"},{"title":"Get Invoice","href":"/features/memorylake/api-reference/billing/get-invoice"},{"title":"Download Invoice PDF","href":"/features/memorylake/api-reference/billing/download-invoice-pdf"},{"title":"Get Billing Details","href":"/features/memorylake/api-reference/billing/get-billing-details"},{"title":"Set Billing Details","href":"/features/memorylake/api-reference/billing/set-billing-details"}]}]},{"group":"Deprecated","pages":[{"group":"Projects","pages":[{"title":"List Projects","href":"/features/memorylake/api-reference/projects/list-projects"},{"title":"Create Project","href":"/features/memorylake/api-reference/projects/create-project"},{"title":"Get Project","href":"/features/memorylake/api-reference/projects/get-project"},{"title":"Update Project","href":"/features/memorylake/api-reference/projects/update-project"},{"title":"Delete Project","href":"/features/memorylake/api-reference/projects/delete-project"},{"title":"Search Memories \u0026 Documents in Project","href":"/features/memorylake/api-reference/projects/search-project"}]},{"group":"Documents","pages":[{"title":"List Documents","href":"/features/memorylake/api-reference/memories/list-documents"},{"title":"Get Document","href":"/features/memorylake/api-reference/memories/get-document"},{"title":"Add Documents","href":"/features/memorylake/api-reference/memories/add-document"},{"title":"Remove Documents","href":"/features/memorylake/api-reference/memories/remove-documents"},{"title":"Search Documents","href":"/features/memorylake/api-reference/memories/search-documents"},{"title":"Download Document","href":"/features/memorylake/api-reference/memories/download-document"}]},{"group":"Memories","pages":[{"title":"Add Memory","href":"/features/memorylake/api-reference/memories/add-memory"},{"title":"List Memories","href":"/features/memorylake/api-reference/memories/list-memories"},{"title":"Get Memory","href":"/features/memorylake/api-reference/memories/get-memory"},{"title":"Get Memory Trace","href":"/features/memorylake/api-reference/memories/get-memory-trace"},{"title":"Search Memories","href":"/features/memorylake/api-reference/memories/search-memories"},{"title":"Forget Memory","href":"/features/memorylake/api-reference/memories/forget-memory"},{"title":"List Memory Conflicts","href":"/features/memorylake/api-reference/memories/list-memory-conflicts"},{"title":"Get Memory Conflict","href":"/features/memorylake/api-reference/memories/get-memory-conflict"},{"title":"Resolve Memory Conflict","href":"/features/memorylake/api-reference/memories/resolve-memory-conflict"}]}]},{"title":"Error Codes \u0026 Handling","href":"/features/memorylake/api-reference/errors"},{"title":"Rate Limiting \u0026 Quotas","href":"/features/memorylake/api-reference/rate-limits"}]},{"group":"Memory Router API","pages":[{"title":"Memory Router API","href":"/features/memory-router/api-reference/overview"},{"title":"Chat Completions","href":"/features/memory-router/api-reference/chat-completions"},{"title":"Responses","href":"/features/memory-router/api-reference/responses"},{"title":"Embeddings","href":"/features/memory-router/api-reference/embeddings"},{"title":"Images","href":"/features/memory-router/api-reference/images"},{"title":"Messages","href":"/features/memory-router/api-reference/messages"},{"title":"List Models","href":"/features/memory-router/api-reference/list-models"}]}]}]},{"language":"zh","pages":[{"title":"zh","href":"/zh/features/memorylake/api-reference/integrations/update-integration"}]}]},"basePath":"","title":"Update IM Integration - MemoryLake AI","deploymentId":"dpl_BLZw3QngerHodH9E8mGgC4v752y3","buildId":"dpl_BLZw3QngerHodH9E8mGgC4v752y3","dynamics":["2b790eda92"],"chunks":["ApiExamples-gah5G0c1.js","usePlaygroundInputsStore-DMbftGRK.js","shallow-BPuQ-dV8.js","utils-DINdUa17.js","utils-cjri0g4r.js","isEqual-Du6c450V.js","_Uint8Array-BFUkDgJK.js","isObject-FP1Yky1u.js","CodeSnippets-BSVM0Ibi.js","CodeSnippet-BtGQRZnK.js","snippetPresets-CbOVSLWB.js","style-to-object-BY3JEAdk.js","use-playground-group-access-98JyaSW7.js","cloneDeep-BldndzCM.js","v4-DIgz8zy6.js"]}