Same rule as creating: the key edits as its creator. On Growth and Custom a member needs editor
on the document; on Free and Starter permissions are not enforced, so every member’s key may edit any
document.Changing folder moves the document. On Growth and Custom a member also needs editor on the
destination, the folder, or the root when folder is null. A move resets the document’s manual
sort position.Sending content re-parses the document’s mentions and reindexes it for semantic search. A document
its creator cannot see answers 404, not 403: an id you cannot read is indistinguishable from one
that does not exist.
PUT /api/v1/semantic-layer/documents/{id}/ applies the same rules as PATCH, with one difference:
name is required in the body. content and folder are optional, and an omitted field keeps its
current value.
Folder to place the document in. Omit or send null to put it at the root.
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Nekt","colors":{"primary":"#097860","light":"#FAF9F7","dark":"#222427"},"logo":{"light":"https://mintcdn.com/nekt/fAFtC-RZLnUKCv7c/assets/logo/light.svg?fit=max\u0026auto=format\u0026n=fAFtC-RZLnUKCv7c\u0026q=85\u0026s=cba8701f886607d770a7510c525d81b7","dark":"https://mintcdn.com/nekt/fAFtC-RZLnUKCv7c/assets/logo/dark.svg?fit=max\u0026auto=format\u0026n=fAFtC-RZLnUKCv7c\u0026q=85\u0026s=49a92921377751229bc12ae4b61b1c6a"},"favicon":"https://mintcdn.com/nekt/DJnjRR_rS7CNJfYV/favicon.png?fit=max\u0026auto=format\u0026n=DJnjRR_rS7CNJfYV\u0026q=85\u0026s=4df461957abd65599739f5ec1c8c84cf","api":{"openapi":{"source":"https://api.nekt.ai/api/schema/"},"mdx":{"auth":{"method":"key","name":"x-api-key"},"server":"https://api.nekt.ai/"}},"background":{"color":{"light":"#FAF9F7","dark":"#222427"}},"navbar":{"primary":{"type":"button","label":"Platform","href":"https://app.nekt.ai"}},"footer":{"socials":{"website":"https://nekt.com","linkedin":"https://www.linkedin.com/company/nektai","youtube":"https://www.youtube.com/@nektdata","github":"https://github.com/nektcom"}},"integrations":{"ga4":{"measurementId":"G-8YEZ2TKV3C"}},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"nekt","hasAudioNarration":false,"actualSubdomain":"nekt","customDomains":["docs.nekt.com"],"gitSource":{"type":"github","owner":"nektcom","repo":"nekt-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae010da9fecc3e97fb135b6","collectionId":"937d13bc-1c7d-48d5-a8cc-852b8fc89224","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae010da9fecc3e97fb135b6"},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ae010da9fecc3e97fb135b6","clientVersion":"0.0.3971","searchFilterCounts":[{"language":"default","tag":"Documentation","count":499},{"language":"default","tag":"Connectors","count":436},{"language":"default","tag":"Context","count":394},{"language":"default","tag":"Sources","count":386},{"language":"default","tag":"Platform API","count":137},{"language":"default","tag":"Activate","count":76},{"language":"default","tag":"Destinations","count":59},{"language":"default","tag":"Permissions","count":34},{"language":"default","tag":"Catalog","count":24},{"language":"default","tag":"Build with AI","count":17}]},"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":"editor-v7-file-tree","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":"pause-universal-search-reconcile","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":"per-site-search-delta","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":"editor-private-page-search","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":"editor-nav-generations","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":"editor-agent-model-picker","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}],"isAtlas":false,"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"#content-area a{text-underline-offset:2px;transition:opacity .15s ease}#content-area a:hover{opacity:.7}#content-area a.card{text-decoration:none}a[href*=\"utm_campaign=poweredBy\"]{display:none}"}],"page":{"pagePath":"platform-api/semantic-layer/update","slug":"/platform-api/semantic-layer/update","pageMetadata":{"title":"Update Semantic Layer Document","sidebarTitle":"Update document","description":"Edit or replace a document's name, content, or folder with an API key.","openapi":"PATCH /api/v1/semantic-layer/documents/{id}/","href":"/platform-api/semantic-layer/update"},"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: \"Edit or replace a document’s name, content, or folder with an API key.\"\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`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Note}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Same rule as creating: the key edits as its creator. On Growth and Custom a member needs `,_jsx(_components.strong,{children:`editor`}),`\non the document; on Free and Starter permissions are not enforced, so every member’s key may edit any\ndocument.`]}),`\n`,_jsxs(_components.p,{children:[`Changing `,_jsx(_components.code,{children:`folder`}),` moves the document. On Growth and Custom a member also needs `,_jsx(_components.strong,{children:`editor`}),` on the\ndestination, the folder, or the root when `,_jsx(_components.code,{children:`folder`}),` is `,_jsx(_components.code,{children:`null`}),`. A move resets the document’s manual\nsort position.`]}),`\n`,_jsxs(_components.p,{children:[`Sending `,_jsx(_components.code,{children:`content`}),` re-parses the document’s mentions and reindexes it for semantic search. A document\nits creator cannot see answers `,_jsx(_components.code,{children:`404`}),`, not `,_jsx(_components.code,{children:`403`}),`: an id you cannot read is indistinguishable from one\nthat does not exist.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,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:`5`,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:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` PATCH`}),_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:` --url`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.nekt.ai/api/v1/semantic-layer/documents/DOCUMENT_ID/\"`}),_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:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"x-api-key: YOUR_API_KEY\"`}),_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:` --header`}),_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:` --data`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{\"content\": \"MRR excludes trials AND paused subscriptions.\"}'`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`replace-a-document`,children:`Replace a document`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`PUT /api/v1/semantic-layer/documents/{id}/`}),` applies the same rules as `,_jsx(_components.code,{children:`PATCH`}),`, with one difference:\n`,_jsx(_components.code,{children:`name`}),` is required in the body. `,_jsx(_components.code,{children:`content`}),` and `,_jsx(_components.code,{children:`folder`}),` are optional, and an omitted field keeps its\ncurrent value.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,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:`5`,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:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` PUT`}),_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:` --url`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.nekt.ai/api/v1/semantic-layer/documents/DOCUMENT_ID/\"`}),_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:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"x-api-key: YOUR_API_KEY\"`}),_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:` --header`}),_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:` --data`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{\"name\": \"MRR definition\", \"content\": \"MRR excludes trials and paused subscriptions.\"}'`})]}),`\n`]})})}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`DELETE`}),` is not available to an API key, whatever its creator’s role, and returns `,_jsx(_components.code,{children:`403`}),`. Remove\ndocuments from the app.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`related`,children:`Related`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/platform-api/semantic-layer/create`,children:`Create a document`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/platform-api/semantic-layer/document`,children:`Document object`}),`: the fields and which of them are read-only.`]}),`\n`]})]})}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 Semantic Layer Document","sidebarTitle":"Update document","description":"Edit or replace a document's name, content, or folder with an API key.","openapi":"PATCH /api/v1/semantic-layer/documents/{id}/","href":"/platform-api/semantic-layer/update"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Replace a document","slug":"replace-a-document","depth":2,"children":[]},{"title":"Related","slug":"related","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"v1_semantic_layer_documents_partial_update","description":"Edit or replace a document's name, content, or folder with an API key.","summary":"Update a Semantic Layer document","parameters":["12d7ac3e-808a-4cfa-8267-5f8db20480e7"],"tags":["v1"],"requestBody":"14c145ba-b0ac-4011-b6af-022fbd2ca097","security":["e5aa5a96-c430-46f2-92d9-cacf795c237b"],"responses":{"200":"f5ca040a-5bdb-4079-b2ea-aa06363b7790"},"method":"patch","type":"path","servers":["b879420b-1df7-445c-9056-7f9b48a392a0"],"path":"/api/v1/semantic-layer/documents/{id}/","baseUrlOptions":["https://api.nekt.ai"],"title":"Update a Semantic Layer document","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"12d7ac3e-808a-4cfa-8267-5f8db20480e7":{"in":"path","name":"id","schema":{"type":"string","isRequired":true,"uniqueKey":"","typeLabel":"string"},"required":true}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","maxLength":255,"uniqueKey":"name","typeLabel":"string"},"content":{"type":"string","uniqueKey":"content","typeLabel":"string"},"folder":{"oneOf":[{"type":"string","format":"uuid","description":"Folder to place the document in. Omit or send null to put it at the root.","uniqueKey":"folder.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","description":"Folder to place the document in. Omit or send null to put it at the root.","uniqueKey":"folder.oneOf.1","typeLabel":"null"}],"uniqueKey":"folder","typeLabel":"string\u003cuuid> | null"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"name":"\u003cstring>","content":"\u003cstring>","folder":"3c90c3cc-0d44-4b50-8888-8dd25736052a"}}},"exampleType":"generated"},"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"name":{"type":"string","maxLength":255,"uniqueKey":"name","typeLabel":"string"},"content":{"type":"string","uniqueKey":"content","typeLabel":"string"},"folder":{"oneOf":[{"type":"string","format":"uuid","description":"Folder to place the document in. Omit or send null to put it at the root.","uniqueKey":"folder.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","description":"Folder to place the document in. Omit or send null to put it at the root.","uniqueKey":"folder.oneOf.1","typeLabel":"null"}],"uniqueKey":"folder","typeLabel":"string\u003cuuid> | null"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"name":"\u003cstring>","content":"\u003cstring>","folder":"3c90c3cc-0d44-4b50-8888-8dd25736052a"}}},"exampleType":"generated"},"multipart/form-data":{"schema":{"type":"object","properties":{"name":{"type":"string","maxLength":255,"uniqueKey":"name","typeLabel":"string"},"content":{"type":"string","uniqueKey":"content","typeLabel":"string"},"folder":{"oneOf":[{"type":"string","format":"uuid","description":"Folder to place the document in. Omit or send null to put it at the root.","uniqueKey":"folder.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","description":"Folder to place the document in. Omit or send null to put it at the root.","uniqueKey":"folder.oneOf.1","typeLabel":"null"}],"uniqueKey":"folder","typeLabel":"string\u003cuuid> | null"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"name":"\u003cstring>","content":"\u003cstring>","folder":"3c90c3cc-0d44-4b50-8888-8dd25736052a"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"f5ca040a-5bdb-4079-b2ea-aa06363b7790":{"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true,"isRequired":true,"uniqueKey":"id","typeLabel":"string\u003cuuid>"},"name":{"type":"string","maxLength":255,"isRequired":true,"uniqueKey":"name","typeLabel":"string"},"mentions":{"oneOf":[{"readOnly":true,"isRequired":true}],"isRequired":true,"uniqueKey":"mentions","typeLabel":"any"},"order":{"oneOf":[{"type":"integer","readOnly":true,"description":"Manual position among its siblings; NULL falls back to created_at ordering.","isRequired":true,"uniqueKey":"order.oneOf.0","typeLabel":"integer"},{"type":"null","readOnly":true,"description":"Manual position among its siblings; NULL falls back to created_at ordering.","isRequired":true,"uniqueKey":"order.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order","typeLabel":"integer | null"},"created_by":{"type":"integer","readOnly":true,"description":"Created by (Expandable)","isRequired":true,"uniqueKey":"created_by","typeLabel":"integer"},"created_at":{"type":"string","format":"date-time","readOnly":true,"isRequired":true,"uniqueKey":"created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","readOnly":true,"isRequired":true,"uniqueKey":"updated_at","typeLabel":"string\u003cdate-time>"},"content":{"type":"string","uniqueKey":"content","typeLabel":"string"},"folder":{"oneOf":[{"type":"string","format":"uuid","description":"Folder to place the document in. Omit or send null to put it at the root.","uniqueKey":"folder.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","description":"Folder to place the document in. Omit or send null to put it at the root.","uniqueKey":"folder.oneOf.1","typeLabel":"null"}],"uniqueKey":"folder","typeLabel":"string\u003cuuid> | null"}},"required":["created_at","created_by","id","mentions","name","order","updated_at"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","name":"\u003cstring>","mentions":"\u003cunknown>","order":123,"created_by":123,"created_at":"2023-11-07T05:31:56Z","updated_at":"2023-11-07T05:31:56Z","content":"\u003cstring>","folder":"3c90c3cc-0d44-4b50-8888-8dd25736052a"}}},"exampleType":"generated"}},"description":"","exampleType":"generated"}},"security":{"e5aa5a96-c430-46f2-92d9-cacf795c237b":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key","description":"API Key authentication. Format: 'x-api-key: api_key'","scopes":[],"schemeName":"ApiKeyAuth"}}},"servers":{"b879420b-1df7-445c-9056-7f9b48a392a0":{"url":"https://api.nekt.ai"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"x-api-key","description":"API Key authentication. Format: 'x-api-key: api_key'","scopes":[],"schemeName":"ApiKeyAuth"},"schema":{"title":"x-api-key","type":"string","description":"API Key authentication. Format: 'x-api-key: api_key'","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKeyAuth","name":"x-api-key"}],"title":"ApiKeyAuth"}]},"originalFileLocation":"https://api.nekt.ai/api/schema/"},"subdomain":"nekt","siteName":"Nekt","title":"Update Semantic Layer Document - Nekt","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-09T11:32:14.121Z","originalFileLocation":"platform-api/semantic-layer/update.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Edit or replace a document\u0026#x27;s name, content, or folder with an API key.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Nekt\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/nekt/vtuzSdYqWUIGYPQe/_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/nekt/vtuzSdYqWUIGYPQe/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/nekt/vtuzSdYqWUIGYPQe/_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/nekt/vtuzSdYqWUIGYPQe/_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/nekt/vtuzSdYqWUIGYPQe/_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/nekt/vtuzSdYqWUIGYPQe/_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/nekt/vtuzSdYqWUIGYPQe/_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/nekt/vtuzSdYqWUIGYPQe/_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/nekt/vtuzSdYqWUIGYPQe/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Update Semantic Layer Document - Nekt\">\u003cmeta data-mint-head property=\"og:description\" content=\"Edit or replace a document\u0026#x27;s name, content, or folder with an API key.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Nekt\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.nekt.com/platform-api/semantic-layer/update\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://nekt.mintlify.app/_mintlify/api/og/v2?division=Semantic+Layer\u0026amp;title=Update+Semantic+Layer+Document\u0026amp;description=Edit+or+replace+a+document%27s+name%2C+content%2C+or+folder+with+an+API+key.\u0026amp;theme=416ae616f46b2404cfa6736a\u0026amp;signature=e630950fc467e3ce8e88151493f4368450f94c26ded49dd8d316491897019a2b\">\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 Semantic Layer Document - Nekt\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Edit or replace a document\u0026#x27;s name, content, or folder with an API key.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://nekt.mintlify.app/_mintlify/api/og/v2?division=Semantic+Layer\u0026amp;title=Update+Semantic+Layer+Document\u0026amp;description=Edit+or+replace+a+document%27s+name%2C+content%2C+or+folder+with+an+API+key.\u0026amp;theme=416ae616f46b2404cfa6736a\u0026amp;signature=e630950fc467e3ce8e88151493f4368450f94c26ded49dd8d316491897019a2b\">\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/nekt/vtuzSdYqWUIGYPQe/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Nekt\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#097860\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.nekt.com/platform-api/semantic-layer/update\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/platform-api/semantic-layer/update.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.nekt.com/#organization\",\"name\":\"Nekt\",\"url\":\"https://docs.nekt.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/nekt/fAFtC-RZLnUKCv7c/assets/logo/light.svg?fit=max\u0026auto=format\u0026n=fAFtC-RZLnUKCv7c\u0026q=85\u0026s=cba8701f886607d770a7510c525d81b7\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.nekt.com#website\",\"name\":\"Nekt\",\"url\":\"https://docs.nekt.com\",\"publisher\":{\"@id\":\"https://docs.nekt.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.nekt.com/platform-api/semantic-layer/update#webpage\",\"url\":\"https://docs.nekt.com/platform-api/semantic-layer/update\",\"name\":\"Update Semantic Layer Document\",\"description\":\"Edit or replace a document's name, content, or folder with an API key.\",\"dateModified\":\"2026-10-09T11:32:14.121Z\",\"isPartOf\":{\"@id\":\"https://docs.nekt.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.nekt.com/platform-api/semantic-layer/update#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.nekt.com/platform-api/semantic-layer/update#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Semantic Layer\",\"item\":\"https://docs.nekt.com/platform-api/semantic-layer/document\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Update Semantic Layer Document\",\"item\":\"https://docs.nekt.com/platform-api/semantic-layer/update\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.nekt.com/platform-api/semantic-layer/update#apireference\",\"headline\":\"Update Semantic Layer Document\",\"name\":\"Update Semantic Layer Document\",\"description\":\"Edit or replace a document's name, content, or folder with an API key.\",\"url\":\"https://docs.nekt.com/platform-api/semantic-layer/update\",\"mainEntityOfPage\":{\"@id\":\"https://docs.nekt.com/platform-api/semantic-layer/update#webpage\"},\"dateModified\":\"2026-10-09T11:32:14.121Z\",\"publisher\":{\"@id\":\"https://docs.nekt.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.nekt.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Nekt\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Nekt","nav":{"global":null,"anchors":[{"anchor":"Documentation","icon":"book-open","pages":[{"title":"Documentation","href":"/what-is-nekt"}]},{"anchor":"Platform API","icon":"square-terminal","groups":[{"group":"Platform API","pages":[{"title":"Introduction","sidebarTitle":"Introduction","href":"/platform-api/introduction"},{"title":"Expanding Responses","sidebarTitle":"Expanding Responses","href":"/platform-api/expanding-responses"}]},{"group":"Activities","pages":[{"title":"Activity object","href":"/platform-api/activities/activity"},{"title":"List Activities","openapi":"GET /api/v1/activities/","href":"/platform-api/activities/list"}]},{"group":"Connectors","pages":[{"title":"Connector object","href":"/platform-api/connectors/connector"},{"title":"Connector version object","href":"/platform-api/connectors/version"},{"title":"List Source Connectors","openapi":"GET /api/v1/sources/connectors/","href":"/platform-api/connectors/source"},{"title":"List Destination Connectors","openapi":"GET /api/v1/destinations/connectors/","href":"/platform-api/connectors/destination"},{"title":"List MCP Connectors","openapi":"GET /api/v1/live-connectors/","href":"/platform-api/connectors/mcp"}]},{"group":"Sources","pages":[{"title":"Source object","href":"/platform-api/sources/source"},{"title":"List Sources","openapi":"GET /api/v1/sources/","href":"/platform-api/sources/list"},{"title":"Get Source","openapi":"GET /api/v1/sources/{slug}/","href":"/platform-api/sources/details"},{"title":"Create Source","sidebarTitle":"Create Source","openapi":"POST /api/v1/sources/","href":"/platform-api/sources/create"},{"title":"Configure a source with a setup link","sidebarTitle":"Setup link \u0026 callback","href":"/platform-api/sources/setup-link"},{"title":"Create Setup Token","openapi":"POST /api/v1/sources/{source_slug}/setup-tokens/","href":"/platform-api/sources/setup-tokens/create"},{"title":"List Setup Tokens","openapi":"GET /api/v1/sources/{source_slug}/setup-tokens/","href":"/platform-api/sources/setup-tokens/list"},{"title":"Delete Setup Token","openapi":"DELETE /api/v1/sources/{source_slug}/setup-tokens/{id}/","href":"/platform-api/sources/setup-tokens/delete"},{"title":"Validate Connector","openapi":"POST /api/v1/sources/{slug}/revalidate/","href":"/platform-api/sources/revalidate"},{"title":"Update Source","openapi":"PATCH /api/v1/sources/{slug}/","href":"/platform-api/sources/update"},{"title":"Delete Source","sidebarTitle":"Delete Source","openapi":"DELETE /api/v1/sources/{slug}/","href":"/platform-api/sources/delete"},{"title":"Bulk Delete Sources","sidebarTitle":"Bulk Delete Sources","openapi":"POST /api/v1/sources/bulk-delete/","href":"/platform-api/sources/bulk-delete"},{"title":"Trigger Source","openapi":"POST /api/v1/sources/{slug}/trigger/","href":"/platform-api/sources/trigger"},{"title":"List Source Triggers","openapi":"GET /api/v1/sources/{source_slug}/triggers/","href":"/platform-api/sources/triggers/list"},{"title":"Get Source Trigger","openapi":"GET /api/v1/sources/{source_slug}/triggers/{id}/","href":"/platform-api/sources/triggers/details"}]},{"group":"MCP connections","pages":[{"title":"MCP Connection object","href":"/platform-api/mcp-connections/mcp-connection"},{"title":"List MCP Connections","openapi":"GET /api/v1/live-connections/","href":"/platform-api/mcp-connections/list"},{"title":"MCP Connection Details","openapi":"GET /api/v1/live-connections/{slug}/","href":"/platform-api/mcp-connections/details"},{"title":"Create MCP Connection","openapi":"POST /api/v1/live-connections/","href":"/platform-api/mcp-connections/create"},{"title":"Connect an MCP with a setup link","sidebarTitle":"Setup link \u0026 callback","href":"/platform-api/mcp-connections/setup-link"},{"title":"Create Setup Token","openapi":"POST /api/v1/live-connections/{live_connection_slug}/setup-tokens/","href":"/platform-api/mcp-connections/setup-tokens/create"},{"title":"List Setup Tokens","openapi":"GET /api/v1/live-connections/{live_connection_slug}/setup-tokens/","href":"/platform-api/mcp-connections/setup-tokens/list"},{"title":"Delete Setup Token","openapi":"DELETE /api/v1/live-connections/{live_connection_slug}/setup-tokens/{id}/","href":"/platform-api/mcp-connections/setup-tokens/delete"},{"title":"List Connection Tools","openapi":"GET /api/v1/live-connections/{slug}/tools/","href":"/platform-api/mcp-connections/tools"},{"title":"Update Connection Tools","openapi":"PATCH /api/v1/live-connections/{slug}/tools/","href":"/platform-api/mcp-connections/update-tools"},{"title":"Update MCP Connection","openapi":"PATCH /api/v1/live-connections/{slug}/","href":"/platform-api/mcp-connections/update"},{"title":"Archive MCP Connection","openapi":"POST /api/v1/live-connections/{slug}/archive/","href":"/platform-api/mcp-connections/archive"},{"title":"Unarchive MCP Connection","openapi":"POST /api/v1/live-connections/{slug}/unarchive/","href":"/platform-api/mcp-connections/unarchive"},{"title":"Delete MCP Connection","openapi":"DELETE /api/v1/live-connections/{slug}/","href":"/platform-api/mcp-connections/delete"}]},{"group":"Connector validations","pages":[{"title":"Get Connector Validation","openapi":"GET /api/v1/connector-validations/{id}/","href":"/platform-api/connector-validations/details"},{"title":"Get Connector Validation Logs","openapi":"GET /api/v1/connector-validations/{id}/logs/","href":"/platform-api/connector-validations/logs"}]},{"group":"Transformations","pages":[{"title":"Transformation object","href":"/platform-api/transformations/transformation"},{"title":"Get Transformations","openapi":"GET /api/v1/transformations/","href":"/platform-api/transformations/list"},{"title":"Get Transformation","openapi":"GET /api/v1/transformations/{slug}/","href":"/platform-api/transformations/details"},{"title":"Update Transformation","openapi":"PATCH /api/v1/transformations/{slug}/","href":"/platform-api/transformations/update"},{"title":"Delete Transformation","sidebarTitle":"Delete Transformation","openapi":"DELETE /api/v1/transformations/{slug}/","href":"/platform-api/transformations/delete"},{"title":"Bulk Delete Transformations","sidebarTitle":"Bulk Delete Transformations","openapi":"POST /api/v1/transformations/bulk-delete/","href":"/platform-api/transformations/bulk-delete"},{"title":"Trigger Transformation","openapi":"POST /api/v1/transformations/{slug}/trigger/","href":"/platform-api/transformations/trigger"}]},{"group":"Destinations","pages":[{"title":"Destination object","href":"/platform-api/destinations/destination"},{"title":"List Destinations","openapi":"GET /api/v1/destinations/","href":"/platform-api/destinations/list"},{"title":"Get Destination","openapi":"GET /api/v1/destinations/{slug}/","href":"/platform-api/destinations/details"},{"title":"Update Destination","openapi":"PATCH /api/v1/destinations/{slug}/","href":"/platform-api/destinations/update"},{"title":"Delete Destination","sidebarTitle":"Delete Destination","openapi":"DELETE /api/v1/destinations/{slug}/","href":"/platform-api/destinations/delete"},{"title":"Bulk Delete Destinations","sidebarTitle":"Bulk Delete Destinations","openapi":"POST /api/v1/destinations/bulk-delete/","href":"/platform-api/destinations/bulk-delete"},{"title":"Trigger Destination","openapi":"POST /api/v1/destinations/{slug}/trigger/","href":"/platform-api/destinations/trigger"},{"title":"List Destination Triggers","openapi":"GET /api/v1/destinations/{destination_slug}/triggers/","href":"/platform-api/destinations/triggers/list"},{"title":"Get Destination Trigger","openapi":"GET /api/v1/destinations/{destination_slug}/triggers/{id}/","href":"/platform-api/destinations/triggers/details"}]},{"group":"Runs","pages":[{"title":"Run object","href":"/platform-api/runs/run"},{"title":"Get Runs","openapi":"GET /api/v1/runs/","href":"/platform-api/runs/list"},{"title":"Get Run","openapi":"GET /api/v1/runs/{id}/","href":"/platform-api/runs/details"},{"title":"Get Run Logs","openapi":"GET /api/v1/runs/{id}/logs/","href":"/platform-api/runs/logs"},{"title":"Cancel Run","openapi":"POST /api/v1/runs/{id}/cancel/","href":"/platform-api/runs/cancel"}]},{"group":"Catalog","pages":[{"title":"Layer object","href":"/platform-api/catalog/layer"},{"title":"List Layers","openapi":"GET /api/v1/layers/","href":"/platform-api/catalog/list-layers"},{"title":"Update Layer","openapi":"PATCH /api/v1/layers/{slug}/","href":"/platform-api/catalog/update-layer"},{"title":"Table object","href":"/platform-api/catalog/table"},{"title":"Update Table","openapi":"PATCH /api/v1/tables/{id}/","href":"/platform-api/catalog/update-table"},{"title":"Update Field","openapi":"PATCH /api/v1/tables/{table_pk}/fields/{name}/","href":"/platform-api/catalog/update-field"},{"title":"Volume object","href":"/platform-api/catalog/volume"},{"title":"Folder object","href":"/platform-api/catalog/folder"}]},{"group":"Semantic Layer","pages":[{"title":"Semantic Layer document object","sidebarTitle":"Document object","href":"/platform-api/semantic-layer/document"},{"title":"List Semantic Layer Documents","sidebarTitle":"List documents","openapi":"GET /api/v1/semantic-layer/documents/","href":"/platform-api/semantic-layer/list"},{"title":"Retrieve Semantic Layer Document","sidebarTitle":"Retrieve document","openapi":"GET /api/v1/semantic-layer/documents/{id}/","href":"/platform-api/semantic-layer/retrieve"},{"title":"Create Semantic Layer Document","sidebarTitle":"Create document","description":"Write a document into the Semantic Layer with an API key.","openapi":"POST /api/v1/semantic-layer/documents/","href":"/platform-api/semantic-layer/create"},{"title":"Update Semantic Layer Document","sidebarTitle":"Update document","openapi":"PATCH /api/v1/semantic-layer/documents/{id}/","href":"/platform-api/semantic-layer/update"}]},{"group":"MCP Tokens","pages":[{"title":"MCP token object","sidebarTitle":"MCP token object","description":null,"href":"/platform-api/mcp-tokens/mcp-token"},{"title":"List MCP Tokens","sidebarTitle":"List tokens","openapi":"GET /api/v1/mcp/tokens/","href":"/platform-api/mcp-tokens/list"},{"title":"Create MCP Token","sidebarTitle":"Create token","openapi":"POST /api/v1/mcp/tokens/","href":"/platform-api/mcp-tokens/create"},{"title":"Update MCP Token","sidebarTitle":"Update token","openapi":"PATCH /api/v1/mcp/tokens/{id}/","href":"/platform-api/mcp-tokens/update"},{"title":"Rotate MCP Token","sidebarTitle":"Rotate token","openapi":"POST /api/v1/mcp/tokens/{id}/rotate-credentials/","href":"/platform-api/mcp-tokens/rotate"}]},{"group":"Users","pages":[{"title":"User object","href":"/platform-api/users/user"}]},{"group":"Invitations","pages":[{"title":"Onboarding flow","sidebarTitle":"Overview","href":"/platform-api/invitations/overview"},{"title":"Invitation object","href":"/platform-api/invitations/invitation"},{"title":"List Invitations","sidebarTitle":"List Invitations","openapi":"GET /api/v1/invitations/","href":"/platform-api/invitations/list"},{"title":"Invite User","sidebarTitle":"Invite User","openapi":"POST /api/v1/invitations/","href":"/platform-api/invitations/invite"},{"title":"Bulk Invite Users","sidebarTitle":"Bulk Invite Users","openapi":"POST /api/v1/invitations/bulk-invite/","href":"/platform-api/invitations/bulk-invite"},{"title":"Revoke an Invitation","sidebarTitle":"Revoke an Invitation","openapi":"DELETE /api/v1/invitations/{token}/","href":"/platform-api/invitations/revoke"}]},{"group":"Permissions","pages":[{"title":"Permissions flow","sidebarTitle":"Overview","href":"/platform-api/permissions/overview"},{"group":"Permission groups","pages":[{"title":"Permission groups","sidebarTitle":"Overview","href":"/platform-api/permission-groups/overview"},{"title":"Permission group object","href":"/platform-api/permission-groups/permission-group"},{"title":"List Permission Groups","sidebarTitle":"List Groups","openapi":"GET /api/v1/organization/permission-groups/","href":"/platform-api/permission-groups/list"},{"title":"Retrieve a Permission Group","sidebarTitle":"Retrieve a Group","openapi":"GET /api/v1/organization/permission-groups/{id}/","href":"/platform-api/permission-groups/details"},{"title":"Create a Permission Group","sidebarTitle":"Create a Group","openapi":"POST /api/v1/organization/permission-groups/","href":"/platform-api/permission-groups/create"},{"title":"Update a Permission Group","sidebarTitle":"Update a Group","openapi":"PATCH /api/v1/organization/permission-groups/{id}/","href":"/platform-api/permission-groups/update"},{"title":"Delete a Permission Group","sidebarTitle":"Delete a Group","openapi":"DELETE /api/v1/organization/permission-groups/{id}/","href":"/platform-api/permission-groups/delete"},{"title":"List Group Members","sidebarTitle":"List Members","openapi":"GET /api/v1/organization/permission-groups/{permission_group_pk}/users/","href":"/platform-api/permission-groups/members"},{"title":"Add Group Members","sidebarTitle":"Add Members","openapi":"POST /api/v1/organization/permission-groups/{permission_group_pk}/users/","href":"/platform-api/permission-groups/add-members"},{"title":"Remove Group Members","sidebarTitle":"Remove Members","openapi":"DELETE /api/v1/organization/permission-groups/{permission_group_pk}/users/","href":"/platform-api/permission-groups/remove-members"}]},{"group":"Catalog","pages":[{"title":"Permission object","href":"/platform-api/permissions/catalog/permission"},{"title":"List Permission Recipients","sidebarTitle":"List Recipients","openapi":"GET /api/v1/permission-recipients/","href":"/platform-api/permissions/catalog/recipients"},{"title":"List Permissions","openapi":"GET /api/v1/permissions/","href":"/platform-api/permissions/catalog/list"},{"title":"Retrieve Permission","openapi":"GET /api/v1/permissions/{id}/","href":"/platform-api/permissions/catalog/details"},{"title":"Assign Permissions","sidebarTitle":"Assign Permissions","openapi":"POST /api/v1/permissions/","href":"/platform-api/permissions/catalog/assign"},{"title":"Update Permission","sidebarTitle":"Update Permission","openapi":"PATCH /api/v1/permissions/{id}/","href":"/platform-api/permissions/catalog/update"},{"title":"Revoke Permission","sidebarTitle":"Revoke Permission","openapi":"DELETE /api/v1/permissions/{id}/","href":"/platform-api/permissions/catalog/revoke"}]},{"group":"Secrets \u0026 live connections","pages":[{"title":"Object permission object","href":"/platform-api/permissions/objects/object-permission"},{"title":"List Object Permission Recipients","sidebarTitle":"List Recipients","openapi":"GET /api/v1/organization/object-permission-recipients/","href":"/platform-api/permissions/objects/recipients"},{"title":"List Object Permissions","sidebarTitle":"List Object Permissions","openapi":"GET /api/v1/organization/object-permissions/","href":"/platform-api/permissions/objects/list"},{"title":"Retrieve Object Permission","openapi":"GET /api/v1/organization/object-permissions/{id}/","href":"/platform-api/permissions/objects/details"},{"title":"Assign Object Permissions","sidebarTitle":"Assign Object Permissions","openapi":"POST /api/v1/organization/object-permissions/","href":"/platform-api/permissions/objects/assign"},{"title":"Update Object Permission","sidebarTitle":"Update Object Permission","openapi":"PATCH /api/v1/organization/object-permissions/{id}/","href":"/platform-api/permissions/objects/update"},{"title":"Revoke Object Permission","sidebarTitle":"Revoke Object Permission","openapi":"DELETE /api/v1/organization/object-permissions/{id}/","href":"/platform-api/permissions/objects/revoke"}]},{"group":"Semantic Layer","pages":[{"title":"Semantic Layer permission object","href":"/platform-api/permissions/semantic-layer/semantic-layer-permission"},{"title":"Read the Semantic Layer","sidebarTitle":"Read resources","openapi":"GET /api/v1/semantic-layer/catalog/","href":"/platform-api/permissions/semantic-layer/resources"},{"title":"List Semantic Layer Folders","sidebarTitle":"List Folders","openapi":"GET /api/v1/semantic-layer/folders/","href":"/platform-api/permissions/semantic-layer/list-folders"},{"title":"List Semantic Layer Permission Recipients","sidebarTitle":"List Recipients","openapi":"GET /api/v1/semantic-layer/permission-recipients/","href":"/platform-api/permissions/semantic-layer/recipients"},{"title":"List Semantic Layer Permissions","sidebarTitle":"List Permissions","openapi":"GET /api/v1/semantic-layer/permissions/","href":"/platform-api/permissions/semantic-layer/list"},{"title":"Retrieve Semantic Layer Permission","sidebarTitle":"Retrieve Permission","openapi":"GET /api/v1/semantic-layer/permissions/{id}/","href":"/platform-api/permissions/semantic-layer/details"},{"title":"Assign Semantic Layer Permissions","sidebarTitle":"Assign Permissions","openapi":"POST /api/v1/semantic-layer/permissions/","href":"/platform-api/permissions/semantic-layer/assign"},{"title":"Update Semantic Layer Permission","sidebarTitle":"Update Permission","openapi":"PATCH /api/v1/semantic-layer/permissions/{id}/","href":"/platform-api/permissions/semantic-layer/update"},{"title":"Revoke Semantic Layer Permission","sidebarTitle":"Revoke Permission","openapi":"DELETE /api/v1/semantic-layer/permissions/{id}/","href":"/platform-api/permissions/semantic-layer/revoke"}]}]},{"group":"Visualizations","pages":[{"title":"Visualization object","href":"/platform-api/visualizations/visualization"}]},{"group":"Tags","pages":[{"title":"Tag object","href":"/platform-api/tags/tag"},{"title":"List Tags","openapi":"GET /api/v1/tags/","href":"/platform-api/tags/list"},{"title":"Get Tag","openapi":"GET /api/v1/tags/{id}/","href":"/platform-api/tags/details"},{"title":"Create Tag","openapi":"POST /api/v1/tags/","href":"/platform-api/tags/create"},{"title":"Update Tag","openapi":"PATCH /api/v1/tags/{id}/","href":"/platform-api/tags/update"},{"title":"Attach Tags","sidebarTitle":"Attach Tags","openapi":"POST /api/v1/tags/attach/","href":"/platform-api/tags/attach"},{"title":"Detach Tags","sidebarTitle":"Detach Tags","openapi":"POST /api/v1/tags/detach/","href":"/platform-api/tags/detach"}]},{"group":"API Tokens","pages":[{"title":"API token object","href":"/platform-api/api-token/token"}]},{"group":"Audit Logs","pages":[{"title":"Token access log object","href":"/platform-api/token-access-logs/token-access-log"},{"title":"List Token Access Logs","openapi":"GET /api/v1/token-access-logs/","href":"/platform-api/token-access-logs/list"},{"title":"Get Token Access Log","openapi":"GET /api/v1/token-access-logs/{id}/","href":"/platform-api/token-access-logs/details"},{"title":"Token access log export object","href":"/platform-api/token-access-logs/token-access-log-export"},{"title":"Export Token Access Logs","openapi":"POST /api/v1/token-access-logs/exports/","href":"/platform-api/token-access-logs/export"},{"title":"Get Token Access Log Export","openapi":"GET /api/v1/token-access-logs/exports/{id}/","href":"/platform-api/token-access-logs/export-details"}]}]},{"anchor":"Data API","icon":"square-terminal","pages":[{"title":"Data API","href":"/data-api/introduction"}]},{"anchor":"Build with AI","icon":"robot","pages":[{"title":"Build with AI","href":"/build-with-ai"}]}]},"title":"Update Semantic Layer Document - Nekt","buildId":"dpl_DFJrtvUi8HS5F9nkooKuDJsuD5BM","deploymentId":"dpl_DFJrtvUi8HS5F9nkooKuDJsuD5BM","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-rfhihCWU.js","utils-BmH1XFxk.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-BcNsxPKB.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-BAES3tkd.js","snippetPresets-DCMQBKLP.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-D6l_bzE9.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BOktbnNh.js","shallow-BCs8SgM7.js","getApiPlaygroundDisplay-DEmW5bJB.js","CodeSnippet-CpZOpB9C.js","CodeSnippets-BOBDqibl.js","Page-D5fEM6aW.js","getPastedJson-DH2JBvmr.js","icon-BBJH-kKh.js","MethodPill-D2Sd5NLC.js","DuplicateIcon-CGgfL2qN.js","createIcon-BKudBBzi.js","DynamicMarkdown-85clUA0i.js","SectionHeading-D0JiMgDx.js","axios-vUo_bRtp.js","Markdown-Cfiy0xZO.js","clsx-rL8ZCCw4.js","lib--scc4DXi.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-aeztFa9U.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BywkCr5C.js"]}