API Key or JWT User Token. If using an API Key, set the X-As-User header to act as a specific user. A JWT User Token is always scoped to a specific user.
Custom metadata for filtering. Keys must be alphanumeric with underscores, max 64 chars. Values must be string, number, boolean, or null. Will be merged with existing metadata.
Change who can see this memory. Omit to leave sharing unchanged. personal makes it visible only to its user, removing it from everyone in the app if it was shared. shared shares it with everyone in the app, and is only accepted when the app allows direct sharing.
Opaque Vault write version for a subsequent conditional write.
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Hyperspell","colors":{"primary":"#eF7E75","light":"#eF7E75","dark":"#FF7E75"},"logo":{"light":"https://mintcdn.com/hyperspell/v3b7lBADAA2jgsr8/logo/light.svg?fit=max\u0026auto=format\u0026n=v3b7lBADAA2jgsr8\u0026q=85\u0026s=daa1192bf1d8015701d50d2c12b5e843","dark":"https://mintcdn.com/hyperspell/v3b7lBADAA2jgsr8/logo/dark.svg?fit=max\u0026auto=format\u0026n=v3b7lBADAA2jgsr8\u0026q=85\u0026s=f902d22b6c72a38457450091a65af5b1","href":"https://hyperspell.com"},"favicon":"https://mintcdn.com/hyperspell/v3b7lBADAA2jgsr8/favicon.svg?fit=max\u0026auto=format\u0026n=v3b7lBADAA2jgsr8\u0026q=85\u0026s=e3868fcf92af7815460b8dc73c41e908","appearance":{"default":"light"},"background":{"decoration":"gradient","color":{"light":"#f9f9f9","dark":"#151313"}},"navbar":{"links":[{"href":"mailto:hello@hyperspell.com","label":"Support"},{"href":"https://hyperspell.com/blog","label":"Blog"}],"primary":{"type":"button","label":"Open Dashboard","href":"https://app.hyperspell.com"}},"footer":{"socials":{"x":"https://x.com/hyperspell","github":"https://github.com/hyperspell","linkedin":"https://linkedin.com/company/hyperspell"}},"fonts":{"heading":{"family":"Exposure","weight":400,"source":"fonts/exposure.woff2","format":"woff2"},"body":{"family":"Geist"}},"integrations":{"plausible":{"domain":"docs.hyperspell.com"}},"contextual":{"options":["copy","chatgpt","claude"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"hyperspell","hasAudioNarration":false,"actualSubdomain":"hyperspell","customDomains":["docs.hyperspell.com"],"gitSource":{"type":"github","owner":"hyperspell","repo":"hyperspell","deployBranch":"main","contentDirectory":"apps/docs","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae41adf6077707d7e37c93c","collectionId":"96e4c445-6aaa-452d-87af-79ed90f8afce","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae41adf6077707d7e37c93c"},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"REMOVE_BRANDING":{"status":"DISABLED"},"CONTEXTUAL_FEEDBACK":{"status":"DISABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"DISABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ae4c66d4c4a3f4f5e4b1610","clientVersion":"0.0.4021","searchFilterCounts":[{"language":"default","tag":"API Reference","count":69},{"language":"default","tag":"Integrations","count":68},{"language":"default","tag":"Documentation","count":18},{"language":"default","tag":"Memories","count":18},{"language":"default","tag":"Connecting Agents","count":9},{"language":"default","tag":"Resources","count":4},{"language":"default","tag":"Emotional State","count":4},{"language":"default","tag":"Evaluation","count":4},{"language":"default","tag":"Folder Policies","count":4},{"language":"default","tag":"Live","count":4}]},"assistantConfig":{},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[],"page":{"pagePath":"api-reference/memories/update-a-vault-memory-only-at-the-expected-revision","slug":"/api-reference/memories/update-a-vault-memory-only-at-the-expected-revision","pageMetadata":{"title":"Update a Vault memory only at the expected revision","description":"Update a Vault memory only if its current revision matches the precondition.","deprecated":null,"version":null,"openapi":"https://api.hyperspell.com/openapi.json post /memories/conditional/update/{resource_id}","href":"/api-reference/memories/update-a-vault-memory-only-at-the-expected-revision","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Update a Vault memory only if its current revision matches the precondition.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Update a Vault memory only at the expected revision","description":"Update a Vault memory only if its current revision matches the precondition.","deprecated":null,"version":null,"openapi":"https://api.hyperspell.com/openapi.json post /memories/conditional/update/{resource_id}","href":"/api-reference/memories/update-a-vault-memory-only-at-the-expected-revision","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Memories"],"summary":"Update a Vault memory only at the expected revision","description":"Update a Vault memory only if its current revision matches the precondition.","operationId":"update_conditional_memories_conditional_update__resource_id__post","security":["a129e33f-39e2-4218-bec9-94fce88435ae"],"parameters":["85de4236-cddb-4f33-be46-8116497f63f5","e3cc14bd-440b-4d76-8dfc-462ae0178918"],"requestBody":"9dde8131-8eb1-44c7-8e47-b3e9a0f6ee8d","responses":{"200":"fd71fb20-7f86-4299-9971-8482e189a617","422":"1c56c7b5-e732-4568-920a-de61e9986457"},"method":"post","type":"path","servers":["7dbfa5d5-1d06-42a1-9b6e-5129d2dab13c"],"path":"/memories/conditional/update/{resource_id}","baseUrlOptions":["https://api.hyperspell.com"],"title":"Update a Vault memory only at the expected revision","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"85de4236-cddb-4f33-be46-8116497f63f5":{"name":"resource_id","in":"path","required":true,"schema":{"type":"string","title":"Resource Id","isRequired":true,"uniqueKey":"","typeLabel":"string"}},"e3cc14bd-440b-4d76-8dfc-462ae0178918":{"name":"X-As-User","in":"header","required":false,"schema":{"oneOf":[{"type":"string","title":"X-As-User","description":"Optionally set this header to act as a specific user when using an API Key, equivalent to first exchanging the API Key for a User Token","uniqueKey":"oneOf.0","typeLabel":"string"},{"type":"null","title":"X-As-User","description":"Optionally set this header to act as a specific user when using an API Key, equivalent to first exchanging the API Key for a User Token","uniqueKey":"oneOf.1","typeLabel":"null"}],"isRequired":false,"uniqueKey":"","typeLabel":"string | null"},"description":"Optionally set this header to act as a specific user when using an API Key, equivalent to first exchanging the API Key for a User Token"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"expected_revision":{"type":"string","maxLength":128,"minLength":1,"title":"Expected Revision","isRequired":true,"uniqueKey":"expected_revision","typeLabel":"string"},"text":{"oneOf":[{"type":"string","title":"Text","description":"Full text of the document. If provided, the document will be re-indexed.","default":{},"uniqueKey":"text.oneOf.0","typeLabel":"string"},{"title":"Text","description":"Full text of the document. If provided, the document will be re-indexed.","default":{},"uniqueKey":"text.oneOf.1","typeLabel":"any"},{"type":"null","title":"Text","description":"Full text of the document. If provided, the document will be re-indexed.","default":{},"uniqueKey":"text.oneOf.2","typeLabel":"null"}],"uniqueKey":"text","typeLabel":"string | any | null"},"collection":{"oneOf":[{"type":"string","title":"Collection","description":"The collection to move the document to — deprecated, set the collection using metadata instead.","default":{},"deprecated":true,"uniqueKey":"collection.oneOf.0","typeLabel":"string"},{"title":"Collection","description":"The collection to move the document to — deprecated, set the collection using metadata instead.","default":{},"deprecated":true,"uniqueKey":"collection.oneOf.1","typeLabel":"any"},{"type":"null","title":"Collection","description":"The collection to move the document to — deprecated, set the collection using metadata instead.","default":{},"deprecated":true,"uniqueKey":"collection.oneOf.2","typeLabel":"null"}],"uniqueKey":"collection","typeLabel":"string | any | null"},"title":{"oneOf":[{"type":"string","title":"Title","description":"Title of the document.","default":{},"uniqueKey":"title.oneOf.0","typeLabel":"string"},{"title":"Title","description":"Title of the document.","default":{},"uniqueKey":"title.oneOf.1","typeLabel":"any"},{"type":"null","title":"Title","description":"Title of the document.","default":{},"uniqueKey":"title.oneOf.2","typeLabel":"null"}],"uniqueKey":"title","typeLabel":"string | any | null"},"date":{"oneOf":[{"type":"string","title":"Date","description":"Date of the document for ranking and filtering.","format":"date-time","default":{},"uniqueKey":"date.oneOf.0","typeLabel":"string\u003cdate-time>"},{"title":"Date","description":"Date of the document for ranking and filtering.","default":{},"uniqueKey":"date.oneOf.1","typeLabel":"any"},{"type":"null","title":"Date","description":"Date of the document for ranking and filtering.","default":{},"uniqueKey":"date.oneOf.2","typeLabel":"null"}],"uniqueKey":"date","typeLabel":"string\u003cdate-time> | any | null"},"metadata":{"oneOf":[{"type":"object","title":"Metadata","description":"Custom metadata for filtering. Keys must be alphanumeric with underscores, max 64 chars. Values must be string, number, boolean, or null. Will be merged with existing metadata.","default":{},"additionalProperties":{"oneOf":[{"type":"string","uniqueKey":"metadata.oneOf.0.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"metadata.oneOf.0.additionalProperties.oneOf.1","typeLabel":"integer"},{"type":"number","uniqueKey":"metadata.oneOf.0.additionalProperties.oneOf.2","typeLabel":"number"},{"type":"boolean","uniqueKey":"metadata.oneOf.0.additionalProperties.oneOf.3","typeLabel":"boolean"},{"type":"null","uniqueKey":"metadata.oneOf.0.additionalProperties.oneOf.4","typeLabel":"null"}],"uniqueKey":"metadata.oneOf.0.additionalProperties","typeLabel":"string | integer | number | boolean | null"},"uniqueKey":"metadata.oneOf.0","typeLabel":"Metadata · object"},{"title":"Metadata","description":"Custom metadata for filtering. Keys must be alphanumeric with underscores, max 64 chars. Values must be string, number, boolean, or null. Will be merged with existing metadata.","default":{},"uniqueKey":"metadata.oneOf.1","typeLabel":"any"},{"type":"null","title":"Metadata","description":"Custom metadata for filtering. Keys must be alphanumeric with underscores, max 64 chars. Values must be string, number, boolean, or null. Will be merged with existing metadata.","default":{},"uniqueKey":"metadata.oneOf.2","typeLabel":"null"}],"uniqueKey":"metadata","typeLabel":"Metadata · object | any | null"},"share":{"oneOf":[{"type":"string","title":"Share","description":"Change who can see this memory. Omit to leave sharing unchanged. `personal` makes it visible only to its user, removing it from everyone in the app if it was shared. `shared` shares it with everyone in the app, and is only accepted when the app allows direct sharing.","default":{},"enum":["personal","shared"],"uniqueKey":"share.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"Share","description":"Change who can see this memory. Omit to leave sharing unchanged. `personal` makes it visible only to its user, removing it from everyone in the app if it was shared. `shared` shares it with everyone in the app, and is only accepted when the app allows direct sharing.","default":{},"uniqueKey":"share.oneOf.1","typeLabel":"any"}],"uniqueKey":"share","typeLabel":"enum\u003cstring> | any"}},"type":"object","required":["expected_revision"],"title":"ConditionalUpdateRequest","uniqueKey":"","typeLabel":"ConditionalUpdateRequest · object"},"examples":{"Example":{"title":"Example","value":{"expected_revision":"\u003cstring>","text":{},"collection":{},"title":{},"date":{},"metadata":{},"share":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"fd71fb20-7f86-4299-9971-8482e189a617":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"source":{"type":"string","enum":["reddit","notion","slack","google_calendar","google_mail","imap","google_meet","box","dropbox","github","gitlab","google_drive","vault","web_crawler","trace","microsoft_outlook","microsoft_teams","granola","fathom","fireflies","figma","linear","hubspot","salesforce","coda","confluence","jira","metabase","gong","clickup","lightfield","pylon","fellow","odoo","external_mcp","page"],"title":"DocumentProviders","isRequired":true,"uniqueKey":"source","typeLabel":"enum\u003cstring>"},"resource_id":{"type":"string","title":"Resource Id","isRequired":true,"uniqueKey":"resource_id","typeLabel":"string"},"status":{"type":"string","enum":["pending","processing","completed","failed","pending_review","skipped","filtered","cancelled"],"title":"DocumentStatus","isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"revision":{"oneOf":[{"type":"string","title":"Revision","description":"Opaque Vault write version for a subsequent conditional write.","uniqueKey":"revision.oneOf.0","typeLabel":"string"},{"type":"null","title":"Revision","description":"Opaque Vault write version for a subsequent conditional write.","uniqueKey":"revision.oneOf.1","typeLabel":"null"}],"uniqueKey":"revision","typeLabel":"string | null"}},"type":"object","required":["source","resource_id","status"],"title":"DocumentStatusResponse","uniqueKey":"","typeLabel":"DocumentStatusResponse · object"},"examples":{"Example":{"title":"Example","value":{"source":"reddit","resource_id":"\u003cstring>","status":"pending","revision":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"1c56c7b5-e732-4568-920a-de61e9986457":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"oneOf":[{"type":"string","uniqueKey":"detail.items.[INDEX].loc.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"detail.items.[INDEX].loc.items.[INDEX].oneOf.1","typeLabel":"integer"}],"uniqueKey":"detail.items.[INDEX].loc.items.[INDEX]","typeLabel":"string | integer"},"type":"array","title":"Location","isRequired":true,"uniqueKey":"detail.items.[INDEX].loc","typeLabel":"(string | integer)[]"},"msg":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"detail.items.[INDEX].msg","typeLabel":"string"},"type":{"type":"string","title":"Error Type","isRequired":true,"uniqueKey":"detail.items.[INDEX].type","typeLabel":"string"},"input":{"oneOf":[{"title":"Input"}],"uniqueKey":"detail.items.[INDEX].input","typeLabel":"any"},"ctx":{"type":"object","title":"Context","uniqueKey":"detail.items.[INDEX].ctx","typeLabel":"Context · object"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError","uniqueKey":"detail.items.[INDEX]","typeLabel":"ValidationError · object"},"type":"array","title":"Detail","uniqueKey":"detail","typeLabel":"ValidationError · object[]"}},"type":"object","title":"HTTPValidationError","uniqueKey":"","typeLabel":"HTTPValidationError · object"},"examples":{"Example":{"title":"Example","value":{"detail":[{"loc":["\u003cstring>"],"msg":"\u003cstring>","type":"\u003cstring>","input":"\u003cunknown>","ctx":{}}]}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"a129e33f-39e2-4218-bec9-94fce88435ae":{"APIKey":{"type":"http","description":"API Key or JWT User Token. If using an API Key, set the X-As-User header to act as a specific user. A JWT User Token is always scoped to a specific user.","scheme":"bearer","bearerFormat":"Bearer \u003ctoken>","scopes":[],"schemeName":"APIKey"}}},"servers":{"7dbfa5d5-1d06-42a1-9b6e-5129d2dab13c":{"url":"https://api.hyperspell.com","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","description":"API Key or JWT User Token. If using an API Key, set the X-As-User header to act as a specific user. A JWT User Token is always scoped to a specific user.","scheme":"bearer","bearerFormat":"Bearer \u003ctoken>","scopes":[],"schemeName":"APIKey"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"API Key or JWT User Token. If using an API Key, set the X-As-User header to act as a specific user. A JWT User Token is always scoped to a specific user.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"APIKey","name":"Authorization"}],"title":"APIKey"}]},"originalFileLocation":"https://api.hyperspell.com/openapi.json"},"subdomain":"hyperspell","siteName":"Hyperspell","title":"Update a Vault memory only at the expected revision - Hyperspell","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-30T16:31:47.103Z","originalFileLocation":"api-reference/memories/update-a-vault-memory-only-at-the-expected-revision.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"light\"}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=\"Update a Vault memory only if its current revision matches the precondition.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Hyperspell\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/hyperspell/_L3SAE3y_mnPfj1R/_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/hyperspell/_L3SAE3y_mnPfj1R/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/hyperspell/_L3SAE3y_mnPfj1R/_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/hyperspell/_L3SAE3y_mnPfj1R/_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/hyperspell/_L3SAE3y_mnPfj1R/_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/hyperspell/_L3SAE3y_mnPfj1R/_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/hyperspell/_L3SAE3y_mnPfj1R/_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/hyperspell/_L3SAE3y_mnPfj1R/_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/hyperspell/_L3SAE3y_mnPfj1R/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Update a Vault memory only at the expected revision - Hyperspell\">\u003cmeta data-mint-head property=\"og:description\" content=\"Update a Vault memory only if its current revision matches the precondition.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Hyperspell\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.hyperspell.com/api-reference/memories/update-a-vault-memory-only-at-the-expected-revision\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://hyperspell.mintlify.app/_mintlify/api/og/v2?division=Memories\u0026amp;title=Update+a+Vault+memory+only+at+the+expected+revision\u0026amp;description=Update+a+Vault+memory+only+if+its+current+revision+matches+the+precondition.\u0026amp;theme=86c00e641f3576d5ee8834df\u0026amp;signature=1d9573146838b8f1c9d01189afdd97f52bb1c100c9efa52f731e21f86b251bcf\">\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 a Vault memory only at the expected revision - Hyperspell\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Update a Vault memory only if its current revision matches the precondition.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://hyperspell.mintlify.app/_mintlify/api/og/v2?division=Memories\u0026amp;title=Update+a+Vault+memory+only+at+the+expected+revision\u0026amp;description=Update+a+Vault+memory+only+if+its+current+revision+matches+the+precondition.\u0026amp;theme=86c00e641f3576d5ee8834df\u0026amp;signature=1d9573146838b8f1c9d01189afdd97f52bb1c100c9efa52f731e21f86b251bcf\">\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/hyperspell/_L3SAE3y_mnPfj1R/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Hyperspell\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#eF7E75\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.hyperspell.com/api-reference/memories/update-a-vault-memory-only-at-the-expected-revision\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/memories/update-a-vault-memory-only-at-the-expected-revision.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.hyperspell.com/#organization\",\"name\":\"Hyperspell\",\"url\":\"https://docs.hyperspell.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/hyperspell/v3b7lBADAA2jgsr8/logo/light.svg?fit=max\u0026auto=format\u0026n=v3b7lBADAA2jgsr8\u0026q=85\u0026s=daa1192bf1d8015701d50d2c12b5e843\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.hyperspell.com#website\",\"name\":\"Hyperspell\",\"url\":\"https://docs.hyperspell.com\",\"publisher\":{\"@id\":\"https://docs.hyperspell.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.hyperspell.com/api-reference/memories/update-a-vault-memory-only-at-the-expected-revision#webpage\",\"url\":\"https://docs.hyperspell.com/api-reference/memories/update-a-vault-memory-only-at-the-expected-revision\",\"name\":\"Update a Vault memory only at the expected revision\",\"description\":\"Update a Vault memory only if its current revision matches the precondition.\",\"dateModified\":\"2026-10-30T16:31:47.103Z\",\"isPartOf\":{\"@id\":\"https://docs.hyperspell.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.hyperspell.com/api-reference/memories/update-a-vault-memory-only-at-the-expected-revision#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.hyperspell.com/api-reference/memories/update-a-vault-memory-only-at-the-expected-revision#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Memories\",\"item\":\"https://docs.hyperspell.com/api-reference/memories/add-a-memory-only-at-the-expected-revision\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Update a Vault memory only at the expected revision\",\"item\":\"https://docs.hyperspell.com/api-reference/memories/update-a-vault-memory-only-at-the-expected-revision\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.hyperspell.com/api-reference/memories/update-a-vault-memory-only-at-the-expected-revision#apireference\",\"headline\":\"Update a Vault memory only at the expected revision\",\"name\":\"Update a Vault memory only at the expected revision\",\"description\":\"Update a Vault memory only if its current revision matches the precondition.\",\"url\":\"https://docs.hyperspell.com/api-reference/memories/update-a-vault-memory-only-at-the-expected-revision\",\"mainEntityOfPage\":{\"@id\":\"https://docs.hyperspell.com/api-reference/memories/update-a-vault-memory-only-at-the-expected-revision#webpage\"},\"dateModified\":\"2026-10-30T16:31:47.103Z\",\"publisher\":{\"@id\":\"https://docs.hyperspell.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.hyperspell.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Hyperspell\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Hyperspell","nav":{"global":null,"anchors":[{"anchor":"Documentation","icon":"book","pages":[{"title":"Documentation","href":"/core/introduction"}]},{"anchor":"Integrations","icon":"circle-nodes","pages":[{"title":"Integrations","href":"/integrations/overview"}]},{"anchor":"API Reference","icon":"terminal","groups":[{"group":"API Documentation","pages":[{"title":"API Introduction","href":"/api-reference/introduction"}]},{"group":"Memories","pages":[{"title":"Add a memory only at the expected revision","deprecated":null,"version":null,"openapi":"https://api.hyperspell.com/openapi.json post /memories/conditional/add","href":"/api-reference/memories/add-a-memory-only-at-the-expected-revision"},{"title":"Add a memory","deprecated":null,"version":null,"openapi":"https://api.hyperspell.com/openapi.json post /memories/add","href":"/api-reference/memories/add-a-memory"},{"title":"Add multiple memories","description":"Adds multiple documents to the index in a single request.\n\nAll items are validated before processing begins. If any item fails\nvalidation, the entire batch is rejected with a 422 error detailing which\nitems failed and why.\n\nMaximum 100 items per request. Each item follows the same schema as the\nsingle-item /memories/add endpoint.","deprecated":null,"version":null,"openapi":"https://api.hyperspell.com/openapi.json post /memories/add/bulk","href":"/api-reference/memories/add-multiple-memories"},{"title":"Update a Vault memory only at the expected revision","deprecated":null,"version":null,"openapi":"https://api.hyperspell.com/openapi.json post /memories/conditional/update/{resource_id}","href":"/api-reference/memories/update-a-vault-memory-only-at-the-expected-revision"},{"title":"Update a memory","description":"Updates an existing document in the index. You can update the text, collection,\ntitle, and metadata. The document must already exist or a 404 will be returned.\nThis works for documents from any source (vault, slack, gmail, etc.).\n\nTo remove a collection, set it to null explicitly.","deprecated":null,"version":null,"openapi":"https://api.hyperspell.com/openapi.json post /memories/update/{source}/{resource_id}","href":"/api-reference/memories/update-a-memory"},{"title":"Upload a file","deprecated":null,"version":null,"openapi":"https://api.hyperspell.com/openapi.json post /memories/upload","href":"/api-reference/memories/upload-a-file"},{"title":"List Sharing Requests","deprecated":null,"version":null,"openapi":"https://api.hyperspell.com/openapi.json get /memories/sharing/requests","href":"/api-reference/memories/list-sharing-requests"},{"title":"Decide Sharing Request","deprecated":null,"version":null,"openapi":"https://api.hyperspell.com/openapi.json post /memories/sharing/decide","href":"/api-reference/memories/decide-sharing-request"},{"title":"List Activity History","deprecated":null,"version":null,"openapi":"https://api.hyperspell.com/openapi.json get /memories/activity/history","href":"/api-reference/memories/list-activity-history"},{"title":"Get Activity Checkpoint","deprecated":null,"version":null,"openapi":"https://api.hyperspell.com/openapi.json get /memories/activity/checkpoints/{checkpoint_id}","href":"/api-reference/memories/get-activity-checkpoint"},{"title":"Request Activity Checkpoint Sharing","deprecated":null,"version":null,"openapi":"https://api.hyperspell.com/openapi.json post /memories/activity/checkpoints/{checkpoint_id}/sharing","href":"/api-reference/memories/request-activity-checkpoint-sharing"},{"title":"Query memories","deprecated":null,"version":null,"openapi":"https://api.hyperspell.com/openapi.json post /memories/query","href":"/api-reference/memories/query-memories"},{"title":"List memories","deprecated":null,"version":null,"openapi":"https://api.hyperspell.com/openapi.json get /memories/list","href":"/api-reference/memories/list-memories"},{"title":"Show indexing progress","deprecated":null,"version":null,"openapi":"https://api.hyperspell.com/openapi.json get /memories/status","href":"/api-reference/memories/show-indexing-progress"},{"title":"Get memory","deprecated":null,"version":null,"openapi":"https://api.hyperspell.com/openapi.json get /memories/get/{source}/{resource_id}","href":"/api-reference/memories/get-memory"},{"title":"Delete memory","deprecated":null,"version":null,"openapi":"https://api.hyperspell.com/openapi.json delete /memories/delete/{source}/{resource_id}","href":"/api-reference/memories/delete-memory"},{"title":"Approve a pending resource","deprecated":null,"version":null,"openapi":"https://api.hyperspell.com/openapi.json post /memories/approve/{source}/{resource_id}","href":"/api-reference/memories/approve-a-pending-resource"},{"title":"Reject a pending resource","deprecated":null,"version":null,"openapi":"https://api.hyperspell.com/openapi.json post /memories/reject/{source}/{resource_id}","href":"/api-reference/memories/reject-a-pending-resource"}]},{"group":"Messages","pages":[{"title":"Ingest messages","deprecated":null,"version":null,"openapi":"https://api.hyperspell.com/openapi.json post /messages","href":"/api-reference/messages/ingest-messages"}]},{"group":"Traces","pages":[{"title":"Add an agent trace","deprecated":null,"version":null,"openapi":"https://api.hyperspell.com/openapi.json post /trace/add","href":"/api-reference/traces/add-an-agent-trace"}]},{"group":"Live","pages":[{"title":"List live-queryable sources","deprecated":null,"version":null,"openapi":"https://api.hyperspell.com/openapi.json get /live/sources","href":"/api-reference/live/list-live-queryable-sources"},{"title":"List resources from a source live","deprecated":null,"version":null,"openapi":"https://api.hyperspell.com/openapi.json get /live/{source}/resources","href":"/api-reference/live/list-resources-from-a-source-live"},{"title":"Fetch one resource live","deprecated":null,"version":null,"openapi":"https://api.hyperspell.com/openapi.json get /live/{source}/resources/{resource_id}","href":"/api-reference/live/fetch-one-resource-live"},{"title":"Search a source live","deprecated":null,"version":null,"openapi":"https://api.hyperspell.com/openapi.json post /live/{source}/search","href":"/api-reference/live/search-a-source-live"}]},{"group":"Evaluation","pages":[{"title":"Get query result","deprecated":null,"version":null,"openapi":"https://api.hyperspell.com/openapi.json get /evaluate/query/{query_id}","href":"/api-reference/evaluation/get-query-result"},{"title":"Score a query result","deprecated":null,"version":null,"openapi":"https://api.hyperspell.com/openapi.json post /evaluate/query/{query_id}","href":"/api-reference/evaluation/score-a-query-result"},{"title":"Score a highlight","deprecated":null,"version":null,"openapi":"https://api.hyperspell.com/openapi.json post /evaluate/highlight/{highlight_id}","href":"/api-reference/evaluation/score-a-highlight"},{"title":"List prior queries","deprecated":null,"version":null,"openapi":"https://api.hyperspell.com/openapi.json get /evaluate/queries","href":"/api-reference/evaluation/list-prior-queries"}]},{"group":"Authentication","pages":[{"title":"Get a user token","deprecated":null,"version":null,"openapi":"https://api.hyperspell.com/openapi.json post /auth/user_token","href":"/api-reference/authentication/get-a-user-token"},{"title":"Get Basic user data","deprecated":null,"version":null,"openapi":"https://api.hyperspell.com/openapi.json get /auth/me","href":"/api-reference/authentication/get-basic-user-data"},{"title":"Delete user","deprecated":null,"version":null,"openapi":"https://api.hyperspell.com/openapi.json delete /auth/delete","href":"/api-reference/authentication/delete-user"}]},{"group":"Users","pages":[{"title":"List users","deprecated":null,"version":null,"openapi":"https://api.hyperspell.com/openapi.json get /users","href":"/api-reference/users/list-users"}]},{"group":"Device Auth","pages":[{"title":"Device Login","deprecated":null,"version":null,"openapi":"https://api.hyperspell.com/openapi.json post /auth/device-login","href":"/api-reference/device-auth/device-login"},{"title":"Device Poll","deprecated":null,"version":null,"openapi":"https://api.hyperspell.com/openapi.json post /auth/device-poll","href":"/api-reference/device-auth/device-poll"}]},{"group":"Integrations","pages":[{"title":"List all integrations","deprecated":null,"version":null,"openapi":"https://api.hyperspell.com/openapi.json get /integrations/list","href":"/api-reference/integrations/list-all-integrations"},{"title":"Link an integration","deprecated":null,"version":null,"openapi":"https://api.hyperspell.com/openapi.json get /integrations/{integration_id}/connect","href":"/api-reference/integrations/link-an-integration"},{"title":"Update connection permissions","deprecated":null,"version":null,"openapi":"https://api.hyperspell.com/openapi.json post /integrations/{integration_id}/connections/{connection_id}/permissions","href":"/api-reference/integrations/update-connection-permissions"},{"title":"List available channels","deprecated":null,"version":null,"openapi":"https://api.hyperspell.com/openapi.json get /integrations/{integration_id}/channels","href":"/api-reference/integrations/list-available-channels"},{"title":"Update per-connection user options (e.g., channel allowlist)","deprecated":null,"version":null,"openapi":"https://api.hyperspell.com/openapi.json patch /integrations/{integration_id}/connections/{connection_id}","href":"/api-reference/integrations/update-per-connection-user-options-eg-channel-allowlist"},{"title":"List indexed websites","deprecated":null,"version":null,"openapi":"https://api.hyperspell.com/openapi.json get /integrations/web_crawler/websites","href":"/api-reference/integrations/list-indexed-websites"},{"title":"List indexed website pages","deprecated":null,"version":null,"openapi":"https://api.hyperspell.com/openapi.json get /integrations/web_crawler/websites/pages","href":"/api-reference/integrations/list-indexed-website-pages"},{"title":"Read a website refresh schedule","deprecated":null,"version":null,"openapi":"https://api.hyperspell.com/openapi.json get /integrations/web_crawler/schedule","href":"/api-reference/integrations/read-a-website-refresh-schedule"},{"title":"Set a website refresh schedule","deprecated":null,"version":null,"openapi":"https://api.hyperspell.com/openapi.json put /integrations/web_crawler/schedule","href":"/api-reference/integrations/set-a-website-refresh-schedule"},{"title":"Refresh an indexed website","deprecated":null,"version":null,"openapi":"https://api.hyperspell.com/openapi.json post /integrations/web_crawler/crawl/refresh","href":"/api-reference/integrations/refresh-an-indexed-website"},{"title":"Index a public website","deprecated":null,"version":null,"openapi":"https://api.hyperspell.com/openapi.json post /integrations/web_crawler/crawl","href":"/api-reference/integrations/index-a-public-website"},{"title":"Read the latest website crawl progress","deprecated":null,"version":null,"openapi":"https://api.hyperspell.com/openapi.json get /integrations/web_crawler/crawl/status","href":"/api-reference/integrations/read-the-latest-website-crawl-progress"},{"title":"Cancel a website crawl","deprecated":null,"version":null,"openapi":"https://api.hyperspell.com/openapi.json post /integrations/web_crawler/crawl/cancel","href":"/api-reference/integrations/cancel-a-website-crawl"},{"title":"Remove an indexed website","deprecated":null,"version":null,"openapi":"https://api.hyperspell.com/openapi.json post /integrations/web_crawler/websites/remove","href":"/api-reference/integrations/remove-an-indexed-website"},{"title":"Crawl a website for indexed search","deprecated":null,"version":null,"openapi":"https://api.hyperspell.com/openapi.json get /integrations/web_crawler/index","href":"/api-reference/integrations/crawl-a-website-for-indexed-search"},{"title":"Check crawl status for a URL","deprecated":null,"version":null,"openapi":"https://api.hyperspell.com/openapi.json get /integrations/web_crawler/status","href":"/api-reference/integrations/check-crawl-status-for-a-url"}]},{"group":"Connections","pages":[{"title":"List connections","deprecated":null,"version":null,"openapi":"https://api.hyperspell.com/openapi.json get /connections/list","href":"/api-reference/connections/list-connections"},{"title":"Revoke connection","deprecated":null,"version":null,"openapi":"https://api.hyperspell.com/openapi.json delete /connections/{connection_id}/revoke","href":"/api-reference/connections/revoke-connection"}]},{"group":"Folder Policies","pages":[{"title":"List folder policies for a connection","deprecated":null,"version":null,"openapi":"https://api.hyperspell.com/openapi.json get /connections/{connection_id}/folder-policies","href":"/api-reference/folder-policies/list-folder-policies-for-a-connection"},{"title":"Batch-apply folder policies for a connection","deprecated":null,"version":null,"openapi":"https://api.hyperspell.com/openapi.json put /connections/{connection_id}/folder-policies","href":"/api-reference/folder-policies/batch-apply-folder-policies-for-a-connection"},{"title":"Create a folder policy for a connection","deprecated":null,"version":null,"openapi":"https://api.hyperspell.com/openapi.json post /connections/{connection_id}/folder-policies","href":"/api-reference/folder-policies/create-a-folder-policy-for-a-connection"},{"title":"Delete a folder policy","deprecated":null,"version":null,"openapi":"https://api.hyperspell.com/openapi.json delete /connections/{connection_id}/folder-policies/{policy_id}","href":"/api-reference/folder-policies/delete-a-folder-policy"}]},{"group":"Folders","pages":[{"title":"List folders for a connection","deprecated":null,"version":null,"openapi":"https://api.hyperspell.com/openapi.json get /connections/{connection_id}/folders","href":"/api-reference/folders/list-folders-for-a-connection"}]},{"group":"OAuth","pages":[{"title":"Issue a one-time exchange code for the current user JWT","deprecated":null,"version":null,"openapi":"https://api.hyperspell.com/openapi.json post /oauth/token-exchange/issue","href":"/api-reference/oauth/issue-a-one-time-exchange-code-for-the-current-user-jwt"}]},{"group":"Vault","pages":[{"title":"List vaults","deprecated":null,"version":null,"openapi":"https://api.hyperspell.com/openapi.json get /vault/list","href":"/api-reference/vault/list-vaults"}]},{"group":"Emotional State","pages":[{"title":"Get latest emotional state","deprecated":null,"version":null,"openapi":"https://api.hyperspell.com/openapi.json get /emotional-state","href":"/api-reference/emotional-state/get-latest-emotional-state"},{"title":"Store emotional state","deprecated":null,"version":null,"openapi":"https://api.hyperspell.com/openapi.json post /emotional-state","href":"/api-reference/emotional-state/store-emotional-state"},{"title":"Delete emotional state","deprecated":null,"version":null,"openapi":"https://api.hyperspell.com/openapi.json delete /emotional-state","href":"/api-reference/emotional-state/delete-emotional-state"},{"title":"Get recent emotional states","deprecated":null,"version":null,"openapi":"https://api.hyperspell.com/openapi.json get /emotional-state/recent","href":"/api-reference/emotional-state/get-recent-emotional-states"}]},{"group":"entities","pages":[{"title":"List Entities","deprecated":null,"version":null,"openapi":"https://api.hyperspell.com/openapi.json get /entities","href":"/api-reference/entities/list-entities"},{"title":"Get Entity","deprecated":null,"version":null,"openapi":"https://api.hyperspell.com/openapi.json get /entities/{entity_id}","href":"/api-reference/entities/get-entity"},{"title":"Search Entities","deprecated":null,"version":null,"openapi":"https://api.hyperspell.com/openapi.json post /entities/search","href":"/api-reference/entities/search-entities"}]},{"group":"Actions","pages":[{"title":"Send a message","deprecated":null,"version":null,"openapi":"https://api.hyperspell.com/openapi.json post /actions/send_message","href":"/api-reference/actions/send-a-message"},{"title":"Add a reaction","deprecated":null,"version":null,"openapi":"https://api.hyperspell.com/openapi.json post /actions/add_reaction","href":"/api-reference/actions/add-a-reaction"}]}]}]},"title":"Update a Vault memory only at the expected revision - Hyperspell","buildId":"dpl_EnxDqhjaNc9a8MVa833TGULPd9uJ","deploymentId":"dpl_EnxDqhjaNc9a8MVa833TGULPd9uJ","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-26-lDe7V.js","utils-CWQmgYtH.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-4-Aw3rSD.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-C2zjXYA5.js","snippetPresets-DFmpFA7C.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-FJpQavWq.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-D_GvPF7k.js","shallow-Bs2ZB0NO.js","getApiPlaygroundDisplay-DCcqJJk-.js","CodeSnippet-DzDxawVe.js","CodeSnippets-aUr7fU-7.js","Page-CT9uE8Ip.js","getPastedJson-Y1fKsj_I.js","icon-DI4zTsDr.js","MethodPill-C0nDlmSQ.js","DuplicateIcon-NUXbx2nQ.js","createIcon-BdTHrPAi.js","DynamicMarkdown-CtpgKJwj.js","SectionHeading-B3x35tOt.js","axios-vUo_bRtp.js","Markdown-3OmurJMP.js","clsx-DMKzROTp.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-1ms6tsT-.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-Ke9xIMFx.js"]}