Changes the knowledge base’s embedding model or retrieval settings. For setting models before and after content is indexed, see Change Models or Retrieval Settings.
What happens depends on whether models are active yet:
Before the first document is indexed, the settings are stored as pending, and the call answers 200. They are validated and take effect when the first document is indexed. Omitting embedding or retrieval leaves that group at its pending value.
Once models are active, the call returns 202 and the change runs as a migration. An embedding or reasoning model change rebuilds the content it affects, while other retrieval changes take effect without a rebuild. Poll Get Settings Migration with migration.id until it ends, then read the final settings. A change that needs no migration, such as resending the active embedding model, returns 200.
Rules:
Send at least one of embedding or retrieval. Once models are active, send only one of them per call.
retrieval cannot be stored without an enabled rerank model, so send rerank.enabled: true and a rerank.model with it.
retrieval needs an embedding model, sent in the same call or stored earlier. Otherwise the call answers 409.
scoreThreshold.enabled: true requires a scoreThreshold.value.
Every request authenticates with an API key: Authorization: Bearer {API_KEY}. App endpoints take an app API key; knowledge endpoints take a knowledge base API key (Get Started).
Keep keys server-side; never embed them in client code. Requests with a missing or invalid key fail with HTTP 401 (unauthorized).
Knowledge base ID: the last segment of the Service API endpoint shown in the knowledge base's API Access dialog (…/knowledge-fs/spaces/<knowledge base ID>), and the segment after /datasets/new/ in the address bar.
Body
application/json
Get Knowledge Base Settings answers in snake_case and this body is camelCase, so its response cannot be sent back unchanged.
Optional fields marked nullable treat null as omitted.
The normalized request must fit within 65,536 UTF-8 bytes. See Request Size Limits.
The embedding model used to index content. Once a model is active, changing it starts a migration that re-embeds every document.
Find the values with Get Available Models: text-embedding for embedding models, llm for the reasoning model, rerank for rerank models.
pluginId is the plugin's organization/plugin_name, provider its provider name, model the model name.
Get Available Models returns one provider string shaped organization/plugin_name/provider_name, so langgenius/openai/openai splits into pluginIdlanggenius/openai and provideropenai. A bare openai stands for langgenius/openai/openai.
The retrieval settings a query uses: reasoning model, rerank model, score threshold, topK, and the depth to fall back on.
Show child attributes
Response
No migration started: the settings were stored as pending, or models are active and the change needed no migration. settings has the same shape as Get Knowledge Base Settings, and its revision is the value to send on the next update. While the settings are pending, active_profile_available stays false and capabilities.query stays false.
{"docsConfig":{"theme":"luma","$schema":"https://mintlify.com/docs.json","name":"Dify Docs","description":"Dify is an open-source platform for building AI applications. It provides a comprehensive set of tools and features to help you build, deploy, and manage your AI applications.","colors":{"primary":"#0060FF","light":"#688FE8","dark":"#0034FF"},"logo":{"light":"https://assets-docs.dify.ai/2025/05/d05cfc6ebe48f725d171dc71c64a5d16.svg","dark":"https://assets-docs.dify.ai/2025/05/c51f1cda47c1d9a4a162d7736f6e4c53.svg","href":"https://docs.dify.ai"},"favicon":"https://mintcdn.com/dify-6c0370d8/7ofzWAXbPyxqXN2g/logo/dify-logo.png?fit=max\u0026auto=format\u0026n=7ofzWAXbPyxqXN2g\u0026q=85\u0026s=1ff6cbe1000cf72c39ff756308a85823","navbar":{"links":[{"href":"https://github.com/langgenius/dify","label":"GitHub"}],"primary":{"type":"button","label":"Try Dify","href":"https://cloud.dify.ai"}},"footer":{"socials":{"x":"https://x.com/dify_ai","github":"https://github.com/langgenius/dify-docs","linkedin":"https://www.linkedin.com/company/langgenius"}},"integrations":{"ga4":{"measurementId":"G-HHGQ6GKNCE"}},"contextual":{"options":["copy","view","download-spec","claude","chatgpt","perplexity","mcp","add-mcp","cursor","vscode","devin-mcp"],"display":"header"},"metadata":{"timestamp":true},"styling":{"latex":false},"navigation":{"languages":[{"language":"en","default":true,"href":"en/cloud/use-dify/getting-started/introduction"},{"language":"zh","href":"zh/cloud/use-dify/getting-started/introduction"},{"language":"ja","href":"ja/cloud/use-dify/getting-started/introduction"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"dify-6c0370d8","hasAudioNarration":false,"actualSubdomain":"dify-6c0370d8","customDomains":["docs.dify.ai"],"gitSource":{"type":"github","owner":"langgenius","repo":"dify-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae16a14ea737d79d907d97f","collectionId":"0f4219d2-ead5-4040-a066-ef8aa0465206","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae16a14ea737d79d907d97f"},"feedback":{"thumbs":true,"edits":true,"issues":true,"agentFeedback":true},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6ae19db1b41e76453cfb7b61","clientVersion":"0.0.3990","searchFilterCounts":[{"language":"en","tag":"Self-Host","count":267},{"language":"ja","tag":"セルフホスト","count":267},{"language":"zh","tag":"自部署","count":267},{"language":"en","tag":"Use","count":183},{"language":"ja","tag":"使い方","count":183},{"language":"zh","tag":"使用","count":183},{"language":"en","tag":"Developer Resources","count":165},{"language":"ja","tag":"開発者リソース","count":165},{"language":"zh","tag":"开发者资源","count":165},{"language":"en","tag":"Cloud","count":112},{"language":"ja","tag":"Cloud","count":112},{"language":"zh","tag":"Cloud","count":112},{"language":"en","tag":"API","count":93},{"language":"ja","tag":"API","count":93},{"language":"zh","tag":"API","count":93},{"language":"en","tag":"Orchestrate","count":80},{"language":"ja","tag":"オーケストレーション","count":80},{"language":"zh","tag":"编排","count":80},{"language":"en","tag":"Workflow \u0026 Chatflow","count":65},{"language":"ja","tag":"Workflow と Chatflow","count":65},{"language":"zh","tag":"Workflow 与 Chatflow","count":65},{"language":"zh","tag":"知识库","count":50},{"language":"en","tag":"Knowledge APIs","count":46},{"language":"ja","tag":"ナレッジ API","count":46},{"language":"zh","tag":"知识库 API","count":46},{"language":"en","tag":"Knowledge","count":44},{"language":"en","tag":"Nodes","count":44},{"language":"ja","tag":"ナレッジ","count":44},{"language":"ja","tag":"ノード","count":44},{"language":"zh","tag":"节点","count":44}],"searchSettings":{"maxResults":12}},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"body{text-autospace:normal}html[data-current-path=\"/\"] .nav-tabs,html[data-current-path=\"/en/home\"] .nav-tabs,html[data-current-path=\"/ja/home\"] .nav-tabs,html[data-current-path=\"/zh/home\"] .nav-tabs{display:none}#sidebar-content :has(>a[href=\"/en/home\"]),#sidebar-content :has(>a[href=\"/ja/home\"]),#sidebar-content :has(>a[href=\"/zh/home\"]),#sidebar-content a[href=\"/en/home\"],#sidebar-content a[href=\"/ja/home\"],#sidebar-content a[href=\"/zh/home\"]{display:none}.uo-wrap{max-width:64rem;margin:0 auto;padding:2.5rem 2rem 4rem}.uo-hero{display:flex;gap:40px;align-items:center;margin:0 0 48px}.uo-hero-text{flex:1 1 100%}.uo-actions{display:flex;flex-wrap:wrap;align-items:center;gap:20px;margin-top:24px}.uo-cta{display:inline-flex;align-items:center;gap:6px;background:#0060ff;color:#fff!important;padding:8px 18px;border-radius:8px;font-weight:600;text-decoration:none!important;border:0!important}.uo-cta:hover{background:#0034ff}.uo-secondary{font-weight:500}.uo-secondary a{text-decoration:none!important}.uo-secondary a:hover{color:#0060ff}.uo-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px}.uo-grid>*{grid-column:span 2;margin:0}.uo-grid>:nth-child(4):nth-last-child(2){grid-column:2/span 2}.uo-help-links{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;margin-top:10px;font-weight:500}@media (max-width:900px){.uo-grid{grid-template-columns:1fr}.uo-grid>*,.uo-grid>:nth-child(4):nth-last-child(2){grid-column:auto}}"}],"page":{"pagePath":"en/api-reference/settings/update-knowledge-base-settings","slug":"/en/api-reference/settings/update-knowledge-base-settings","pageMetadata":{"title":"Update Knowledge Base Settings","description":"Changes the knowledge base's embedding model or retrieval settings. For setting models before and after content is indexed, see [Change Models or Retrieval Settings](/en/api-reference/guides/knowledge-base#change-models-or-retrieval-settings).\n\nWhat happens depends on whether models are active yet:\n\n- Before the first document is indexed, the settings are stored as pending, and the call answers `200`. They are validated and take effect when the first document is indexed. Omitting `embedding` or `retrieval` leaves that group at its pending value.\n- Once models are active, the call returns `202` and the change runs as a migration. An embedding or reasoning model change rebuilds the content it affects, while other retrieval changes take effect without a rebuild. Poll [Get Settings Migration](/en/api-reference/settings/get-settings-migration) with `migration.id` until it ends, then read the final settings. A change that needs no migration, such as resending the active embedding model, returns `200`.\n\nRules:\n\n- Send at least one of `embedding` or `retrieval`. Once models are active, send only one of them per call.\n- `retrieval` cannot be stored without an enabled rerank model, so send `rerank.enabled: true` and a `rerank.model` with it.\n- `retrieval` needs an embedding model, sent in the same call or stored earlier. Otherwise the call answers `409`.\n- `scoreThreshold.enabled: true` requires a `scoreThreshold.value`.","deprecated":null,"version":null,"sidebarTitle":"Update Knowledge Base Settings","openapi":"/en/api-reference/openapi_service.json patch /knowledge-fs/spaces/{knowledge_base_id}/settings","href":"/en/api-reference/settings/update-knowledge-base-settings","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n a: \"a\",\n code: \"code\",\n li: \"li\",\n p: \"p\",\n ul: \"ul\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsxs(_components.p, {\n children: [\"Changes the knowledge base’s embedding model or retrieval settings. For setting models before and after content is indexed, see \", _jsx(_components.a, {\n href: \"/en/api-reference/guides/knowledge-base#change-models-or-retrieval-settings\",\n children: \"Change Models or Retrieval Settings\"\n }), \".\"]\n }), \"\\n\", _jsx(_components.p, {\n children: \"What happens depends on whether models are active yet:\"\n }), \"\\n\", _jsxs(_components.ul, {\n children: [\"\\n\", _jsxs(_components.li, {\n children: [\"Before the first document is indexed, the settings are stored as pending, and the call answers \", _jsx(_components.code, {\n children: \"200\"\n }), \". They are validated and take effect when the first document is indexed. Omitting \", _jsx(_components.code, {\n children: \"embedding\"\n }), \" or \", _jsx(_components.code, {\n children: \"retrieval\"\n }), \" leaves that group at its pending value.\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [\"Once models are active, the call returns \", _jsx(_components.code, {\n children: \"202\"\n }), \" and the change runs as a migration. An embedding or reasoning model change rebuilds the content it affects, while other retrieval changes take effect without a rebuild. Poll \", _jsx(_components.a, {\n href: \"/en/api-reference/settings/get-settings-migration\",\n children: \"Get Settings Migration\"\n }), \" with \", _jsx(_components.code, {\n children: \"migration.id\"\n }), \" until it ends, then read the final settings. A change that needs no migration, such as resending the active embedding model, returns \", _jsx(_components.code, {\n children: \"200\"\n }), \".\"]\n }), \"\\n\"]\n }), \"\\n\", _jsx(_components.p, {\n children: \"Rules:\"\n }), \"\\n\", _jsxs(_components.ul, {\n children: [\"\\n\", _jsxs(_components.li, {\n children: [\"Send at least one of \", _jsx(_components.code, {\n children: \"embedding\"\n }), \" or \", _jsx(_components.code, {\n children: \"retrieval\"\n }), \". Once models are active, send only one of them per call.\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.code, {\n children: \"retrieval\"\n }), \" cannot be stored without an enabled rerank model, so send \", _jsx(_components.code, {\n children: \"rerank.enabled: true\"\n }), \" and a \", _jsx(_components.code, {\n children: \"rerank.model\"\n }), \" with it.\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.code, {\n children: \"retrieval\"\n }), \" needs an embedding model, sent in the same call or stored earlier. Otherwise the call answers \", _jsx(_components.code, {\n children: \"409\"\n }), \".\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.code, {\n children: \"scoreThreshold.enabled: true\"\n }), \" requires a \", _jsx(_components.code, {\n children: \"scoreThreshold.value\"\n }), \".\"]\n }), \"\\n\"]\n })]\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 Knowledge Base Settings","description":"Changes the knowledge base's embedding model or retrieval settings. For setting models before and after content is indexed, see [Change Models or Retrieval Settings](/en/api-reference/guides/knowledge-base#change-models-or-retrieval-settings).\n\nWhat happens depends on whether models are active yet:\n\n- Before the first document is indexed, the settings are stored as pending, and the call answers `200`. They are validated and take effect when the first document is indexed. Omitting `embedding` or `retrieval` leaves that group at its pending value.\n- Once models are active, the call returns `202` and the change runs as a migration. An embedding or reasoning model change rebuilds the content it affects, while other retrieval changes take effect without a rebuild. Poll [Get Settings Migration](/en/api-reference/settings/get-settings-migration) with `migration.id` until it ends, then read the final settings. A change that needs no migration, such as resending the active embedding model, returns `200`.\n\nRules:\n\n- Send at least one of `embedding` or `retrieval`. Once models are active, send only one of them per call.\n- `retrieval` cannot be stored without an enabled rerank model, so send `rerank.enabled: true` and a `rerank.model` with it.\n- `retrieval` needs an embedding model, sent in the same call or stored earlier. Otherwise the call answers `409`.\n- `scoreThreshold.enabled: true` requires a `scoreThreshold.value`.","deprecated":null,"version":null,"sidebarTitle":"Update Knowledge Base Settings","openapi":"/en/api-reference/openapi_service.json patch /knowledge-fs/spaces/{knowledge_base_id}/settings","href":"/en/api-reference/settings/update-knowledge-base-settings","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/dify-6c0370d8/90066d529e522771/contributing-footer.js"],"openApiReferenceData":{"operation":{"description":"Changes the knowledge base's embedding model or retrieval settings. For setting models before and after content is indexed, see [Change Models or Retrieval Settings](/en/api-reference/guides/knowledge-base#change-models-or-retrieval-settings).\n\nWhat happens depends on whether models are active yet:\n\n- Before the first document is indexed, the settings are stored as pending, and the call answers `200`. They are validated and take effect when the first document is indexed. Omitting `embedding` or `retrieval` leaves that group at its pending value.\n- Once models are active, the call returns `202` and the change runs as a migration. An embedding or reasoning model change rebuilds the content it affects, while other retrieval changes take effect without a rebuild. Poll [Get Settings Migration](/en/api-reference/settings/get-settings-migration) with `migration.id` until it ends, then read the final settings. A change that needs no migration, such as resending the active embedding model, returns `200`.\n\nRules:\n\n- Send at least one of `embedding` or `retrieval`. Once models are active, send only one of them per call.\n- `retrieval` cannot be stored without an enabled rerank model, so send `rerank.enabled: true` and a `rerank.model` with it.\n- `retrieval` needs an embedding model, sent in the same call or stored earlier. Otherwise the call answers `409`.\n- `scoreThreshold.enabled: true` requires a `scoreThreshold.value`.","operationId":"updateKnowledgeBaseSettings","parameters":["4447b420-0f43-451f-88ea-3c26fde860ad"],"requestBody":"32dbe973-54e3-433b-a1cf-86f54bb5a614","responses":{"200":"a71fdc6a-86ca-49c5-a674-2ed954574294","202":"744a91c3-fa15-4052-87fb-a5c3512796e0","400":"e6b3c9f7-27ee-4492-955d-313d745d8a52","401":"e3a87450-4885-4e1d-a09e-fe8c631a157c","403":"dca57a53-1097-4b59-95a8-6ec63c0fdcc6","404":"ab53a8c9-e66a-4019-8c05-a70ed5f02a34","409":"58821367-0f2b-4c73-b05c-4ff8112f5986","422":"3468ffd0-48d6-49b4-95ab-8fa84a6fe38e","502":"a88ff7b7-52c4-44dd-98f4-2b74d0b91981","503":"0dab7141-5110-45cb-8ffa-0feb26d756c2"},"summary":"Update Knowledge Base Settings","tags":["Settings"],"x-mint":{"href":"/en/api-reference/settings/update-knowledge-base-settings","metadata":{"sidebarTitle":"Update Knowledge Base Settings","title":"Update Knowledge Base Settings"}},"method":"patch","type":"path","servers":["696a2dcf-6859-4f3c-8441-26f9f0d21e85"],"security":["29ce23f5-8a64-466c-81bd-611670415f08"],"path":"/knowledge-fs/spaces/{knowledge_base_id}/settings","baseUrlOptions":["https://{api_base_url}"],"title":"Update Knowledge Base Settings","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"4447b420-0f43-451f-88ea-3c26fde860ad":{"description":"Knowledge base ID: the last segment of the Service API endpoint shown in the knowledge base's **API Access** dialog (`…/knowledge-fs/spaces/\u003cknowledge base ID>`), and the segment after `/datasets/new/` in the address bar.","in":"path","name":"knowledge_base_id","required":true,"schema":{"format":"uuid","type":"string","isRequired":true,"description":"Knowledge base ID: the last segment of the Service API endpoint shown in the knowledge base's **API Access** dialog (`…/knowledge-fs/spaces/\u003cknowledge base ID>`), and the segment after `/datasets/new/` in the address bar.","uniqueKey":"","typeLabel":"string\u003cuuid>"}}},"requestBody":{"content":{"application/json":{"examples":{"request":{"title":"request","value":{"embedding":{"model":"text-embedding-3-small","pluginId":"langgenius/openai","provider":"openai"},"expectedRevision":7,"retrieval":{"defaultMode":"fast","reasoningModel":{"model":"gpt-4.1-mini","pluginId":"langgenius/openai","provider":"openai"},"rerank":{"enabled":true,"model":{"model":"rerank-v3.5","pluginId":"langgenius/cohere","provider":"cohere"}},"scoreThreshold":{"enabled":true,"stage":"mode-final","value":0.4},"topK":10}}},"request_embedding":{"title":"request_embedding","value":{"embedding":{"model":"text-embedding-3-large","pluginId":"langgenius/openai","provider":"openai"},"expectedRevision":7}}},"schema":{"oneOf":[{"type":"object","title":"Embedding Settings","required":["expectedRevision","embedding"],"properties":{"embedding":{"type":"object","description":"The embedding model used to index content. Once a model is active, changing it starts a migration that re-embeds every document.\n\nFind the values with [Get Available Models](/en/api-reference/models/get-available-models): `text-embedding` for embedding models, `llm` for the reasoning model, `rerank` for rerank models.\n\n`pluginId` is the plugin's `organization/plugin_name`, `provider` its provider name, `model` the model name.\n\nGet Available Models returns one `provider` string shaped `organization/plugin_name/provider_name`, so `langgenius/openai/openai` splits into `pluginId` `langgenius/openai` and `provider` `openai`. A bare `openai` stands for `langgenius/openai/openai`.","required":["model","pluginId","provider"],"properties":{"model":{"description":"Model name as the provider plugin lists it, for example `text-embedding-3-small`.","maxLength":256,"minLength":1,"type":"string","isRequired":true,"uniqueKey":"oneOf.0.embedding.model","typeLabel":"string"},"pluginId":{"description":"Plugin that provides the model, as `organization/plugin_name` (for example `langgenius/openai`).","maxLength":256,"minLength":1,"type":"string","isRequired":true,"uniqueKey":"oneOf.0.embedding.pluginId","typeLabel":"string"},"provider":{"description":"Provider name inside the plugin, for example `openai`.","maxLength":256,"minLength":1,"type":"string","isRequired":true,"uniqueKey":"oneOf.0.embedding.provider","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.0.embedding","typeLabel":"object"},"expectedRevision":{"description":"The current `revision` from [Get Knowledge Base Settings](/en/api-reference/settings/get-knowledge-base-settings). A stale value answers `409` and nothing changes.","minimum":1,"type":"integer","isRequired":true,"uniqueKey":"oneOf.0.expectedRevision","typeLabel":"integer"},"retrieval":{"oneOf":[{"additionalProperties":false,"description":"The retrieval settings a query uses: reasoning model, rerank model, score threshold, `topK`, and the depth to fall back on.","properties":{"defaultMode":{"description":"Retrieval depth used when a query omits `mode`. See [Retrieval Depth](/en/cloud/use-dify/knowledge-base/retrieval-settings#retrieval-depth).","enum":["fast","deep","research"],"type":"string","isRequired":true,"uniqueKey":"oneOf.0.retrieval.oneOf.0.defaultMode","typeLabel":"enum\u003cstring>"},"reasoningModel":{"additionalProperties":false,"description":"System reasoning model: used during indexing and by `research` queries. Find the values with [Get Available Models](/en/api-reference/models/get-available-models).","properties":{"model":{"description":"Model name as the provider plugin lists it.","maxLength":256,"minLength":1,"type":"string","isRequired":true,"uniqueKey":"oneOf.0.retrieval.oneOf.0.reasoningModel.model","typeLabel":"string"},"pluginId":{"description":"Plugin that provides the model, as `organization/plugin_name`.","maxLength":256,"minLength":1,"type":"string","isRequired":true,"uniqueKey":"oneOf.0.retrieval.oneOf.0.reasoningModel.pluginId","typeLabel":"string"},"provider":{"description":"Provider name inside the plugin.","maxLength":256,"minLength":1,"type":"string","isRequired":true,"uniqueKey":"oneOf.0.retrieval.oneOf.0.reasoningModel.provider","typeLabel":"string"}},"required":["model","pluginId","provider"],"type":"object","isRequired":true,"uniqueKey":"oneOf.0.retrieval.oneOf.0.reasoningModel","typeLabel":"object"},"rerank":{"additionalProperties":false,"description":"The rerank model applied to retrieved chunks.\n\nThis operation requires `enabled: true` and a non-null model.","properties":{"enabled":{"description":"Whether retrieved chunks are reranked.","enum":[true],"type":"boolean","isRequired":true,"uniqueKey":"oneOf.0.retrieval.oneOf.0.rerank.enabled","typeLabel":"enum\u003cboolean>"},"model":{"additionalProperties":false,"description":"Rerank model selection. Find the values with [Get Available Models](/en/api-reference/models/get-available-models).","nullable":false,"properties":{"model":{"description":"Model name as the provider plugin lists it.","maxLength":256,"minLength":1,"type":"string","isRequired":true,"uniqueKey":"oneOf.0.retrieval.oneOf.0.rerank.model.model","typeLabel":"string"},"pluginId":{"description":"Plugin that provides the model, as `organization/plugin_name`.","maxLength":256,"minLength":1,"type":"string","isRequired":true,"uniqueKey":"oneOf.0.retrieval.oneOf.0.rerank.model.pluginId","typeLabel":"string"},"provider":{"description":"Provider name inside the plugin.","maxLength":256,"minLength":1,"type":"string","isRequired":true,"uniqueKey":"oneOf.0.retrieval.oneOf.0.rerank.model.provider","typeLabel":"string"}},"required":["model","pluginId","provider"],"type":"object","isRequired":true,"uniqueKey":"oneOf.0.retrieval.oneOf.0.rerank.model","typeLabel":"object"}},"required":["enabled","model"],"type":"object","isRequired":true,"uniqueKey":"oneOf.0.retrieval.oneOf.0.rerank","typeLabel":"object"},"scoreThreshold":{"oneOf":[{"type":"object","title":"Threshold Disabled","description":"Score cutoff that drops low-scoring chunks.","required":["enabled"],"properties":{"enabled":{"type":"boolean","description":"Whether the cutoff applies. When `true`, send `value`.","enum":[false],"isRequired":true,"uniqueKey":"oneOf.0.retrieval.oneOf.0.scoreThreshold.oneOf.0.enabled","typeLabel":"enum\u003cboolean>"},"stage":{"default":"mode-final","description":"Where the cutoff applies. `mode-final` applies it to the final score of the depth that runs: the rerank score at `fast` and `deep`, the PageIndex score at `research`. `rerank` is the same thing under its old name.","enum":["mode-final","rerank"],"type":"string","uniqueKey":"oneOf.0.retrieval.oneOf.0.scoreThreshold.oneOf.0.stage","typeLabel":"enum\u003cstring>"},"value":{"oneOf":[{"description":"The cutoff score. Chunks scoring below it are dropped. Higher cutoffs keep only close matches and risk returning nothing. Lower cutoffs let broader matches through.","maximum":1,"minimum":0,"type":"number","uniqueKey":"oneOf.0.retrieval.oneOf.0.scoreThreshold.oneOf.0.value.oneOf.0","typeLabel":"number"},{"description":"The cutoff score. Chunks scoring below it are dropped. Higher cutoffs keep only close matches and risk returning nothing. Lower cutoffs let broader matches through.","maximum":1,"minimum":0,"type":"null","uniqueKey":"oneOf.0.retrieval.oneOf.0.scoreThreshold.oneOf.0.value.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.retrieval.oneOf.0.scoreThreshold.oneOf.0.value","typeLabel":"number | null"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.0.retrieval.oneOf.0.scoreThreshold.oneOf.0","typeLabel":"Threshold Disabled · object"},{"type":"object","title":"Threshold Enabled","description":"Score cutoff that drops low-scoring chunks.","required":["enabled","value"],"properties":{"enabled":{"type":"boolean","description":"Whether the cutoff applies. When `true`, send `value`.","enum":[true],"isRequired":true,"uniqueKey":"oneOf.0.retrieval.oneOf.0.scoreThreshold.oneOf.1.enabled","typeLabel":"enum\u003cboolean>"},"value":{"type":"number","description":"The cutoff score. Chunks scoring below it are dropped. Higher cutoffs keep only close matches and risk returning nothing. Lower cutoffs let broader matches through.","maximum":1,"minimum":0,"isRequired":true,"uniqueKey":"oneOf.0.retrieval.oneOf.0.scoreThreshold.oneOf.1.value","typeLabel":"number"},"stage":{"default":"mode-final","description":"Where the cutoff applies. `mode-final` applies it to the final score of the depth that runs: the rerank score at `fast` and `deep`, the PageIndex score at `research`. `rerank` is the same thing under its old name.","enum":["mode-final","rerank"],"type":"string","uniqueKey":"oneOf.0.retrieval.oneOf.0.scoreThreshold.oneOf.1.stage","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.0.retrieval.oneOf.0.scoreThreshold.oneOf.1","typeLabel":"Threshold Enabled · object"}],"isRequired":true,"uniqueKey":"oneOf.0.retrieval.oneOf.0.scoreThreshold","typeLabel":"Threshold Disabled · object | Threshold Enabled · object"},"topK":{"description":"Maximum number of chunks each search returns. Higher values give the model more context and more noise. Lower values stay focused and can miss relevant chunks.","maximum":100,"minimum":1,"type":"integer","isRequired":true,"uniqueKey":"oneOf.0.retrieval.oneOf.0.topK","typeLabel":"integer"}},"required":["defaultMode","reasoningModel","rerank","scoreThreshold","topK"],"type":"object","uniqueKey":"oneOf.0.retrieval.oneOf.0","typeLabel":"object"},{"additionalProperties":false,"description":"The retrieval settings a query uses: reasoning model, rerank model, score threshold, `topK`, and the depth to fall back on.","properties":{"defaultMode":{"description":"Retrieval depth used when a query omits `mode`. See [Retrieval Depth](/en/cloud/use-dify/knowledge-base/retrieval-settings#retrieval-depth).","enum":["fast","deep","research"],"type":"string"},"reasoningModel":{"additionalProperties":false,"description":"System reasoning model: used during indexing and by `research` queries. Find the values with [Get Available Models](/en/api-reference/models/get-available-models).","properties":{"model":{"description":"Model name as the provider plugin lists it.","maxLength":256,"minLength":1,"type":"string"},"pluginId":{"description":"Plugin that provides the model, as `organization/plugin_name`.","maxLength":256,"minLength":1,"type":"string"},"provider":{"description":"Provider name inside the plugin.","maxLength":256,"minLength":1,"type":"string"}},"required":["model","pluginId","provider"],"type":"object"},"rerank":{"additionalProperties":false,"description":"The rerank model applied to retrieved chunks.\n\nThis operation requires `enabled: true` and a non-null model.","properties":{"enabled":{"description":"Whether retrieved chunks are reranked.","enum":[true],"type":"boolean"},"model":{"additionalProperties":false,"description":"Rerank model selection. Find the values with [Get Available Models](/en/api-reference/models/get-available-models).","nullable":false,"properties":{"model":{"description":"Model name as the provider plugin lists it.","maxLength":256,"minLength":1,"type":"string"},"pluginId":{"description":"Plugin that provides the model, as `organization/plugin_name`.","maxLength":256,"minLength":1,"type":"string"},"provider":{"description":"Provider name inside the plugin.","maxLength":256,"minLength":1,"type":"string"}},"required":["model","pluginId","provider"],"type":"object"}},"required":["enabled","model"],"type":"object"},"scoreThreshold":{"oneOf":[{"type":"object","title":"Threshold Disabled","description":"Score cutoff that drops low-scoring chunks.","required":["enabled"],"properties":{"enabled":{"type":"boolean","description":"Whether the cutoff applies. When `true`, send `value`.","enum":[false]},"stage":{"default":"mode-final","description":"Where the cutoff applies. `mode-final` applies it to the final score of the depth that runs: the rerank score at `fast` and `deep`, the PageIndex score at `research`. `rerank` is the same thing under its old name.","enum":["mode-final","rerank"],"type":"string"},"value":{"oneOf":[{"description":"The cutoff score. Chunks scoring below it are dropped. Higher cutoffs keep only close matches and risk returning nothing. Lower cutoffs let broader matches through.","maximum":1,"minimum":0,"type":"number"},{"description":"The cutoff score. Chunks scoring below it are dropped. Higher cutoffs keep only close matches and risk returning nothing. Lower cutoffs let broader matches through.","maximum":1,"minimum":0,"type":"null"}]}},"additionalProperties":false},{"type":"object","title":"Threshold Enabled","description":"Score cutoff that drops low-scoring chunks.","required":["enabled","value"],"properties":{"enabled":{"type":"boolean","description":"Whether the cutoff applies. When `true`, send `value`.","enum":[true]},"value":{"type":"number","description":"The cutoff score. Chunks scoring below it are dropped. Higher cutoffs keep only close matches and risk returning nothing. Lower cutoffs let broader matches through.","maximum":1,"minimum":0},"stage":{"default":"mode-final","description":"Where the cutoff applies. `mode-final` applies it to the final score of the depth that runs: the rerank score at `fast` and `deep`, the PageIndex score at `research`. `rerank` is the same thing under its old name.","enum":["mode-final","rerank"],"type":"string"}},"additionalProperties":false}]},"topK":{"description":"Maximum number of chunks each search returns. Higher values give the model more context and more noise. Lower values stay focused and can miss relevant chunks.","maximum":100,"minimum":1,"type":"integer"}},"required":["defaultMode","reasoningModel","rerank","scoreThreshold","topK"],"type":"null","uniqueKey":"oneOf.0.retrieval.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.retrieval","typeLabel":"object | null"}},"additionalProperties":false,"uniqueKey":"oneOf.0","typeLabel":"Embedding Settings · object"},{"type":"object","title":"Retrieval Settings","required":["expectedRevision","retrieval"],"properties":{"retrieval":{"type":"object","description":"The retrieval settings a query uses: reasoning model, rerank model, score threshold, `topK`, and the depth to fall back on.","required":["defaultMode","reasoningModel","rerank","scoreThreshold","topK"],"properties":{"defaultMode":{"description":"Retrieval depth used when a query omits `mode`. See [Retrieval Depth](/en/cloud/use-dify/knowledge-base/retrieval-settings#retrieval-depth).","enum":["fast","deep","research"],"type":"string","isRequired":true,"uniqueKey":"oneOf.1.retrieval.defaultMode","typeLabel":"enum\u003cstring>"},"reasoningModel":{"additionalProperties":false,"description":"System reasoning model: used during indexing and by `research` queries. Find the values with [Get Available Models](/en/api-reference/models/get-available-models).","properties":{"model":{"description":"Model name as the provider plugin lists it.","maxLength":256,"minLength":1,"type":"string","isRequired":true,"uniqueKey":"oneOf.1.retrieval.reasoningModel.model","typeLabel":"string"},"pluginId":{"description":"Plugin that provides the model, as `organization/plugin_name`.","maxLength":256,"minLength":1,"type":"string","isRequired":true,"uniqueKey":"oneOf.1.retrieval.reasoningModel.pluginId","typeLabel":"string"},"provider":{"description":"Provider name inside the plugin.","maxLength":256,"minLength":1,"type":"string","isRequired":true,"uniqueKey":"oneOf.1.retrieval.reasoningModel.provider","typeLabel":"string"}},"required":["model","pluginId","provider"],"type":"object","isRequired":true,"uniqueKey":"oneOf.1.retrieval.reasoningModel","typeLabel":"object"},"rerank":{"additionalProperties":false,"description":"The rerank model applied to retrieved chunks.\n\nThis operation requires `enabled: true` and a non-null model.","properties":{"enabled":{"description":"Whether retrieved chunks are reranked.","enum":[true],"type":"boolean","isRequired":true,"uniqueKey":"oneOf.1.retrieval.rerank.enabled","typeLabel":"enum\u003cboolean>"},"model":{"additionalProperties":false,"description":"Rerank model selection. Find the values with [Get Available Models](/en/api-reference/models/get-available-models).","nullable":false,"properties":{"model":{"description":"Model name as the provider plugin lists it.","maxLength":256,"minLength":1,"type":"string","isRequired":true,"uniqueKey":"oneOf.1.retrieval.rerank.model.model","typeLabel":"string"},"pluginId":{"description":"Plugin that provides the model, as `organization/plugin_name`.","maxLength":256,"minLength":1,"type":"string","isRequired":true,"uniqueKey":"oneOf.1.retrieval.rerank.model.pluginId","typeLabel":"string"},"provider":{"description":"Provider name inside the plugin.","maxLength":256,"minLength":1,"type":"string","isRequired":true,"uniqueKey":"oneOf.1.retrieval.rerank.model.provider","typeLabel":"string"}},"required":["model","pluginId","provider"],"type":"object","isRequired":true,"uniqueKey":"oneOf.1.retrieval.rerank.model","typeLabel":"object"}},"required":["enabled","model"],"type":"object","isRequired":true,"uniqueKey":"oneOf.1.retrieval.rerank","typeLabel":"object"},"scoreThreshold":{"oneOf":[{"type":"object","title":"Threshold Disabled","description":"Score cutoff that drops low-scoring chunks.","required":["enabled"],"properties":{"enabled":{"type":"boolean","description":"Whether the cutoff applies. When `true`, send `value`.","enum":[false],"isRequired":true,"uniqueKey":"oneOf.1.retrieval.scoreThreshold.oneOf.0.enabled","typeLabel":"enum\u003cboolean>"},"stage":{"default":"mode-final","description":"Where the cutoff applies. `mode-final` applies it to the final score of the depth that runs: the rerank score at `fast` and `deep`, the PageIndex score at `research`. `rerank` is the same thing under its old name.","enum":["mode-final","rerank"],"type":"string","uniqueKey":"oneOf.1.retrieval.scoreThreshold.oneOf.0.stage","typeLabel":"enum\u003cstring>"},"value":{"oneOf":[{"description":"The cutoff score. Chunks scoring below it are dropped. Higher cutoffs keep only close matches and risk returning nothing. Lower cutoffs let broader matches through.","maximum":1,"minimum":0,"type":"number","uniqueKey":"oneOf.1.retrieval.scoreThreshold.oneOf.0.value.oneOf.0","typeLabel":"number"},{"description":"The cutoff score. Chunks scoring below it are dropped. Higher cutoffs keep only close matches and risk returning nothing. Lower cutoffs let broader matches through.","maximum":1,"minimum":0,"type":"null","uniqueKey":"oneOf.1.retrieval.scoreThreshold.oneOf.0.value.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.retrieval.scoreThreshold.oneOf.0.value","typeLabel":"number | null"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.1.retrieval.scoreThreshold.oneOf.0","typeLabel":"Threshold Disabled · object"},{"type":"object","title":"Threshold Enabled","description":"Score cutoff that drops low-scoring chunks.","required":["enabled","value"],"properties":{"enabled":{"type":"boolean","description":"Whether the cutoff applies. When `true`, send `value`.","enum":[true],"isRequired":true,"uniqueKey":"oneOf.1.retrieval.scoreThreshold.oneOf.1.enabled","typeLabel":"enum\u003cboolean>"},"value":{"type":"number","description":"The cutoff score. Chunks scoring below it are dropped. Higher cutoffs keep only close matches and risk returning nothing. Lower cutoffs let broader matches through.","maximum":1,"minimum":0,"isRequired":true,"uniqueKey":"oneOf.1.retrieval.scoreThreshold.oneOf.1.value","typeLabel":"number"},"stage":{"default":"mode-final","description":"Where the cutoff applies. `mode-final` applies it to the final score of the depth that runs: the rerank score at `fast` and `deep`, the PageIndex score at `research`. `rerank` is the same thing under its old name.","enum":["mode-final","rerank"],"type":"string","uniqueKey":"oneOf.1.retrieval.scoreThreshold.oneOf.1.stage","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.1.retrieval.scoreThreshold.oneOf.1","typeLabel":"Threshold Enabled · object"}],"isRequired":true,"uniqueKey":"oneOf.1.retrieval.scoreThreshold","typeLabel":"Threshold Disabled · object | Threshold Enabled · object"},"topK":{"description":"Maximum number of chunks each search returns. Higher values give the model more context and more noise. Lower values stay focused and can miss relevant chunks.","maximum":100,"minimum":1,"type":"integer","isRequired":true,"uniqueKey":"oneOf.1.retrieval.topK","typeLabel":"integer"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.1.retrieval","typeLabel":"object"},"expectedRevision":{"description":"The current `revision` from [Get Knowledge Base Settings](/en/api-reference/settings/get-knowledge-base-settings). A stale value answers `409` and nothing changes.","minimum":1,"type":"integer","isRequired":true,"uniqueKey":"oneOf.1.expectedRevision","typeLabel":"integer"},"embedding":{"oneOf":[{"additionalProperties":false,"description":"The embedding model used to index content. Once a model is active, changing it starts a migration that re-embeds every document.\n\nFind the values with [Get Available Models](/en/api-reference/models/get-available-models): `text-embedding` for embedding models, `llm` for the reasoning model, `rerank` for rerank models.\n\n`pluginId` is the plugin's `organization/plugin_name`, `provider` its provider name, `model` the model name.\n\nGet Available Models returns one `provider` string shaped `organization/plugin_name/provider_name`, so `langgenius/openai/openai` splits into `pluginId` `langgenius/openai` and `provider` `openai`. A bare `openai` stands for `langgenius/openai/openai`.","properties":{"model":{"description":"Model name as the provider plugin lists it, for example `text-embedding-3-small`.","maxLength":256,"minLength":1,"type":"string","isRequired":true,"uniqueKey":"oneOf.1.embedding.oneOf.0.model","typeLabel":"string"},"pluginId":{"description":"Plugin that provides the model, as `organization/plugin_name` (for example `langgenius/openai`).","maxLength":256,"minLength":1,"type":"string","isRequired":true,"uniqueKey":"oneOf.1.embedding.oneOf.0.pluginId","typeLabel":"string"},"provider":{"description":"Provider name inside the plugin, for example `openai`.","maxLength":256,"minLength":1,"type":"string","isRequired":true,"uniqueKey":"oneOf.1.embedding.oneOf.0.provider","typeLabel":"string"}},"required":["model","pluginId","provider"],"type":"object","uniqueKey":"oneOf.1.embedding.oneOf.0","typeLabel":"object"},{"additionalProperties":false,"description":"The embedding model used to index content. Once a model is active, changing it starts a migration that re-embeds every document.\n\nFind the values with [Get Available Models](/en/api-reference/models/get-available-models): `text-embedding` for embedding models, `llm` for the reasoning model, `rerank` for rerank models.\n\n`pluginId` is the plugin's `organization/plugin_name`, `provider` its provider name, `model` the model name.\n\nGet Available Models returns one `provider` string shaped `organization/plugin_name/provider_name`, so `langgenius/openai/openai` splits into `pluginId` `langgenius/openai` and `provider` `openai`. A bare `openai` stands for `langgenius/openai/openai`.","properties":{"model":{"description":"Model name as the provider plugin lists it, for example `text-embedding-3-small`.","maxLength":256,"minLength":1,"type":"string"},"pluginId":{"description":"Plugin that provides the model, as `organization/plugin_name` (for example `langgenius/openai`).","maxLength":256,"minLength":1,"type":"string"},"provider":{"description":"Provider name inside the plugin, for example `openai`.","maxLength":256,"minLength":1,"type":"string"}},"required":["model","pluginId","provider"],"type":"null","uniqueKey":"oneOf.1.embedding.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.embedding","typeLabel":"object | null"}},"additionalProperties":false,"uniqueKey":"oneOf.1","typeLabel":"Retrieval Settings · object"}],"uniqueKey":"","typeLabel":"Embedding Settings · object | Retrieval Settings · object"},"exampleType":"examples"}},"description":"[Get Knowledge Base Settings](/en/api-reference/settings/get-knowledge-base-settings) answers in snake_case and this body is camelCase, so its response cannot be sent back unchanged.\n\nOptional fields marked nullable treat `null` as omitted.\n\nThe normalized request must fit within 65,536 UTF-8 bytes. See [Request Size Limits](/en/api-reference/guides/knowledge-base#request-size-limits).","required":true,"exampleType":"examples"},"responses":{"a71fdc6a-86ca-49c5-a674-2ed954574294":{"content":{"application/json":{"examples":{"success":{"title":"success","value":{"migration":null,"settings":{"active_profile_available":false,"active_profile_revisions":{"embedding":null,"retrieval":null},"capabilities":{"deep":false,"index":false,"ingest":true,"query":false,"research":false,"source_sync":true},"configuration_state":"active","embedding":{"dimension":null,"model":"text-embedding-3-small","plugin_id":"langgenius/openai","provider":"openai","revision":null,"vector_space_id":null},"issues":[],"retrieval":{"default_mode":"fast","reasoning_model":{"dimension":null,"model":"gpt-4.1-mini","plugin_id":"langgenius/openai","provider":"openai","revision":null,"vector_space_id":null},"rerank":{"enabled":true,"model":{"model":"rerank-v3.5","pluginId":"langgenius/cohere","provider":"cohere"}},"revision":null,"score_threshold":{"enabled":true,"stage":"mode-final","value":0.4},"top_k":10},"revision":8}}}},"schema":{"properties":{"migration":{"oneOf":[{"description":"Always `null` here: no migration started.","type":"object","uniqueKey":"migration.oneOf.0","typeLabel":"object"},{"description":"Always `null` here: no migration started.","type":"null","uniqueKey":"migration.oneOf.1","typeLabel":"null"}],"uniqueKey":"migration","typeLabel":"object | null"},"settings":{"properties":{"active_profile_available":{"description":"`true` when both an embedding model and retrieval settings are live, which happens after the first document is indexed.","type":"boolean","uniqueKey":"settings.active_profile_available","typeLabel":"boolean"},"active_profile_revisions":{"description":"Revisions of the live models. Each is `null` until the first document is indexed. Once a profile is active, a change through [Update Knowledge Base Settings](/en/api-reference/settings/update-knowledge-base-settings) runs as a migration.","properties":{"embedding":{"oneOf":[{"description":"Revision of the live embedding model.","type":"integer","uniqueKey":"settings.active_profile_revisions.embedding.oneOf.0","typeLabel":"integer"},{"description":"Revision of the live embedding model.","type":"null","uniqueKey":"settings.active_profile_revisions.embedding.oneOf.1","typeLabel":"null"}],"uniqueKey":"settings.active_profile_revisions.embedding","typeLabel":"integer | null"},"retrieval":{"oneOf":[{"description":"Revision of the live retrieval settings.","type":"integer","uniqueKey":"settings.active_profile_revisions.retrieval.oneOf.0","typeLabel":"integer"},{"description":"Revision of the live retrieval settings.","type":"null","uniqueKey":"settings.active_profile_revisions.retrieval.oneOf.1","typeLabel":"null"}],"uniqueKey":"settings.active_profile_revisions.retrieval","typeLabel":"integer | null"}},"type":"object","uniqueKey":"settings.active_profile_revisions","typeLabel":"object"},"capabilities":{"description":"Readiness of the published settings. Three flags stand for retrieval depths, with `query` standing for `fast`.\n\nTo check readiness for a specific depth, send that depth explicitly as `mode` and check its flag. Do not use a pending `retrieval.default_mode` to identify the depth of a query that omits `mode`.","properties":{"deep":{"description":"Queries at `deep` depth can run.","type":"boolean","uniqueKey":"settings.capabilities.deep","typeLabel":"boolean"},"index":{"description":"Documents can be indexed. The models are live.","type":"boolean","uniqueKey":"settings.capabilities.index","typeLabel":"boolean"},"ingest":{"description":"Documents can be added. The models are live, or complete pending settings are ready to be activated by the first document.","type":"boolean","uniqueKey":"settings.capabilities.ingest","typeLabel":"boolean"},"query":{"description":"Queries at `fast` depth can run.","type":"boolean","uniqueKey":"settings.capabilities.query","typeLabel":"boolean"},"research":{"description":"Queries at `research` depth can run.","type":"boolean","uniqueKey":"settings.capabilities.research","typeLabel":"boolean"},"source_sync":{"description":"Sources can sync. Same condition as `ingest`.","type":"boolean","uniqueKey":"settings.capabilities.source_sync","typeLabel":"boolean"}},"type":"object","uniqueKey":"settings.capabilities","typeLabel":"object"},"configuration_state":{"description":"`active` when an embedding model and complete retrieval settings (with an enabled rerank model) are stored. `setup-required` when either is missing. `validation-failed` when the pending settings failed validation while the first document was indexed. `issues` names the settings that failed.","type":"string","uniqueKey":"settings.configuration_state","typeLabel":"string"},"embedding":{"oneOf":[{"description":"Embedding model. The pending selection when one is stored, otherwise the live model. A pending selection can differ from the model queries use now. `null` when none is set.\n\nIts `dimension`, `revision`, and `vector_space_id` are informational, and no operation takes them.","properties":{"dimension":{"oneOf":[{"description":"Vector dimension, observed when the model is first used. `null` until the model is live.","type":"integer","uniqueKey":"settings.embedding.oneOf.0.dimension.oneOf.0","typeLabel":"integer"},{"description":"Vector dimension, observed when the model is first used. `null` until the model is live.","type":"null","uniqueKey":"settings.embedding.oneOf.0.dimension.oneOf.1","typeLabel":"null"}],"uniqueKey":"settings.embedding.oneOf.0.dimension","typeLabel":"integer | null"},"model":{"description":"Model name.","type":"string","uniqueKey":"settings.embedding.oneOf.0.model","typeLabel":"string"},"plugin_id":{"description":"Plugin that provides the model, as `organization/plugin_name`.","type":"string","uniqueKey":"settings.embedding.oneOf.0.plugin_id","typeLabel":"string"},"provider":{"description":"Provider name inside the plugin.","type":"string","uniqueKey":"settings.embedding.oneOf.0.provider","typeLabel":"string"},"revision":{"oneOf":[{"description":"Revision of the live embedding model. `null` until the model is live.","type":"integer","uniqueKey":"settings.embedding.oneOf.0.revision.oneOf.0","typeLabel":"integer"},{"description":"Revision of the live embedding model. `null` until the model is live.","type":"null","uniqueKey":"settings.embedding.oneOf.0.revision.oneOf.1","typeLabel":"null"}],"uniqueKey":"settings.embedding.oneOf.0.revision","typeLabel":"integer | null"},"vector_space_id":{"oneOf":[{"description":"Identifies where the model's vectors are stored. `null` until the model is live.","type":"string","uniqueKey":"settings.embedding.oneOf.0.vector_space_id.oneOf.0","typeLabel":"string"},{"description":"Identifies where the model's vectors are stored. `null` until the model is live.","type":"null","uniqueKey":"settings.embedding.oneOf.0.vector_space_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"settings.embedding.oneOf.0.vector_space_id","typeLabel":"string | null"}},"type":"object","uniqueKey":"settings.embedding.oneOf.0","typeLabel":"object"},{"description":"Embedding model. The pending selection when one is stored, otherwise the live model. A pending selection can differ from the model queries use now. `null` when none is set.\n\nIts `dimension`, `revision`, and `vector_space_id` are informational, and no operation takes them.","properties":{"dimension":{"oneOf":[{"description":"Vector dimension, observed when the model is first used. `null` until the model is live.","type":"integer"},{"description":"Vector dimension, observed when the model is first used. `null` until the model is live.","type":"null"}]},"model":{"description":"Model name.","type":"string"},"plugin_id":{"description":"Plugin that provides the model, as `organization/plugin_name`.","type":"string"},"provider":{"description":"Provider name inside the plugin.","type":"string"},"revision":{"oneOf":[{"description":"Revision of the live embedding model. `null` until the model is live.","type":"integer"},{"description":"Revision of the live embedding model. `null` until the model is live.","type":"null"}]},"vector_space_id":{"oneOf":[{"description":"Identifies where the model's vectors are stored. `null` until the model is live.","type":"string"},{"description":"Identifies where the model's vectors are stored. `null` until the model is live.","type":"null"}]}},"type":"null","uniqueKey":"settings.embedding.oneOf.1","typeLabel":"null"}],"uniqueKey":"settings.embedding","typeLabel":"object | null"},"issues":{"description":"What keeps the knowledge base from being ready. Empty when nothing does.","items":{"properties":{"code":{"description":"What is wrong with the setting:\n\n- `missing`: the selection is absent, or rerank is disabled.\n- `validation_failed`, `unavailable`, or `incompatible`: the pending settings failed validation. For `incompatible`, check the model's supported task, embedding dimension, and whether the provider returned the selected model.\n- `binding_missing`: the published content is not ready to use the configured models. Check indexing progress in Dify.\n- `unavailable` on `publication`: the published content is not ready for every depth.","type":"string","uniqueKey":"settings.issues.items.[INDEX].code","typeLabel":"string"},"field":{"description":"The setting concerned: `embedding`, `reasoning`, `rerank`, or `publication` (the published content).","type":"string","uniqueKey":"settings.issues.items.[INDEX].field","typeLabel":"string"},"retryable":{"description":"Whether waiting and retrying can clear the issue without a settings change.","type":"boolean","uniqueKey":"settings.issues.items.[INDEX].retryable","typeLabel":"boolean"}},"type":"object","uniqueKey":"settings.issues.items.[INDEX]","typeLabel":"object"},"type":"array","uniqueKey":"settings.issues","typeLabel":"object[]"},"retrieval":{"oneOf":[{"description":"Retrieval settings. The pending selection when one is stored, otherwise the live settings. A pending selection can differ from the settings queries use now. `null` when none is set.","properties":{"default_mode":{"description":"Default depth in the returned retrieval settings: `fast`, `deep`, or `research`. When a query omits `mode`, it uses the published default, which can differ from this value if pending settings are returned.","type":"string","uniqueKey":"settings.retrieval.oneOf.0.default_mode","typeLabel":"string"},"reasoning_model":{"description":"System reasoning model. Its `dimension`, `revision`, and `vector_space_id` are always `null`.","properties":{"dimension":{"oneOf":[{"description":"Always `null`.","type":"integer","uniqueKey":"settings.retrieval.oneOf.0.reasoning_model.dimension.oneOf.0","typeLabel":"integer"},{"description":"Always `null`.","type":"null","uniqueKey":"settings.retrieval.oneOf.0.reasoning_model.dimension.oneOf.1","typeLabel":"null"}],"uniqueKey":"settings.retrieval.oneOf.0.reasoning_model.dimension","typeLabel":"integer | null"},"model":{"description":"Model name.","type":"string","uniqueKey":"settings.retrieval.oneOf.0.reasoning_model.model","typeLabel":"string"},"plugin_id":{"description":"Plugin that provides the model, as `organization/plugin_name`.","type":"string","uniqueKey":"settings.retrieval.oneOf.0.reasoning_model.plugin_id","typeLabel":"string"},"provider":{"description":"Provider name inside the plugin.","type":"string","uniqueKey":"settings.retrieval.oneOf.0.reasoning_model.provider","typeLabel":"string"},"revision":{"oneOf":[{"description":"Always `null`.","type":"integer","uniqueKey":"settings.retrieval.oneOf.0.reasoning_model.revision.oneOf.0","typeLabel":"integer"},{"description":"Always `null`.","type":"null","uniqueKey":"settings.retrieval.oneOf.0.reasoning_model.revision.oneOf.1","typeLabel":"null"}],"uniqueKey":"settings.retrieval.oneOf.0.reasoning_model.revision","typeLabel":"integer | null"},"vector_space_id":{"oneOf":[{"description":"Always `null`.","type":"string","uniqueKey":"settings.retrieval.oneOf.0.reasoning_model.vector_space_id.oneOf.0","typeLabel":"string"},{"description":"Always `null`.","type":"null","uniqueKey":"settings.retrieval.oneOf.0.reasoning_model.vector_space_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"settings.retrieval.oneOf.0.reasoning_model.vector_space_id","typeLabel":"string | null"}},"type":"object","uniqueKey":"settings.retrieval.oneOf.0.reasoning_model","typeLabel":"object"},"rerank":{"description":"Rerank model. Its `model` object uses the camelCase key `pluginId`, unlike the rest of this response.","properties":{"enabled":{"description":"Whether retrieved chunks are reranked.","type":"boolean","uniqueKey":"settings.retrieval.oneOf.0.rerank.enabled","typeLabel":"boolean"},"model":{"oneOf":[{"description":"Rerank model selection. `null` when no rerank model is set.","properties":{"model":{"description":"Model name.","type":"string","uniqueKey":"settings.retrieval.oneOf.0.rerank.model.oneOf.0.model","typeLabel":"string"},"pluginId":{"description":"Plugin that provides the model, as `organization/plugin_name`.","type":"string","uniqueKey":"settings.retrieval.oneOf.0.rerank.model.oneOf.0.pluginId","typeLabel":"string"},"provider":{"description":"Provider name inside the plugin.","type":"string","uniqueKey":"settings.retrieval.oneOf.0.rerank.model.oneOf.0.provider","typeLabel":"string"}},"type":"object","uniqueKey":"settings.retrieval.oneOf.0.rerank.model.oneOf.0","typeLabel":"object"},{"description":"Rerank model selection. `null` when no rerank model is set.","properties":{"model":{"description":"Model name.","type":"string"},"pluginId":{"description":"Plugin that provides the model, as `organization/plugin_name`.","type":"string"},"provider":{"description":"Provider name inside the plugin.","type":"string"}},"type":"null","uniqueKey":"settings.retrieval.oneOf.0.rerank.model.oneOf.1","typeLabel":"null"}],"uniqueKey":"settings.retrieval.oneOf.0.rerank.model","typeLabel":"object | null"}},"type":"object","uniqueKey":"settings.retrieval.oneOf.0.rerank","typeLabel":"object"},"revision":{"oneOf":[{"description":"Revision of the live retrieval settings. `null` while the settings are pending.","type":"integer","uniqueKey":"settings.retrieval.oneOf.0.revision.oneOf.0","typeLabel":"integer"},{"description":"Revision of the live retrieval settings. `null` while the settings are pending.","type":"null","uniqueKey":"settings.retrieval.oneOf.0.revision.oneOf.1","typeLabel":"null"}],"uniqueKey":"settings.retrieval.oneOf.0.revision","typeLabel":"integer | null"},"score_threshold":{"description":"Score cutoff that drops low-scoring chunks.","properties":{"enabled":{"description":"Whether the cutoff applies.","type":"boolean","uniqueKey":"settings.retrieval.oneOf.0.score_threshold.enabled","typeLabel":"boolean"},"stage":{"description":"Where the cutoff applies. `mode-final` applies it to the final score of the depth that runs: the rerank score at `fast` and `deep`, the PageIndex score at `research`. `rerank` is the same thing under its old name.","type":"string","uniqueKey":"settings.retrieval.oneOf.0.score_threshold.stage","typeLabel":"string"},"value":{"oneOf":[{"description":"The cutoff score, 0 to 1. `null` when not set.","type":"number","uniqueKey":"settings.retrieval.oneOf.0.score_threshold.value.oneOf.0","typeLabel":"number"},{"description":"The cutoff score, 0 to 1. `null` when not set.","type":"null","uniqueKey":"settings.retrieval.oneOf.0.score_threshold.value.oneOf.1","typeLabel":"null"}],"uniqueKey":"settings.retrieval.oneOf.0.score_threshold.value","typeLabel":"number | null"}},"type":"object","uniqueKey":"settings.retrieval.oneOf.0.score_threshold","typeLabel":"object"},"top_k":{"description":"Maximum number of chunks each search returns.","type":"integer","uniqueKey":"settings.retrieval.oneOf.0.top_k","typeLabel":"integer"}},"type":"object","uniqueKey":"settings.retrieval.oneOf.0","typeLabel":"object"},{"description":"Retrieval settings. The pending selection when one is stored, otherwise the live settings. A pending selection can differ from the settings queries use now. `null` when none is set.","properties":{"default_mode":{"description":"Default depth in the returned retrieval settings: `fast`, `deep`, or `research`. When a query omits `mode`, it uses the published default, which can differ from this value if pending settings are returned.","type":"string"},"reasoning_model":{"description":"System reasoning model. Its `dimension`, `revision`, and `vector_space_id` are always `null`.","properties":{"dimension":{"oneOf":[{"description":"Always `null`.","type":"integer"},{"description":"Always `null`.","type":"null"}]},"model":{"description":"Model name.","type":"string"},"plugin_id":{"description":"Plugin that provides the model, as `organization/plugin_name`.","type":"string"},"provider":{"description":"Provider name inside the plugin.","type":"string"},"revision":{"oneOf":[{"description":"Always `null`.","type":"integer"},{"description":"Always `null`.","type":"null"}]},"vector_space_id":{"oneOf":[{"description":"Always `null`.","type":"string"},{"description":"Always `null`.","type":"null"}]}},"type":"object"},"rerank":{"description":"Rerank model. Its `model` object uses the camelCase key `pluginId`, unlike the rest of this response.","properties":{"enabled":{"description":"Whether retrieved chunks are reranked.","type":"boolean"},"model":{"oneOf":[{"description":"Rerank model selection. `null` when no rerank model is set.","properties":{"model":{"description":"Model name.","type":"string"},"pluginId":{"description":"Plugin that provides the model, as `organization/plugin_name`.","type":"string"},"provider":{"description":"Provider name inside the plugin.","type":"string"}},"type":"object"},{"description":"Rerank model selection. `null` when no rerank model is set.","properties":{"model":{"description":"Model name.","type":"string"},"pluginId":{"description":"Plugin that provides the model, as `organization/plugin_name`.","type":"string"},"provider":{"description":"Provider name inside the plugin.","type":"string"}},"type":"null"}]}},"type":"object"},"revision":{"oneOf":[{"description":"Revision of the live retrieval settings. `null` while the settings are pending.","type":"integer"},{"description":"Revision of the live retrieval settings. `null` while the settings are pending.","type":"null"}]},"score_threshold":{"description":"Score cutoff that drops low-scoring chunks.","properties":{"enabled":{"description":"Whether the cutoff applies.","type":"boolean"},"stage":{"description":"Where the cutoff applies. `mode-final` applies it to the final score of the depth that runs: the rerank score at `fast` and `deep`, the PageIndex score at `research`. `rerank` is the same thing under its old name.","type":"string"},"value":{"oneOf":[{"description":"The cutoff score, 0 to 1. `null` when not set.","type":"number"},{"description":"The cutoff score, 0 to 1. `null` when not set.","type":"null"}]}},"type":"object"},"top_k":{"description":"Maximum number of chunks each search returns.","type":"integer"}},"type":"null","uniqueKey":"settings.retrieval.oneOf.1","typeLabel":"null"}],"uniqueKey":"settings.retrieval","typeLabel":"object | null"},"revision":{"description":"Settings revision. Send it as `expectedRevision` in [Update Knowledge Base Settings](/en/api-reference/settings/update-knowledge-base-settings). The other revision fields in this response are not that value.","type":"integer","uniqueKey":"settings.revision","typeLabel":"integer"}},"type":"object","uniqueKey":"settings","typeLabel":"object"}},"type":"object","uniqueKey":"","typeLabel":"object"},"exampleType":"examples"}},"description":"No migration started: the settings were stored as pending, or models are active and the change needed no migration. `settings` has the same shape as [Get Knowledge Base Settings](/en/api-reference/settings/get-knowledge-base-settings), and its `revision` is the value to send on the next update. While the settings are pending, `active_profile_available` stays `false` and `capabilities.query` stays `false`.","exampleType":"examples"},"744a91c3-fa15-4052-87fb-a5c3512796e0":{"content":{"application/json":{"examples":{"migration":{"title":"migration","value":{"migration":{"candidate_publication_fingerprint":null,"changed_kind":"embedding","checkpoint":"queued","completed_at":null,"created_at":"2026-09-08T03:10:00Z","error_code":null,"evaluation_summary":null,"id":"a7c3e9f1-2b4d-4c6e-8f0a-1b3d5f7a9c2e","knowledge_space_id":"0a9d3c2e-5b6f-4e1a-8c7d-2f3e4a5b6c7d","rebuild_scope":"full-vector-space","run_state":"queued","updated_at":"2026-09-08T03:10:00Z"},"settings":{"active_profile_available":true,"active_profile_revisions":{"embedding":2,"retrieval":3},"capabilities":{"deep":true,"index":true,"ingest":true,"query":true,"research":true,"source_sync":true},"configuration_state":"active","embedding":{"dimension":1536,"model":"text-embedding-3-small","plugin_id":"langgenius/openai","provider":"openai","revision":2,"vector_space_id":"embedding-space-sha256:4f7c2d9a1b3e5f60718293a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b3c4"},"issues":[],"retrieval":{"default_mode":"fast","reasoning_model":{"dimension":null,"model":"gpt-4.1-mini","plugin_id":"langgenius/openai","provider":"openai","revision":null,"vector_space_id":null},"rerank":{"enabled":true,"model":{"model":"rerank-v3.5","pluginId":"langgenius/cohere","provider":"cohere"}},"revision":3,"score_threshold":{"enabled":false,"stage":"mode-final","value":null},"top_k":10},"revision":7}}}},"schema":{"properties":{"migration":{"type":"object","description":"The migration this change started. Follow it with [Get Settings Migration](/en/api-reference/settings/get-settings-migration).","properties":{"candidate_publication_fingerprint":{"oneOf":[{"description":"Internal. Not needed to follow the migration.","type":"string","uniqueKey":"migration.candidate_publication_fingerprint.oneOf.0","typeLabel":"string"},{"description":"Internal. Not needed to follow the migration.","type":"null","uniqueKey":"migration.candidate_publication_fingerprint.oneOf.1","typeLabel":"null"}],"uniqueKey":"migration.candidate_publication_fingerprint","typeLabel":"string | null"},"changed_kind":{"description":"What the change touched: `embedding` or `retrieval`.","type":"string","uniqueKey":"migration.changed_kind","typeLabel":"string"},"checkpoint":{"description":"Last step reached: `queued`, `candidate-built`, `evaluated`, or `activated`.","type":"string","uniqueKey":"migration.checkpoint","typeLabel":"string"},"completed_at":{"oneOf":[{"description":"When the migration ended (`succeeded`, `failed`, or `canceled`), ISO 8601. `null` while it runs.","type":"string","uniqueKey":"migration.completed_at.oneOf.0","typeLabel":"string"},{"description":"When the migration ended (`succeeded`, `failed`, or `canceled`), ISO 8601. `null` while it runs.","type":"null","uniqueKey":"migration.completed_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"migration.completed_at","typeLabel":"string | null"},"created_at":{"description":"When the migration started, ISO 8601.","type":"string","uniqueKey":"migration.created_at","typeLabel":"string"},"error_code":{"oneOf":[{"description":"Code of the last failure, for example `PROFILE_MIGRATION_ATTEMPTS_EXHAUSTED` or `VECTOR_SPACE_QUOTA_EXCEEDED`. `null` when none.","type":"string","uniqueKey":"migration.error_code.oneOf.0","typeLabel":"string"},{"description":"Code of the last failure, for example `PROFILE_MIGRATION_ATTEMPTS_EXHAUSTED` or `VECTOR_SPACE_QUOTA_EXCEEDED`. `null` when none.","type":"null","uniqueKey":"migration.error_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"migration.error_code","typeLabel":"string | null"},"evaluation_summary":{"oneOf":[{"description":"Flat map of evaluation results recorded for the rebuilt index. `null` when none was recorded.","type":"object","uniqueKey":"migration.evaluation_summary.oneOf.0","typeLabel":"object"},{"description":"Flat map of evaluation results recorded for the rebuilt index. `null` when none was recorded.","type":"null","uniqueKey":"migration.evaluation_summary.oneOf.1","typeLabel":"null"}],"uniqueKey":"migration.evaluation_summary","typeLabel":"object | null"},"id":{"description":"Migration ID. Pass it to [Get Settings Migration](/en/api-reference/settings/get-settings-migration).","type":"string","uniqueKey":"migration.id","typeLabel":"string"},"knowledge_space_id":{"description":"Internal ID of the knowledge base. Not the knowledge base ID in the path.","type":"string","uniqueKey":"migration.knowledge_space_id","typeLabel":"string"},"rebuild_scope":{"description":"What the migration rebuilds:\n\n- `full-vector-space`: an embedding model change re-embeds every document.\n- `full-page-index-summary-outline`: a reasoning model change rebuilds the page index, summaries, and outlines.\n- `clone-publication`: any other retrieval change reuses the current index.","type":"string","uniqueKey":"migration.rebuild_scope","typeLabel":"string"},"run_state":{"description":"Progress of the migration:\n\n- `queued`, `running`: in progress.\n- `succeeded`: the new settings are in effect.\n- `failed`: stopped. `error_code` says why. Check the models in [Get Knowledge Base Settings](/en/api-reference/settings/get-knowledge-base-settings) before trying the change again.\n- `canceled`: a newer change of the same kind replaced this migration before it finished. Follow the newer one.","type":"string","uniqueKey":"migration.run_state","typeLabel":"string"},"updated_at":{"description":"When the migration last changed, ISO 8601.","type":"string","uniqueKey":"migration.updated_at","typeLabel":"string"}},"uniqueKey":"migration","typeLabel":"object"},"settings":{"properties":{"active_profile_available":{"description":"`true` when both an embedding model and retrieval settings are live, which happens after the first document is indexed.","type":"boolean","uniqueKey":"settings.active_profile_available","typeLabel":"boolean"},"active_profile_revisions":{"description":"Revisions of the live models. Each is `null` until the first document is indexed. Once a profile is active, a change through [Update Knowledge Base Settings](/en/api-reference/settings/update-knowledge-base-settings) runs as a migration.","properties":{"embedding":{"oneOf":[{"description":"Revision of the live embedding model.","type":"integer","uniqueKey":"settings.active_profile_revisions.embedding.oneOf.0","typeLabel":"integer"},{"description":"Revision of the live embedding model.","type":"null","uniqueKey":"settings.active_profile_revisions.embedding.oneOf.1","typeLabel":"null"}],"uniqueKey":"settings.active_profile_revisions.embedding","typeLabel":"integer | null"},"retrieval":{"oneOf":[{"description":"Revision of the live retrieval settings.","type":"integer","uniqueKey":"settings.active_profile_revisions.retrieval.oneOf.0","typeLabel":"integer"},{"description":"Revision of the live retrieval settings.","type":"null","uniqueKey":"settings.active_profile_revisions.retrieval.oneOf.1","typeLabel":"null"}],"uniqueKey":"settings.active_profile_revisions.retrieval","typeLabel":"integer | null"}},"type":"object","uniqueKey":"settings.active_profile_revisions","typeLabel":"object"},"capabilities":{"description":"Readiness of the published settings. Three flags stand for retrieval depths, with `query` standing for `fast`.\n\nTo check readiness for a specific depth, send that depth explicitly as `mode` and check its flag. Do not use a pending `retrieval.default_mode` to identify the depth of a query that omits `mode`.","properties":{"deep":{"description":"Queries at `deep` depth can run.","type":"boolean","uniqueKey":"settings.capabilities.deep","typeLabel":"boolean"},"index":{"description":"Documents can be indexed. The models are live.","type":"boolean","uniqueKey":"settings.capabilities.index","typeLabel":"boolean"},"ingest":{"description":"Documents can be added. The models are live, or complete pending settings are ready to be activated by the first document.","type":"boolean","uniqueKey":"settings.capabilities.ingest","typeLabel":"boolean"},"query":{"description":"Queries at `fast` depth can run.","type":"boolean","uniqueKey":"settings.capabilities.query","typeLabel":"boolean"},"research":{"description":"Queries at `research` depth can run.","type":"boolean","uniqueKey":"settings.capabilities.research","typeLabel":"boolean"},"source_sync":{"description":"Sources can sync. Same condition as `ingest`.","type":"boolean","uniqueKey":"settings.capabilities.source_sync","typeLabel":"boolean"}},"type":"object","uniqueKey":"settings.capabilities","typeLabel":"object"},"configuration_state":{"description":"`active` when an embedding model and complete retrieval settings (with an enabled rerank model) are stored. `setup-required` when either is missing. `validation-failed` when the pending settings failed validation while the first document was indexed. `issues` names the settings that failed.","type":"string","uniqueKey":"settings.configuration_state","typeLabel":"string"},"embedding":{"oneOf":[{"description":"Embedding model. The pending selection when one is stored, otherwise the live model. A pending selection can differ from the model queries use now. `null` when none is set.\n\nIts `dimension`, `revision`, and `vector_space_id` are informational, and no operation takes them.","properties":{"dimension":{"oneOf":[{"description":"Vector dimension, observed when the model is first used. `null` until the model is live.","type":"integer","uniqueKey":"settings.embedding.oneOf.0.dimension.oneOf.0","typeLabel":"integer"},{"description":"Vector dimension, observed when the model is first used. `null` until the model is live.","type":"null","uniqueKey":"settings.embedding.oneOf.0.dimension.oneOf.1","typeLabel":"null"}],"uniqueKey":"settings.embedding.oneOf.0.dimension","typeLabel":"integer | null"},"model":{"description":"Model name.","type":"string","uniqueKey":"settings.embedding.oneOf.0.model","typeLabel":"string"},"plugin_id":{"description":"Plugin that provides the model, as `organization/plugin_name`.","type":"string","uniqueKey":"settings.embedding.oneOf.0.plugin_id","typeLabel":"string"},"provider":{"description":"Provider name inside the plugin.","type":"string","uniqueKey":"settings.embedding.oneOf.0.provider","typeLabel":"string"},"revision":{"oneOf":[{"description":"Revision of the live embedding model. `null` until the model is live.","type":"integer","uniqueKey":"settings.embedding.oneOf.0.revision.oneOf.0","typeLabel":"integer"},{"description":"Revision of the live embedding model. `null` until the model is live.","type":"null","uniqueKey":"settings.embedding.oneOf.0.revision.oneOf.1","typeLabel":"null"}],"uniqueKey":"settings.embedding.oneOf.0.revision","typeLabel":"integer | null"},"vector_space_id":{"oneOf":[{"description":"Identifies where the model's vectors are stored. `null` until the model is live.","type":"string","uniqueKey":"settings.embedding.oneOf.0.vector_space_id.oneOf.0","typeLabel":"string"},{"description":"Identifies where the model's vectors are stored. `null` until the model is live.","type":"null","uniqueKey":"settings.embedding.oneOf.0.vector_space_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"settings.embedding.oneOf.0.vector_space_id","typeLabel":"string | null"}},"type":"object","uniqueKey":"settings.embedding.oneOf.0","typeLabel":"object"},{"description":"Embedding model. The pending selection when one is stored, otherwise the live model. A pending selection can differ from the model queries use now. `null` when none is set.\n\nIts `dimension`, `revision`, and `vector_space_id` are informational, and no operation takes them.","properties":{"dimension":{"oneOf":[{"description":"Vector dimension, observed when the model is first used. `null` until the model is live.","type":"integer"},{"description":"Vector dimension, observed when the model is first used. `null` until the model is live.","type":"null"}]},"model":{"description":"Model name.","type":"string"},"plugin_id":{"description":"Plugin that provides the model, as `organization/plugin_name`.","type":"string"},"provider":{"description":"Provider name inside the plugin.","type":"string"},"revision":{"oneOf":[{"description":"Revision of the live embedding model. `null` until the model is live.","type":"integer"},{"description":"Revision of the live embedding model. `null` until the model is live.","type":"null"}]},"vector_space_id":{"oneOf":[{"description":"Identifies where the model's vectors are stored. `null` until the model is live.","type":"string"},{"description":"Identifies where the model's vectors are stored. `null` until the model is live.","type":"null"}]}},"type":"null","uniqueKey":"settings.embedding.oneOf.1","typeLabel":"null"}],"uniqueKey":"settings.embedding","typeLabel":"object | null"},"issues":{"description":"What keeps the knowledge base from being ready. Empty when nothing does.","items":{"properties":{"code":{"description":"What is wrong with the setting:\n\n- `missing`: the selection is absent, or rerank is disabled.\n- `validation_failed`, `unavailable`, or `incompatible`: the pending settings failed validation. For `incompatible`, check the model's supported task, embedding dimension, and whether the provider returned the selected model.\n- `binding_missing`: the published content is not ready to use the configured models. Check indexing progress in Dify.\n- `unavailable` on `publication`: the published content is not ready for every depth.","type":"string","uniqueKey":"settings.issues.items.[INDEX].code","typeLabel":"string"},"field":{"description":"The setting concerned: `embedding`, `reasoning`, `rerank`, or `publication` (the published content).","type":"string","uniqueKey":"settings.issues.items.[INDEX].field","typeLabel":"string"},"retryable":{"description":"Whether waiting and retrying can clear the issue without a settings change.","type":"boolean","uniqueKey":"settings.issues.items.[INDEX].retryable","typeLabel":"boolean"}},"type":"object","uniqueKey":"settings.issues.items.[INDEX]","typeLabel":"object"},"type":"array","uniqueKey":"settings.issues","typeLabel":"object[]"},"retrieval":{"oneOf":[{"description":"Retrieval settings. The pending selection when one is stored, otherwise the live settings. A pending selection can differ from the settings queries use now. `null` when none is set.","properties":{"default_mode":{"description":"Default depth in the returned retrieval settings: `fast`, `deep`, or `research`. When a query omits `mode`, it uses the published default, which can differ from this value if pending settings are returned.","type":"string","uniqueKey":"settings.retrieval.oneOf.0.default_mode","typeLabel":"string"},"reasoning_model":{"description":"System reasoning model. Its `dimension`, `revision`, and `vector_space_id` are always `null`.","properties":{"dimension":{"oneOf":[{"description":"Always `null`.","type":"integer","uniqueKey":"settings.retrieval.oneOf.0.reasoning_model.dimension.oneOf.0","typeLabel":"integer"},{"description":"Always `null`.","type":"null","uniqueKey":"settings.retrieval.oneOf.0.reasoning_model.dimension.oneOf.1","typeLabel":"null"}],"uniqueKey":"settings.retrieval.oneOf.0.reasoning_model.dimension","typeLabel":"integer | null"},"model":{"description":"Model name.","type":"string","uniqueKey":"settings.retrieval.oneOf.0.reasoning_model.model","typeLabel":"string"},"plugin_id":{"description":"Plugin that provides the model, as `organization/plugin_name`.","type":"string","uniqueKey":"settings.retrieval.oneOf.0.reasoning_model.plugin_id","typeLabel":"string"},"provider":{"description":"Provider name inside the plugin.","type":"string","uniqueKey":"settings.retrieval.oneOf.0.reasoning_model.provider","typeLabel":"string"},"revision":{"oneOf":[{"description":"Always `null`.","type":"integer","uniqueKey":"settings.retrieval.oneOf.0.reasoning_model.revision.oneOf.0","typeLabel":"integer"},{"description":"Always `null`.","type":"null","uniqueKey":"settings.retrieval.oneOf.0.reasoning_model.revision.oneOf.1","typeLabel":"null"}],"uniqueKey":"settings.retrieval.oneOf.0.reasoning_model.revision","typeLabel":"integer | null"},"vector_space_id":{"oneOf":[{"description":"Always `null`.","type":"string","uniqueKey":"settings.retrieval.oneOf.0.reasoning_model.vector_space_id.oneOf.0","typeLabel":"string"},{"description":"Always `null`.","type":"null","uniqueKey":"settings.retrieval.oneOf.0.reasoning_model.vector_space_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"settings.retrieval.oneOf.0.reasoning_model.vector_space_id","typeLabel":"string | null"}},"type":"object","uniqueKey":"settings.retrieval.oneOf.0.reasoning_model","typeLabel":"object"},"rerank":{"description":"Rerank model. Its `model` object uses the camelCase key `pluginId`, unlike the rest of this response.","properties":{"enabled":{"description":"Whether retrieved chunks are reranked.","type":"boolean","uniqueKey":"settings.retrieval.oneOf.0.rerank.enabled","typeLabel":"boolean"},"model":{"oneOf":[{"description":"Rerank model selection. `null` when no rerank model is set.","properties":{"model":{"description":"Model name.","type":"string","uniqueKey":"settings.retrieval.oneOf.0.rerank.model.oneOf.0.model","typeLabel":"string"},"pluginId":{"description":"Plugin that provides the model, as `organization/plugin_name`.","type":"string","uniqueKey":"settings.retrieval.oneOf.0.rerank.model.oneOf.0.pluginId","typeLabel":"string"},"provider":{"description":"Provider name inside the plugin.","type":"string","uniqueKey":"settings.retrieval.oneOf.0.rerank.model.oneOf.0.provider","typeLabel":"string"}},"type":"object","uniqueKey":"settings.retrieval.oneOf.0.rerank.model.oneOf.0","typeLabel":"object"},{"description":"Rerank model selection. `null` when no rerank model is set.","properties":{"model":{"description":"Model name.","type":"string"},"pluginId":{"description":"Plugin that provides the model, as `organization/plugin_name`.","type":"string"},"provider":{"description":"Provider name inside the plugin.","type":"string"}},"type":"null","uniqueKey":"settings.retrieval.oneOf.0.rerank.model.oneOf.1","typeLabel":"null"}],"uniqueKey":"settings.retrieval.oneOf.0.rerank.model","typeLabel":"object | null"}},"type":"object","uniqueKey":"settings.retrieval.oneOf.0.rerank","typeLabel":"object"},"revision":{"oneOf":[{"description":"Revision of the live retrieval settings. `null` while the settings are pending.","type":"integer","uniqueKey":"settings.retrieval.oneOf.0.revision.oneOf.0","typeLabel":"integer"},{"description":"Revision of the live retrieval settings. `null` while the settings are pending.","type":"null","uniqueKey":"settings.retrieval.oneOf.0.revision.oneOf.1","typeLabel":"null"}],"uniqueKey":"settings.retrieval.oneOf.0.revision","typeLabel":"integer | null"},"score_threshold":{"description":"Score cutoff that drops low-scoring chunks.","properties":{"enabled":{"description":"Whether the cutoff applies.","type":"boolean","uniqueKey":"settings.retrieval.oneOf.0.score_threshold.enabled","typeLabel":"boolean"},"stage":{"description":"Where the cutoff applies. `mode-final` applies it to the final score of the depth that runs: the rerank score at `fast` and `deep`, the PageIndex score at `research`. `rerank` is the same thing under its old name.","type":"string","uniqueKey":"settings.retrieval.oneOf.0.score_threshold.stage","typeLabel":"string"},"value":{"oneOf":[{"description":"The cutoff score, 0 to 1. `null` when not set.","type":"number","uniqueKey":"settings.retrieval.oneOf.0.score_threshold.value.oneOf.0","typeLabel":"number"},{"description":"The cutoff score, 0 to 1. `null` when not set.","type":"null","uniqueKey":"settings.retrieval.oneOf.0.score_threshold.value.oneOf.1","typeLabel":"null"}],"uniqueKey":"settings.retrieval.oneOf.0.score_threshold.value","typeLabel":"number | null"}},"type":"object","uniqueKey":"settings.retrieval.oneOf.0.score_threshold","typeLabel":"object"},"top_k":{"description":"Maximum number of chunks each search returns.","type":"integer","uniqueKey":"settings.retrieval.oneOf.0.top_k","typeLabel":"integer"}},"type":"object","uniqueKey":"settings.retrieval.oneOf.0","typeLabel":"object"},{"description":"Retrieval settings. The pending selection when one is stored, otherwise the live settings. A pending selection can differ from the settings queries use now. `null` when none is set.","properties":{"default_mode":{"description":"Default depth in the returned retrieval settings: `fast`, `deep`, or `research`. When a query omits `mode`, it uses the published default, which can differ from this value if pending settings are returned.","type":"string"},"reasoning_model":{"description":"System reasoning model. Its `dimension`, `revision`, and `vector_space_id` are always `null`.","properties":{"dimension":{"oneOf":[{"description":"Always `null`.","type":"integer"},{"description":"Always `null`.","type":"null"}]},"model":{"description":"Model name.","type":"string"},"plugin_id":{"description":"Plugin that provides the model, as `organization/plugin_name`.","type":"string"},"provider":{"description":"Provider name inside the plugin.","type":"string"},"revision":{"oneOf":[{"description":"Always `null`.","type":"integer"},{"description":"Always `null`.","type":"null"}]},"vector_space_id":{"oneOf":[{"description":"Always `null`.","type":"string"},{"description":"Always `null`.","type":"null"}]}},"type":"object"},"rerank":{"description":"Rerank model. Its `model` object uses the camelCase key `pluginId`, unlike the rest of this response.","properties":{"enabled":{"description":"Whether retrieved chunks are reranked.","type":"boolean"},"model":{"oneOf":[{"description":"Rerank model selection. `null` when no rerank model is set.","properties":{"model":{"description":"Model name.","type":"string"},"pluginId":{"description":"Plugin that provides the model, as `organization/plugin_name`.","type":"string"},"provider":{"description":"Provider name inside the plugin.","type":"string"}},"type":"object"},{"description":"Rerank model selection. `null` when no rerank model is set.","properties":{"model":{"description":"Model name.","type":"string"},"pluginId":{"description":"Plugin that provides the model, as `organization/plugin_name`.","type":"string"},"provider":{"description":"Provider name inside the plugin.","type":"string"}},"type":"null"}]}},"type":"object"},"revision":{"oneOf":[{"description":"Revision of the live retrieval settings. `null` while the settings are pending.","type":"integer"},{"description":"Revision of the live retrieval settings. `null` while the settings are pending.","type":"null"}]},"score_threshold":{"description":"Score cutoff that drops low-scoring chunks.","properties":{"enabled":{"description":"Whether the cutoff applies.","type":"boolean"},"stage":{"description":"Where the cutoff applies. `mode-final` applies it to the final score of the depth that runs: the rerank score at `fast` and `deep`, the PageIndex score at `research`. `rerank` is the same thing under its old name.","type":"string"},"value":{"oneOf":[{"description":"The cutoff score, 0 to 1. `null` when not set.","type":"number"},{"description":"The cutoff score, 0 to 1. `null` when not set.","type":"null"}]}},"type":"object"},"top_k":{"description":"Maximum number of chunks each search returns.","type":"integer"}},"type":"null","uniqueKey":"settings.retrieval.oneOf.1","typeLabel":"null"}],"uniqueKey":"settings.retrieval","typeLabel":"object | null"},"revision":{"description":"Settings revision. Send it as `expectedRevision` in [Update Knowledge Base Settings](/en/api-reference/settings/update-knowledge-base-settings). The other revision fields in this response are not that value.","type":"integer","uniqueKey":"settings.revision","typeLabel":"integer"}},"type":"object","uniqueKey":"settings","typeLabel":"object"}},"type":"object","uniqueKey":"","typeLabel":"object"},"exampleType":"examples"}},"description":"The change started a migration, described in `migration`. `settings` has the same shape as [Get Knowledge Base Settings](/en/api-reference/settings/get-knowledge-base-settings).","exampleType":"examples"},"e6b3c9f7-27ee-4492-955d-313d745d8a52":{"content":{"application/json":{"examples":{"knowledge_fs_invalid_request":{"title":"knowledge_fs_invalid_request","value":{"code":"knowledge_fs_invalid_request","message":"Agent Knowledge Base request is invalid.","status":400,"violations":[{"field":["expectedRevision"],"type":"missing"}]}},"knowledge_fs_invalid_request_upstream":{"title":"knowledge_fs_invalid_request_upstream","value":{"code":"knowledge_fs_invalid_request","failure":{"category":"validation","code":"KNOWLEDGE_FS_INVALID_REQUEST","message":"The Agent Knowledge Base request is invalid.","retryPolicy":"never","traceId":"9b7d3e1a-4c2f-4a8e-b6d0-5f1e2c3d4a5b"},"message":"The Agent Knowledge Base request is invalid.","status":400}}},"exampleType":"examples"}},"description":"- `knowledge_fs_invalid_request`: the request failed validation. `violations` names each failing field. Causes:\n - An unknown key, or a field outside its constraints.\n - Neither `embedding` nor `retrieval` was sent.\n - `retrieval` without an enabled rerank model.\n- `knowledge_fs_invalid_request`: the settings were rejected, for example `scoreThreshold.enabled: true` without a `value`.","exampleType":"examples"},"e3a87450-4885-4e1d-a09e-fe8c631a157c":{"content":{"application/json":{"examples":{"knowledge_fs_invalid_credential":{"title":"knowledge_fs_invalid_credential","value":{"code":"knowledge_fs_invalid_credential","message":"Invalid Agent Knowledge Base service credential.","status":401}},"unauthorized_1":{"title":"unauthorized_1","value":{"code":"unauthorized","message":"Authorization header must be provided and start with 'Bearer'","status":401}},"unauthorized_2":{"title":"unauthorized_2","value":{"code":"unauthorized","message":"Access token is invalid","status":401}}},"exampleType":"examples"}},"description":"- `unauthorized`: the `Authorization` header is missing, or the key is unknown or not a knowledge base API key.\n- `knowledge_fs_invalid_credential`: the key is valid, but no knowledge base with this ID exists in the key's workspace, or the key is not tied to a workspace.","exampleType":"examples"},"dca57a53-1097-4b59-95a8-6ec63c0fdcc6":{"content":{"application/json":{"examples":{"forbidden":{"title":"forbidden","value":{"code":"forbidden","message":"Sorry, you have reached the knowledge base request rate limit of your subscription.","status":403}},"knowledge_fs_access_denied":{"title":"knowledge_fs_access_denied","value":{"code":"knowledge_fs_access_denied","message":"Agent Knowledge Base operation is not allowed.","status":403}}},"exampleType":"examples"}},"description":"- `knowledge_fs_access_denied`: the key is scoped to other knowledge bases, **API access** is off for this knowledge base, or the knowledge base is not active.\n- `knowledge_fs_access_denied`: the request's authorization was rejected.\n- `forbidden`: on Dify Cloud, the workspace has reached the knowledge base request rate limit of its subscription. Every call counts, reads included.","exampleType":"examples"},"ab53a8c9-e66a-4019-8c05-a70ed5f02a34":{"content":{"application/json":{"examples":{"knowledge_fs_resource_not_found":{"title":"knowledge_fs_resource_not_found","value":{"code":"knowledge_fs_resource_not_found","failure":{"category":"not_found","code":"KNOWLEDGE_FS_NOT_FOUND","message":"The requested Agent Knowledge Base resource was not found.","retryPolicy":"never","traceId":"9b7d3e1a-4c2f-4a8e-b6d0-5f1e2c3d4a5b"},"message":"The requested Agent Knowledge Base resource was not found.","status":404}},"not_found":{"title":"not_found","value":{"code":"not_found","message":"The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.","status":404}}},"exampleType":"examples"}},"description":"- `knowledge_fs_resource_not_found`: the knowledge base ID isn't recognized.\n- `not_found`: the Agent Knowledge Base feature is turned off on this deployment.","exampleType":"examples"},"58821367-0f2b-4c73-b05c-4ff8112f5986":{"content":{"application/json":{"examples":{"knowledge_fs_conflict":{"title":"knowledge_fs_conflict","value":{"code":"knowledge_fs_conflict","failure":{"action":"retry","category":"conflict","code":"KNOWLEDGE_FS_CONFLICT","message":"The Agent Knowledge Base operation conflicts with the current resource state.","retryPolicy":"manual","traceId":"9b7d3e1a-4c2f-4a8e-b6d0-5f1e2c3d4a5b"},"message":"The Agent Knowledge Base operation conflicts with the current resource state.","status":409}},"knowledge_space_settings_revision_conflict":{"title":"knowledge_space_settings_revision_conflict","value":{"code":"knowledge_fs_conflict","failure":{"action":"retry","category":"conflict","code":"KNOWLEDGE_SPACE_SETTINGS_REVISION_CONFLICT","message":"Knowledge space settings have changed. Reload the latest settings and review your changes before saving again.","retryPolicy":"manual","traceId":"5e2a9c17-3b4d-4f60-8a1b-2c3d4e5f6a7b"},"message":"Knowledge space settings have changed. Reload the latest settings and review your changes before saving again.","status":409}}},"exampleType":"examples"}},"description":"- `knowledge_fs_conflict`: the body's `failure.code` names the cause:\n - `KNOWLEDGE_SPACE_SETTINGS_REVISION_CONFLICT`: `expectedRevision` is not the current `revision`, for example because another update landed first. Re-read [Get Knowledge Base Settings](/en/api-reference/settings/get-knowledge-base-settings) and retry with the `revision` it returns.\n - `KNOWLEDGE_SPACE_SETTINGS_COMPILATION_IN_PROGRESS`: a document is being processed. Wait for processing to finish, or cancel the indexing tasks, before changing models.\n - `KNOWLEDGE_SPACE_SETTINGS_MIGRATION_REQUIRED`: the change needs a migration that this call could not start, because models became active or the content is not published yet. Re-read the settings before trying again.\n - `KNOWLEDGE_FS_CONFLICT`: before models are active, `retrieval` was sent for a knowledge base with no embedding model. Configure one before sending `retrieval`. Once models are active, the same code means the migration could not be requested or retried.","exampleType":"examples"},"3468ffd0-48d6-49b4-95ab-8fa84a6fe38e":{"content":{"application/json":{"examples":{"knowledge_fs_request_rejected":{"title":"knowledge_fs_request_rejected","value":{"code":"knowledge_fs_request_rejected","message":"Agent Knowledge Base request was rejected.","status":422}}},"exampleType":"examples"}},"description":"- `knowledge_fs_request_rejected`: models are active and the body sends both `embedding` and `retrieval`. Send them in separate calls. This body carries neither `failure` nor `violations`.\n- `knowledge_fs_request_rejected`: once models are active, the selected model failed the preflight check. The body carries `failure` with a `MODEL_*` or `EMBEDDING_DIMENSION_*` code.","exampleType":"examples"},"a88ff7b7-52c4-44dd-98f4-2b74d0b91981":{"content":{"application/json":{"examples":{"knowledge_fs_upstream_unavailable":{"title":"knowledge_fs_upstream_unavailable","value":{"code":"knowledge_fs_upstream_unavailable","message":"Agent Knowledge Base is unavailable.","status":502}},"knowledge_fs_upstream_unavailable_upstream":{"title":"knowledge_fs_upstream_unavailable_upstream","value":{"code":"knowledge_fs_upstream_unavailable","failure":{"action":"contact_admin","category":"internal","code":"KNOWLEDGE_FS_INTERNAL_ERROR","message":"Agent Knowledge Base could not complete the operation. Try again, or contact an administrator with the error reference.","retryPolicy":"manual","traceId":"9b7d3e1a-4c2f-4a8e-b6d0-5f1e2c3d4a5b"},"message":"Agent Knowledge Base could not complete the operation. Try again, or contact an administrator with the error reference.","status":502}}},"exampleType":"examples"}},"description":"- `knowledge_fs_upstream_unavailable`: no answer came back in time, or the answer couldn't be read.\n\nThe settings may have been stored. Read [Get Knowledge Base Settings](/en/api-reference/settings/get-knowledge-base-settings) and compare the values and `revision` before sending another update. A changed revision alone does not confirm that your update succeeded or that the models passed validation.","exampleType":"examples"},"0dab7141-5110-45cb-8ffa-0feb26d756c2":{"content":{"application/json":{"examples":{"knowledge_fs_operation_unavailable":{"title":"knowledge_fs_operation_unavailable","value":{"code":"knowledge_fs_operation_unavailable","message":"Agent Knowledge Base operation is not available.","status":503}},"knowledge_fs_operation_unavailable_upstream":{"title":"knowledge_fs_operation_unavailable_upstream","value":{"code":"knowledge_fs_operation_unavailable","failure":{"action":"retry","category":"dependency","code":"KNOWLEDGE_FS_UNAVAILABLE","message":"A service required by Agent Knowledge Base is temporarily unavailable.","retryPolicy":"manual","traceId":"5e2a9c17-3b4d-4f60-8a1b-2c3d4e5f6a7b"},"message":"A service required by Agent Knowledge Base is temporarily unavailable.","status":503}}},"exampleType":"examples"}},"description":"- `knowledge_fs_operation_unavailable`: the Agent Knowledge Base feature is not set up for this workspace, this operation is not available on the deployment, or the key's access to this knowledge base changed while the request was being authorized. Try again.\n- `knowledge_fs_operation_unavailable`: the request can't be served right now. Follow `failure.retryPolicy`.\n- `knowledge_fs_operation_unavailable`: `retrieval` was sent while an embedding model is active but no retrieval settings are, so the change cannot be routed.\n- `knowledge_fs_operation_unavailable`: the model preflight check or the migration can't be started right now.","exampleType":"examples"}},"security":{"29ce23f5-8a64-466c-81bd-611670415f08":{"ApiKeyAuth":{"bearerFormat":"API_KEY","description":"Every request authenticates with an API key: `Authorization: Bearer {API_KEY}`. App endpoints take an app API key; knowledge endpoints take a knowledge base API key ([Get Started](/en/api-reference/guides/get-started)).\n\nKeep keys server-side; never embed them in client code. Requests with a missing or invalid key fail with HTTP `401` (`unauthorized`).","scheme":"bearer","type":"http","scopes":[],"schemeName":"ApiKeyAuth"}}},"servers":{"696a2dcf-6859-4f3c-8441-26f9f0d21e85":{"description":"Base URL of the Dify Service API. For self-hosted deployments, replace it with your own API base URL.","url":"https://{api_base_url}","variables":{"api_base_url":{"default":"api.dify.ai/v1","description":"Host and path of the API base URL, without the `https://` prefix."}}}},"processedSecurityOptions":[{"schemes":[{"scheme":{"bearerFormat":"API_KEY","description":"Every request authenticates with an API key: `Authorization: Bearer {API_KEY}`. App endpoints take an app API key; knowledge endpoints take a knowledge base API key ([Get Started](/en/api-reference/guides/get-started)).\n\nKeep keys server-side; never embed them in client code. Requests with a missing or invalid key fail with HTTP `401` (`unauthorized`).","scheme":"bearer","type":"http","scopes":[],"schemeName":"ApiKeyAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Every request authenticates with an API key: `Authorization: Bearer {API_KEY}`. App endpoints take an app API key; knowledge endpoints take a knowledge base API key ([Get Started](/en/api-reference/guides/get-started)).\n\nKeep keys server-side; never embed them in client code. Requests with a missing or invalid key fail with HTTP `401` (`unauthorized`).","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"ApiKeyAuth","name":"Authorization"}],"title":"ApiKeyAuth"}]},"originalFileLocation":"en/api-reference/openapi_service.json"},"subdomain":"dify-6c0370d8","siteName":"Dify Docs","title":"Update Knowledge Base Settings - Dify Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"originalFileLocation":"en/api-reference/settings/update-knowledge-base-settings.mdx","locale":"en"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Changes the knowledge base\u0026#x27;s embedding model or retrieval settings. For setting models before and after content is indexed, see Change Models or Retrieval Settings. What happens depends on whether models are active yet: - Before the first document is indexed, the settings are stored as pending, and the call answers 200. They are validated and take effect when the first document is indexed. Omitting embedding or retrieval leaves that group at its pending value. - Once models are active, the call returns 202 and the change runs as a migration. An embedding or reasoning model change rebuilds the content it affects, while other retrieval changes take effect without a rebuild. Poll Get Settings Migration with migration.id until it ends, then read the final settings. A change that needs no migration, such as resending the active embedding model, returns 200. Rules: - Send at least one of embedding or retrieval. Once models are active, send only one of them per call. - retrieval cannot be stored without an enabled rerank model, so send rerank.enabled: true and a rerank.model with it. - retrieval needs an embedding model, sent in the same call or stored earlier. Otherwise the call answers 409. - scoreThreshold.enabled: true requires a scoreThreshold.value.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Dify Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/dify-6c0370d8/tWYYD8GkT0MUJV0z/_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/dify-6c0370d8/tWYYD8GkT0MUJV0z/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/dify-6c0370d8/tWYYD8GkT0MUJV0z/_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/dify-6c0370d8/tWYYD8GkT0MUJV0z/_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/dify-6c0370d8/tWYYD8GkT0MUJV0z/_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/dify-6c0370d8/tWYYD8GkT0MUJV0z/_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/dify-6c0370d8/tWYYD8GkT0MUJV0z/_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/dify-6c0370d8/tWYYD8GkT0MUJV0z/_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/dify-6c0370d8/tWYYD8GkT0MUJV0z/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Update Knowledge Base Settings - Dify Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Changes the knowledge base\u0026#x27;s embedding model or retrieval settings. For setting models before and after content is indexed, see Change Models or Retrieval Settings. What happens depends on whether models are active yet: - Before the first document is indexed, the settings are stored as pending, and the call answers 200. They are validated and take effect when the first document is indexed. Omitting embedding or retrieval leaves that group at its pending value. - Once models are active, the call returns 202 and the change runs as a migration. An embedding or reasoning model change rebuilds the content it affects, while other retrieval changes take effect without a rebuild. Poll Get Settings Migration with migration.id until it ends, then read the final settings. A change that needs no migration, such as resending the active embedding model, returns 200. Rules: - Send at least one of embedding or retrieval. Once models are active, send only one of them per call. - retrieval cannot be stored without an enabled rerank model, so send rerank.enabled: true and a rerank.model with it. - retrieval needs an embedding model, sent in the same call or stored earlier. Otherwise the call answers 409. - scoreThreshold.enabled: true requires a scoreThreshold.value.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Dify Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.dify.ai/en/api-reference/settings/update-knowledge-base-settings\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://dify-6c0370d8.mintlify.app/_mintlify/api/og/v2?division=Settings\u0026amp;title=Update+Knowledge+Base+Settings\u0026amp;description=Changes+the+knowledge+base%27s+embedding+model+or+retrieval+settings.+For+setting+models+before+and+after+content+is+indexed%2C+see+%5BChange+Models+or+Retrieval+Sett\u0026amp;theme=fc270d2c96587e5833522f0e\u0026amp;signature=42fd36ea8c9178a609919ba91b1cef943ee43d857f89960863b5fbd69a4bbe0e\">\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 Knowledge Base Settings - Dify Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Changes the knowledge base\u0026#x27;s embedding model or retrieval settings. For setting models before and after content is indexed, see Change Models or Retrieval Settings. What happens depends on whether models are active yet: - Before the first document is indexed, the settings are stored as pending, and the call answers 200. They are validated and take effect when the first document is indexed. Omitting embedding or retrieval leaves that group at its pending value. - Once models are active, the call returns 202 and the change runs as a migration. An embedding or reasoning model change rebuilds the content it affects, while other retrieval changes take effect without a rebuild. Poll Get Settings Migration with migration.id until it ends, then read the final settings. A change that needs no migration, such as resending the active embedding model, returns 200. Rules: - Send at least one of embedding or retrieval. Once models are active, send only one of them per call. - retrieval cannot be stored without an enabled rerank model, so send rerank.enabled: true and a rerank.model with it. - retrieval needs an embedding model, sent in the same call or stored earlier. Otherwise the call answers 409. - scoreThreshold.enabled: true requires a scoreThreshold.value.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://dify-6c0370d8.mintlify.app/_mintlify/api/og/v2?division=Settings\u0026amp;title=Update+Knowledge+Base+Settings\u0026amp;description=Changes+the+knowledge+base%27s+embedding+model+or+retrieval+settings.+For+setting+models+before+and+after+content+is+indexed%2C+see+%5BChange+Models+or+Retrieval+Sett\u0026amp;theme=fc270d2c96587e5833522f0e\u0026amp;signature=42fd36ea8c9178a609919ba91b1cef943ee43d857f89960863b5fbd69a4bbe0e\">\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/dify-6c0370d8/tWYYD8GkT0MUJV0z/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Dify Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0060FF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.dify.ai/en/api-reference/settings/update-knowledge-base-settings\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/en/api-reference/settings/update-knowledge-base-settings.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.dify.ai/#organization\",\"name\":\"Dify Docs\",\"url\":\"https://docs.dify.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://assets-docs.dify.ai/2025/05/d05cfc6ebe48f725d171dc71c64a5d16.svg\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.dify.ai#website\",\"name\":\"Dify Docs\",\"url\":\"https://docs.dify.ai\",\"publisher\":{\"@id\":\"https://docs.dify.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.dify.ai/en/api-reference/settings/update-knowledge-base-settings#webpage\",\"url\":\"https://docs.dify.ai/en/api-reference/settings/update-knowledge-base-settings\",\"name\":\"Update Knowledge Base Settings\",\"description\":\"Changes the knowledge base's embedding model or retrieval settings. For setting models before and after content is indexed, see Change Models or Retrieval Settings. What happens depends on whether models are active yet: - Before the first document is indexed, the settings are stored as pending, and the call answers 200. They are validated and take effect when the first document is indexed. Omitting embedding or retrieval leaves that group at its pending value. - Once models are active, the call returns 202 and the change runs as a migration. An embedding or reasoning model change rebuilds the content it affects, while other retrieval changes take effect without a rebuild. Poll Get Settings Migration with migration.id until it ends, then read the final settings. A change that needs no migration, such as resending the active embedding model, returns 200. Rules: - Send at least one of embedding or retrieval. Once models are active, send only one of them per call. - retrieval cannot be stored without an enabled rerank model, so send rerank.enabled: true and a rerank.model with it. - retrieval needs an embedding model, sent in the same call or stored earlier. Otherwise the call answers 409. - scoreThreshold.enabled: true requires a scoreThreshold.value.\",\"isPartOf\":{\"@id\":\"https://docs.dify.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.dify.ai/en/api-reference/settings/update-knowledge-base-settings#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.dify.ai/en/api-reference/settings/update-knowledge-base-settings#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Knowledge APIs\",\"item\":\"https://docs.dify.ai/en/api-reference/queries/create-query-token\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Agent Knowledge Base\",\"item\":\"https://docs.dify.ai/en/api-reference/queries/create-query-token\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Settings\",\"item\":\"https://docs.dify.ai/en/api-reference/settings/get-knowledge-base-settings\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Update Knowledge Base Settings\",\"item\":\"https://docs.dify.ai/en/api-reference/settings/update-knowledge-base-settings\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.dify.ai/en/api-reference/settings/update-knowledge-base-settings#apireference\",\"headline\":\"Update Knowledge Base Settings\",\"name\":\"Update Knowledge Base Settings\",\"description\":\"Changes the knowledge base's embedding model or retrieval settings. For setting models before and after content is indexed, see Change Models or Retrieval Settings. What happens depends on whether models are active yet: - Before the first document is indexed, the settings are stored as pending, and the call answers 200. They are validated and take effect when the first document is indexed. Omitting embedding or retrieval leaves that group at its pending value. - Once models are active, the call returns 202 and the change runs as a migration. An embedding or reasoning model change rebuilds the content it affects, while other retrieval changes take effect without a rebuild. Poll Get Settings Migration with migration.id until it ends, then read the final settings. A change that needs no migration, such as resending the active embedding model, returns 200. Rules: - Send at least one of embedding or retrieval. Once models are active, send only one of them per call. - retrieval cannot be stored without an enabled rerank model, so send rerank.enabled: true and a rerank.model with it. - retrieval needs an embedding model, sent in the same call or stored earlier. Otherwise the call answers 409. - scoreThreshold.enabled: true requires a scoreThreshold.value.\",\"url\":\"https://docs.dify.ai/en/api-reference/settings/update-knowledge-base-settings\",\"mainEntityOfPage\":{\"@id\":\"https://docs.dify.ai/en/api-reference/settings/update-knowledge-base-settings#webpage\"},\"publisher\":{\"@id\":\"https://docs.dify.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.dify.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Dify Docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Dify Docs","nav":{"global":null,"languages":[{"language":"en","default":true,"products":[{"product":"Cloud","icon":"cloud","tabs":[{"tab":"Use","icon":"book-open","pages":[{"title":"Use","href":"/en/cloud/use-dify/getting-started/introduction"}]},{"tab":"Learn","icon":"graduation-cap","pages":[{"title":"Learn","href":"/en/learn/key-concepts"}]},{"tab":"Developer Resources","icon":"code","menu":[{"item":"API","icon":"code","groups":[{"group":"Guides","pages":[{"title":"Get Started with the Dify API","sidebarTitle":"Get Started","href":"/en/api-reference/guides/get-started"},{"group":"API Overviews","expanded":true,"pages":[{"title":"Chatflow App API","sidebarTitle":"Chatflow","href":"/en/api-reference/guides/chatflow"},{"title":"Workflow App API","sidebarTitle":"Workflow","href":"/en/api-reference/guides/workflow"},{"title":"Agent API","sidebarTitle":"Agent","tag":"New","href":"/en/api-reference/guides/agent"},{"group":"Knowledge Base","root":{"title":"Knowledge Base API","sidebarTitle":"Knowledge Base","href":"/en/api-reference/guides/knowledge-base-api"},"pages":[{"title":"Agent Knowledge Base API","tag":"Cloud","sidebarTitle":"Agent Knowledge Base","href":"/en/api-reference/guides/knowledge-base"},{"title":"Classic Knowledge Base API","sidebarTitle":"Classic Knowledge Base","href":"/en/api-reference/guides/knowledge"}]},{"title":"Chat App API","sidebarTitle":"Chatbot and Legacy Agent","href":"/en/api-reference/guides/chat"},{"title":"Completion App API","sidebarTitle":"Text Generator","href":"/en/api-reference/guides/completion"}]},{"title":"Consume Streaming Responses","sidebarTitle":"SSE Streaming","href":"/en/api-reference/guides/streaming"},{"title":"Human Input API Integration Flow","sidebarTitle":"Human Input Flow","href":"/en/api-reference/guides/human-input-flow"},{"title":"End User Identity","sidebarTitle":"End User Identity","href":"/en/api-reference/guides/end-user-identity"},{"title":"Handle Errors and Rate Limits","sidebarTitle":"Errors \u0026 Rate Limits","href":"/en/api-reference/guides/errors"}]},{"group":"App APIs","pages":[{"group":"Chat Messages","pages":[{"title":"Send Chat Message","deprecated":null,"version":null,"sidebarTitle":"Send Chat Message","openapi":"/en/api-reference/openapi_service.json post /chat-messages","href":"/en/api-reference/chat-messages/send-chat-message"},{"title":"Stop Chat Message Generation","deprecated":null,"version":null,"sidebarTitle":"Stop Chat Message Generation","openapi":"/en/api-reference/openapi_service.json post /chat-messages/{task_id}/stop","href":"/en/api-reference/chat-messages/stop-chat-message-generation"},{"title":"Get Next Suggested Questions","deprecated":null,"version":null,"sidebarTitle":"Get Next Suggested Questions","openapi":"/en/api-reference/openapi_service.json get /messages/{message_id}/suggested","href":"/en/api-reference/chat-messages/get-next-suggested-questions"}]},{"group":"Completion Messages","pages":[{"title":"Send Completion Message","deprecated":null,"version":null,"sidebarTitle":"Send Completion Message","openapi":"/en/api-reference/openapi_service.json post /completion-messages","href":"/en/api-reference/completion-messages/send-completion-message"},{"title":"Stop Completion Message Generation","deprecated":null,"version":null,"sidebarTitle":"Stop Completion Message Generation","openapi":"/en/api-reference/openapi_service.json post /completion-messages/{task_id}/stop","href":"/en/api-reference/completion-messages/stop-completion-message-generation"}]},{"group":"Workflow Runs","pages":[{"title":"Run Workflow","deprecated":null,"version":null,"sidebarTitle":"Run Workflow","openapi":"/en/api-reference/openapi_service.json post /workflows/run","href":"/en/api-reference/workflow-runs/run-workflow"},{"title":"Run Workflow by ID","deprecated":null,"version":null,"sidebarTitle":"Run Workflow by ID","openapi":"/en/api-reference/openapi_service.json post /workflows/{workflow_id}/run","href":"/en/api-reference/workflow-runs/run-workflow-by-id"},{"title":"Stop Workflow Task","deprecated":null,"version":null,"sidebarTitle":"Stop Workflow Task","openapi":"/en/api-reference/openapi_service.json post /workflows/tasks/{task_id}/stop","href":"/en/api-reference/workflow-runs/stop-workflow-task"},{"title":"Get Workflow Run Detail","deprecated":null,"version":null,"sidebarTitle":"Get Workflow Run Detail","openapi":"/en/api-reference/openapi_service.json get /workflows/run/{workflow_run_id}","href":"/en/api-reference/workflow-runs/get-workflow-run-detail"},{"title":"List Workflow Logs","deprecated":null,"version":null,"sidebarTitle":"List Workflow Logs","openapi":"/en/api-reference/openapi_service.json get /workflows/logs","href":"/en/api-reference/workflow-runs/list-workflow-logs"},{"title":"Stream Workflow Events","deprecated":null,"version":null,"sidebarTitle":"Stream Workflow Events","openapi":"/en/api-reference/openapi_service.json get /workflow/{workflow_run_id}/events","href":"/en/api-reference/workflow-runs/stream-workflow-events"}]},{"group":"Conversations","pages":[{"title":"List Conversations","deprecated":null,"version":null,"sidebarTitle":"List Conversations","openapi":"/en/api-reference/openapi_service.json get /conversations","href":"/en/api-reference/conversations/list-conversations"},{"title":"List Conversation Messages","deprecated":null,"version":null,"sidebarTitle":"List Conversation Messages","openapi":"/en/api-reference/openapi_service.json get /messages","href":"/en/api-reference/conversations/list-conversation-messages"},{"title":"List Conversation Variables","deprecated":null,"version":null,"sidebarTitle":"List Conversation Variables","openapi":"/en/api-reference/openapi_service.json get /conversations/{conversation_id}/variables","href":"/en/api-reference/conversations/list-conversation-variables"},{"title":"Rename Conversation","deprecated":null,"version":null,"sidebarTitle":"Rename Conversation","openapi":"/en/api-reference/openapi_service.json post /conversations/{conversation_id}/name","href":"/en/api-reference/conversations/rename-conversation"},{"title":"Update Conversation Variable","deprecated":null,"version":null,"sidebarTitle":"Update Conversation Variable","openapi":"/en/api-reference/openapi_service.json put /conversations/{conversation_id}/variables/{variable_id}","href":"/en/api-reference/conversations/update-conversation-variable"},{"title":"Delete Conversation","deprecated":null,"version":null,"sidebarTitle":"Delete Conversation","openapi":"/en/api-reference/openapi_service.json delete /conversations/{conversation_id}","href":"/en/api-reference/conversations/delete-conversation"}]},{"group":"Files","pages":[{"title":"Upload File","deprecated":null,"version":null,"sidebarTitle":"Upload File","openapi":"/en/api-reference/openapi_service.json post /files/upload","href":"/en/api-reference/files/upload-file"},{"title":"Download File","deprecated":null,"version":null,"sidebarTitle":"Download File","openapi":"/en/api-reference/openapi_service.json get /files/{file_id}/preview","href":"/en/api-reference/files/download-file"}]},{"group":"Audio","pages":[{"title":"Convert Audio to Text","deprecated":null,"version":null,"sidebarTitle":"Convert Audio to Text","openapi":"/en/api-reference/openapi_service.json post /audio-to-text","href":"/en/api-reference/audio/convert-audio-to-text"},{"title":"Convert Text to Audio","deprecated":null,"version":null,"sidebarTitle":"Convert Text to Audio","openapi":"/en/api-reference/openapi_service.json post /text-to-audio","href":"/en/api-reference/audio/convert-text-to-audio"}]},{"group":"Applications","pages":[{"title":"Get App Info","deprecated":null,"version":null,"sidebarTitle":"Get App Info","openapi":"/en/api-reference/openapi_service.json get /info","href":"/en/api-reference/applications/get-app-info"},{"title":"Get App Parameters","deprecated":null,"version":null,"sidebarTitle":"Get App Parameters","openapi":"/en/api-reference/openapi_service.json get /parameters","href":"/en/api-reference/applications/get-app-parameters"},{"title":"Get App Meta","deprecated":null,"version":null,"sidebarTitle":"Get App Meta","openapi":"/en/api-reference/openapi_service.json get /meta","href":"/en/api-reference/applications/get-app-meta"},{"title":"Get App WebApp Settings","deprecated":null,"version":null,"sidebarTitle":"Get App WebApp Settings","openapi":"/en/api-reference/openapi_service.json get /site","href":"/en/api-reference/applications/get-app-webapp-settings"}]},{"group":"Feedback","pages":[{"title":"Submit Message Feedback","deprecated":null,"version":null,"sidebarTitle":"Submit Message Feedback","openapi":"/en/api-reference/openapi_service.json post /messages/{message_id}/feedbacks","href":"/en/api-reference/feedback/submit-message-feedback"},{"title":"List App Feedbacks","deprecated":null,"version":null,"sidebarTitle":"List App Feedbacks","openapi":"/en/api-reference/openapi_service.json get /app/feedbacks","href":"/en/api-reference/feedback/list-app-feedbacks"}]},{"group":"Annotations","pages":[{"title":"Create Annotation","deprecated":null,"version":null,"sidebarTitle":"Create Annotation","openapi":"/en/api-reference/openapi_service.json post /apps/annotations","href":"/en/api-reference/annotations/create-annotation"},{"title":"List Annotations","deprecated":null,"version":null,"sidebarTitle":"List Annotations","openapi":"/en/api-reference/openapi_service.json get /apps/annotations","href":"/en/api-reference/annotations/list-annotations"},{"title":"Update Annotation","deprecated":null,"version":null,"sidebarTitle":"Update Annotation","openapi":"/en/api-reference/openapi_service.json put /apps/annotations/{annotation_id}","href":"/en/api-reference/annotations/update-annotation"},{"title":"Delete Annotation","deprecated":null,"version":null,"sidebarTitle":"Delete Annotation","openapi":"/en/api-reference/openapi_service.json delete /apps/annotations/{annotation_id}","href":"/en/api-reference/annotations/delete-annotation"},{"title":"Configure Annotation Reply","deprecated":null,"version":null,"sidebarTitle":"Configure Annotation Reply","openapi":"/en/api-reference/openapi_service.json post /apps/annotation-reply/{action}","href":"/en/api-reference/annotations/configure-annotation-reply"},{"title":"Get Annotation Reply Job Status","deprecated":null,"version":null,"sidebarTitle":"Get Annotation Reply Job Status","openapi":"/en/api-reference/openapi_service.json get /apps/annotation-reply/{action}/status/{job_id}","href":"/en/api-reference/annotations/get-annotation-reply-job-status"}]},{"group":"End Users","pages":[{"title":"Get End User Info","deprecated":null,"version":null,"sidebarTitle":"Get End User Info","openapi":"/en/api-reference/openapi_service.json get /end-users/{end_user_id}","href":"/en/api-reference/end-users/get-end-user-info"}]},{"group":"Human Input","pages":[{"title":"Get Human Input Form","deprecated":null,"version":null,"sidebarTitle":"Get Human Input Form","openapi":"/en/api-reference/openapi_service.json get /form/human_input/{form_token}","href":"/en/api-reference/human-input/get-human-input-form"},{"title":"Submit Human Input Form","deprecated":null,"version":null,"sidebarTitle":"Submit Human Input Form","openapi":"/en/api-reference/openapi_service.json post /form/human_input/{form_token}","href":"/en/api-reference/human-input/submit-human-input-form"}]}]},{"group":"Knowledge APIs","pages":[{"group":"Agent Knowledge Base","tag":"Cloud","pages":[{"group":"Queries","pages":[{"title":"Create Query Token","deprecated":null,"version":null,"sidebarTitle":"Create Query Token","openapi":"/en/api-reference/openapi_service.json post /knowledge-fs/spaces/{knowledge_base_id}/queries/admission","href":"/en/api-reference/queries/create-query-token"},{"title":"Run Query","deprecated":null,"version":null,"sidebarTitle":"Run Query","openapi":"/en/api-reference/openapi_service.json post /knowledge-fs/query-stream","href":"/en/api-reference/queries/run-query"}]},{"group":"Query Records","pages":[{"title":"List Query Records","deprecated":null,"version":null,"sidebarTitle":"List Query Records","openapi":"/en/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/traces","href":"/en/api-reference/query-records/list-query-records"},{"title":"Get Query Record","deprecated":null,"version":null,"sidebarTitle":"Get Query Record","openapi":"/en/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/traces/{query_record_id}","href":"/en/api-reference/query-records/get-query-record"},{"title":"List Query Chunks","deprecated":null,"version":null,"sidebarTitle":"List Query Chunks","openapi":"/en/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/traces/{query_record_id}/evidence","href":"/en/api-reference/query-records/list-query-chunks"},{"title":"List Query Conflicts","deprecated":null,"version":null,"sidebarTitle":"List Query Conflicts","openapi":"/en/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/traces/{query_record_id}/conflicts","href":"/en/api-reference/query-records/list-query-conflicts"},{"title":"List Missing Chunks","deprecated":null,"version":null,"sidebarTitle":"List Missing Chunks","openapi":"/en/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/traces/{query_record_id}/missing","href":"/en/api-reference/query-records/list-missing-chunks"}]},{"group":"Research Tasks","pages":[{"title":"List Research Tasks","deprecated":null,"version":null,"sidebarTitle":"List Research Tasks","openapi":"/en/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/research-tasks","href":"/en/api-reference/research-tasks/list-research-tasks"},{"title":"Create Research Task","deprecated":null,"version":null,"sidebarTitle":"Create Research Task","openapi":"/en/api-reference/openapi_service.json post /knowledge-fs/spaces/{knowledge_base_id}/research-tasks","href":"/en/api-reference/research-tasks/create-research-task"},{"title":"Plan Research Task","deprecated":null,"version":null,"sidebarTitle":"Plan Research Task","openapi":"/en/api-reference/openapi_service.json post /knowledge-fs/spaces/{knowledge_base_id}/research-tasks/plan","href":"/en/api-reference/research-tasks/plan-research-task"},{"title":"Get Research Task","deprecated":null,"version":null,"sidebarTitle":"Get Research Task","openapi":"/en/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/research-tasks/{research_task_id}","href":"/en/api-reference/research-tasks/get-research-task"},{"title":"Cancel Research Task","deprecated":null,"version":null,"sidebarTitle":"Cancel Research Task","openapi":"/en/api-reference/openapi_service.json delete /knowledge-fs/spaces/{knowledge_base_id}/research-tasks/{research_task_id}","href":"/en/api-reference/research-tasks/cancel-research-task"},{"title":"List Research Task Results","deprecated":null,"version":null,"sidebarTitle":"List Research Task Results","openapi":"/en/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/research-tasks/{research_task_id}/partials","href":"/en/api-reference/research-tasks/list-research-task-results"}]},{"group":"Documents and Chunks","pages":[{"title":"List Documents","deprecated":null,"version":null,"sidebarTitle":"List Documents","openapi":"/en/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/logical-documents","href":"/en/api-reference/documents-and-chunks/list-documents"},{"title":"Get Document","deprecated":null,"version":null,"sidebarTitle":"Get Document","openapi":"/en/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/logical-documents/{document_id}","href":"/en/api-reference/documents-and-chunks/get-document"},{"title":"Update Document Metadata","deprecated":null,"version":null,"sidebarTitle":"Update Document Metadata","openapi":"/en/api-reference/openapi_service.json patch /knowledge-fs/spaces/{knowledge_base_id}/documents/{document_file_id}","href":"/en/api-reference/documents-and-chunks/update-document-metadata"},{"title":"Get Document by File","deprecated":null,"version":null,"sidebarTitle":"Get Document by File","openapi":"/en/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/document-references/resolve","href":"/en/api-reference/documents-and-chunks/get-document-by-file"},{"title":"List Document Files","deprecated":null,"version":null,"sidebarTitle":"List Document Files","openapi":"/en/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/documents","href":"/en/api-reference/documents-and-chunks/list-document-files"},{"title":"Get Document File","deprecated":null,"version":null,"sidebarTitle":"Get Document File","openapi":"/en/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/documents/{document_file_id}","href":"/en/api-reference/documents-and-chunks/get-document-file"},{"title":"Delete Document File","deprecated":null,"version":null,"sidebarTitle":"Delete Document File","openapi":"/en/api-reference/openapi_service.json delete /knowledge-fs/spaces/{knowledge_base_id}/documents/{document_file_id}","href":"/en/api-reference/documents-and-chunks/delete-document-file"},{"title":"Get Document Outline","deprecated":null,"version":null,"sidebarTitle":"Get Document Outline","openapi":"/en/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/documents/{document_file_id}/outline","href":"/en/api-reference/documents-and-chunks/get-document-outline"},{"title":"List Document Revisions","deprecated":null,"version":null,"sidebarTitle":"List Document Revisions","openapi":"/en/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/documents/{document_id}/revisions","href":"/en/api-reference/documents-and-chunks/list-document-revisions"},{"title":"List Chunks","deprecated":null,"version":null,"sidebarTitle":"List Chunks","openapi":"/en/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/documents/{document_id}/revisions/{revision}/chunks","href":"/en/api-reference/documents-and-chunks/list-chunks"},{"title":"Get Chunk","deprecated":null,"version":null,"sidebarTitle":"Get Chunk","openapi":"/en/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/documents/{document_id}/revisions/{revision}/chunks/{chunk_id}","href":"/en/api-reference/documents-and-chunks/get-chunk"},{"title":"Delete Document Files in Batch","deprecated":null,"version":null,"sidebarTitle":"Delete Document Files in Batch","openapi":"/en/api-reference/openapi_service.json delete /knowledge-fs/spaces/{knowledge_base_id}/documents/bulk","href":"/en/api-reference/documents-and-chunks/delete-document-files-in-batch"},{"title":"Re-index Documents","deprecated":null,"version":null,"sidebarTitle":"Re-index Documents","openapi":"/en/api-reference/openapi_service.json post /knowledge-fs/spaces/{knowledge_base_id}/documents/reindex","href":"/en/api-reference/documents-and-chunks/re-index-documents"}]},{"group":"Indexing Tasks","pages":[{"title":"Get Indexing Task","deprecated":null,"version":null,"sidebarTitle":"Get Indexing Task","openapi":"/en/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/jobs/{task_id}","href":"/en/api-reference/indexing-tasks/get-indexing-task"},{"title":"Cancel Indexing Task","deprecated":null,"version":null,"sidebarTitle":"Cancel Indexing Task","openapi":"/en/api-reference/openapi_service.json delete /knowledge-fs/spaces/{knowledge_base_id}/jobs/{task_id}","href":"/en/api-reference/indexing-tasks/cancel-indexing-task"},{"title":"Retry Indexing Task","deprecated":null,"version":null,"sidebarTitle":"Retry Indexing Task","openapi":"/en/api-reference/openapi_service.json post /knowledge-fs/spaces/{knowledge_base_id}/jobs/{task_id}/retry","href":"/en/api-reference/indexing-tasks/retry-indexing-task"},{"title":"Get Bulk Task","deprecated":null,"version":null,"sidebarTitle":"Get Bulk Task","openapi":"/en/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/bulk-jobs/{bulk_task_id}","href":"/en/api-reference/indexing-tasks/get-bulk-task"},{"title":"List Document Indexing Tasks","deprecated":null,"version":null,"sidebarTitle":"List Document Indexing Tasks","openapi":"/en/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/logical-documents/{document_id}/processing-tasks","href":"/en/api-reference/indexing-tasks/list-document-indexing-tasks"},{"title":"Get Document Indexing Task","deprecated":null,"version":null,"sidebarTitle":"Get Document Indexing Task","openapi":"/en/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/logical-documents/{document_id}/processing-tasks/{task_id}","href":"/en/api-reference/indexing-tasks/get-document-indexing-task"},{"title":"List Background Tasks","deprecated":null,"version":null,"sidebarTitle":"List Background Tasks","openapi":"/en/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/background-tasks","href":"/en/api-reference/indexing-tasks/list-background-tasks"}]},{"group":"Deletion Jobs","pages":[{"title":"Get Deletion Job","deprecated":null,"version":null,"sidebarTitle":"Get Deletion Job","openapi":"/en/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/deletion-jobs/{deletion_job_id}","href":"/en/api-reference/deletion-jobs/get-deletion-job"},{"title":"Get Deletion Batch","deprecated":null,"version":null,"sidebarTitle":"Get Deletion Batch","openapi":"/en/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/deletion-batches/{deletion_batch_id}","href":"/en/api-reference/deletion-jobs/get-deletion-batch"}]},{"group":"Sources","pages":[{"title":"List Source Connections","deprecated":null,"version":null,"sidebarTitle":"List Source Connections","openapi":"/en/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/source-connections","href":"/en/api-reference/sources/list-source-connections"},{"title":"Create Source","deprecated":null,"version":null,"sidebarTitle":"Create Source","openapi":"/en/api-reference/openapi_service.json post /knowledge-fs/spaces/{knowledge_base_id}/sources","href":"/en/api-reference/sources/create-source"},{"title":"List Sources","deprecated":null,"version":null,"sidebarTitle":"List Sources","openapi":"/en/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/sources","href":"/en/api-reference/sources/list-sources"},{"title":"Get Source","deprecated":null,"version":null,"sidebarTitle":"Get Source","openapi":"/en/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/sources/{source_id}","href":"/en/api-reference/sources/get-source"},{"title":"Update Source","deprecated":null,"version":null,"sidebarTitle":"Update Source","openapi":"/en/api-reference/openapi_service.json patch /knowledge-fs/spaces/{knowledge_base_id}/sources/{source_id}","href":"/en/api-reference/sources/update-source"},{"title":"Delete Source","deprecated":null,"version":null,"sidebarTitle":"Delete Source","openapi":"/en/api-reference/openapi_service.json delete /knowledge-fs/spaces/{knowledge_base_id}/sources/{source_id}","href":"/en/api-reference/sources/delete-source"},{"title":"Test Source Credentials","deprecated":null,"version":null,"sidebarTitle":"Test Source Credentials","openapi":"/en/api-reference/openapi_service.json post /knowledge-fs/spaces/{knowledge_base_id}/sources/{source_id}/test","href":"/en/api-reference/sources/test-source-credentials"},{"title":"List Source Pages","deprecated":null,"version":null,"sidebarTitle":"List Source Pages","openapi":"/en/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/sources/{source_id}/pages","href":"/en/api-reference/sources/list-source-pages"},{"title":"List Source Files","deprecated":null,"version":null,"sidebarTitle":"List Source Files","openapi":"/en/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/sources/{source_id}/files","href":"/en/api-reference/sources/list-source-files"},{"title":"Get Sync Policy","deprecated":null,"version":null,"sidebarTitle":"Get Sync Policy","openapi":"/en/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/sources/{source_id}/sync-policy","href":"/en/api-reference/sources/get-sync-policy"},{"title":"Update Sync Policy","deprecated":null,"version":null,"sidebarTitle":"Update Sync Policy","openapi":"/en/api-reference/openapi_service.json put /knowledge-fs/spaces/{knowledge_base_id}/sources/{source_id}/sync-policy","href":"/en/api-reference/sources/update-sync-policy"}]},{"group":"Source Syncs and Imports","pages":[{"title":"Sync Source","deprecated":null,"version":null,"sidebarTitle":"Sync Source","openapi":"/en/api-reference/openapi_service.json post /knowledge-fs/spaces/{knowledge_base_id}/sources/{source_id}/sync","href":"/en/api-reference/source-syncs-and-imports/sync-source"},{"title":"Preview Website Crawl","deprecated":null,"version":null,"sidebarTitle":"Preview Website Crawl","openapi":"/en/api-reference/openapi_service.json post /knowledge-fs/spaces/{knowledge_base_id}/sources/{source_id}/crawl-preview","href":"/en/api-reference/source-syncs-and-imports/preview-website-crawl"},{"title":"List Crawl Preview Pages","deprecated":null,"version":null,"sidebarTitle":"List Crawl Preview Pages","openapi":"/en/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/source-workflows/{run_id}/pages","href":"/en/api-reference/source-syncs-and-imports/list-crawl-preview-pages"},{"title":"Import Selected Pages","deprecated":null,"version":null,"sidebarTitle":"Import Selected Pages","openapi":"/en/api-reference/openapi_service.json post /knowledge-fs/spaces/{knowledge_base_id}/source-workflows/{run_id}/selection","href":"/en/api-reference/source-syncs-and-imports/import-selected-pages"},{"title":"Import Website Pages","deprecated":null,"version":null,"sidebarTitle":"Import Website Pages","openapi":"/en/api-reference/openapi_service.json post /knowledge-fs/spaces/{knowledge_base_id}/sources/{source_id}/crawl-import","href":"/en/api-reference/source-syncs-and-imports/import-website-pages"},{"title":"Import Source Items","deprecated":null,"version":null,"sidebarTitle":"Import Source Items","openapi":"/en/api-reference/openapi_service.json post /knowledge-fs/spaces/{knowledge_base_id}/sources/{source_id}/workflow-imports","href":"/en/api-reference/source-syncs-and-imports/import-source-items"},{"title":"List Source Runs","deprecated":null,"version":null,"sidebarTitle":"List Source Runs","openapi":"/en/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/source-workflows","href":"/en/api-reference/source-syncs-and-imports/list-source-runs"},{"title":"Get Source Run","deprecated":null,"version":null,"sidebarTitle":"Get Source Run","openapi":"/en/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/source-workflows/{run_id}","href":"/en/api-reference/source-syncs-and-imports/get-source-run"},{"title":"Cancel Source Run","deprecated":null,"version":null,"sidebarTitle":"Cancel Source Run","openapi":"/en/api-reference/openapi_service.json post /knowledge-fs/spaces/{knowledge_base_id}/source-workflows/{run_id}/cancel","href":"/en/api-reference/source-syncs-and-imports/cancel-source-run"},{"title":"Retry Source Run","deprecated":null,"version":null,"sidebarTitle":"Retry Source Run","openapi":"/en/api-reference/openapi_service.json post /knowledge-fs/spaces/{knowledge_base_id}/source-workflows/{run_id}/retry","href":"/en/api-reference/source-syncs-and-imports/retry-source-run"}]},{"group":"Settings","pages":[{"title":"Get Knowledge Base Settings","description":"Returns the knowledge base's embedding model, retrieval settings, readiness, and the `revision` to send in [Update Knowledge Base Settings](/en/api-reference/settings/update-knowledge-base-settings).\n\nFor when models can be set over the API, see [Change Models or Retrieval Settings](/en/api-reference/guides/knowledge-base#change-models-or-retrieval-settings).","deprecated":null,"version":null,"sidebarTitle":"Get Knowledge Base Settings","openapi":"/en/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/settings","href":"/en/api-reference/settings/get-knowledge-base-settings"},{"title":"Update Knowledge Base Settings","deprecated":null,"version":null,"sidebarTitle":"Update Knowledge Base Settings","openapi":"/en/api-reference/openapi_service.json patch /knowledge-fs/spaces/{knowledge_base_id}/settings","href":"/en/api-reference/settings/update-knowledge-base-settings"},{"title":"Get Settings Migration","description":"Returns the progress of the migration that [Update Knowledge Base Settings](/en/api-reference/settings/update-knowledge-base-settings) started when it answered `202`. Poll it until `run_state` is `succeeded`, `failed`, or `canceled`.\n\nOnce it has `succeeded`, read the new settings and their `revision` with [Get Knowledge Base Settings](/en/api-reference/settings/get-knowledge-base-settings).\n\nFor the update-and-poll flow, see [Change Models or Retrieval Settings](/en/api-reference/guides/knowledge-base#change-models-or-retrieval-settings).","deprecated":null,"version":null,"sidebarTitle":"Get Settings Migration","openapi":"/en/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/settings/migrations/{migration_id}","href":"/en/api-reference/settings/get-settings-migration"}]}]},{"group":"Classic Knowledge Base","pages":[{"group":"Knowledge Bases","pages":[{"title":"Create an Empty Knowledge Base","deprecated":null,"version":null,"sidebarTitle":"Create an Empty Knowledge Base","openapi":"/en/api-reference/openapi_service.json post /datasets","href":"/en/api-reference/knowledge-bases/create-an-empty-knowledge-base"},{"title":"List Knowledge Bases","deprecated":null,"version":null,"sidebarTitle":"List Knowledge Bases","openapi":"/en/api-reference/openapi_service.json get /datasets","href":"/en/api-reference/knowledge-bases/list-knowledge-bases"},{"title":"Get Knowledge Base","deprecated":null,"version":null,"sidebarTitle":"Get Knowledge Base","openapi":"/en/api-reference/openapi_service.json get /datasets/{dataset_id}","href":"/en/api-reference/knowledge-bases/get-knowledge-base"},{"title":"Update Knowledge Base","deprecated":null,"version":null,"sidebarTitle":"Update Knowledge Base","openapi":"/en/api-reference/openapi_service.json patch /datasets/{dataset_id}","href":"/en/api-reference/knowledge-bases/update-knowledge-base"},{"title":"Delete Knowledge Base","deprecated":null,"version":null,"sidebarTitle":"Delete Knowledge Base","openapi":"/en/api-reference/openapi_service.json delete /datasets/{dataset_id}","href":"/en/api-reference/knowledge-bases/delete-knowledge-base"},{"title":"Retrieve Chunks from a Knowledge Base / Test Retrieval","deprecated":null,"version":null,"sidebarTitle":"Retrieve Chunks from a Knowledge Base / Test Retrieval","openapi":"/en/api-reference/openapi_service.json post /datasets/{dataset_id}/retrieve","href":"/en/api-reference/knowledge-bases/retrieve-chunks-from-a-knowledge-base-test-retrieval"}]},{"group":"Documents","pages":[{"title":"Create Document by Text","deprecated":null,"version":null,"sidebarTitle":"Create Document by Text","openapi":"/en/api-reference/openapi_service.json post /datasets/{dataset_id}/document/create-by-text","href":"/en/api-reference/documents/create-document-by-text"},{"title":"Create Document by File","deprecated":null,"version":null,"sidebarTitle":"Create Document by File","openapi":"/en/api-reference/openapi_service.json post /datasets/{dataset_id}/document/create-by-file","href":"/en/api-reference/documents/create-document-by-file"},{"title":"List Documents","deprecated":null,"version":null,"sidebarTitle":"List Documents","openapi":"/en/api-reference/openapi_service.json get /datasets/{dataset_id}/documents","href":"/en/api-reference/documents/list-documents"},{"title":"Get Document","deprecated":null,"version":null,"sidebarTitle":"Get Document","openapi":"/en/api-reference/openapi_service.json get /datasets/{dataset_id}/documents/{document_id}","href":"/en/api-reference/documents/get-document"},{"title":"Delete Document","deprecated":null,"version":null,"sidebarTitle":"Delete Document","openapi":"/en/api-reference/openapi_service.json delete /datasets/{dataset_id}/documents/{document_id}","href":"/en/api-reference/documents/delete-document"},{"title":"Update Document","deprecated":null,"version":null,"sidebarTitle":"Update Document","openapi":"/en/api-reference/openapi_service.json patch /datasets/{dataset_id}/documents/{document_id}","href":"/en/api-reference/documents/update-document"},{"title":"Download Document","deprecated":null,"version":null,"sidebarTitle":"Download Document","openapi":"/en/api-reference/openapi_service.json get /datasets/{dataset_id}/documents/{document_id}/download","href":"/en/api-reference/documents/download-document"},{"title":"Get Document Indexing Status","deprecated":null,"version":null,"sidebarTitle":"Get Document Indexing Status","openapi":"/en/api-reference/openapi_service.json get /datasets/{dataset_id}/documents/{batch}/indexing-status","href":"/en/api-reference/documents/get-document-indexing-status"},{"title":"Update Document by Text","deprecated":null,"version":null,"sidebarTitle":"Update Document by Text","openapi":"/en/api-reference/openapi_service.json post /datasets/{dataset_id}/documents/{document_id}/update-by-text","href":"/en/api-reference/documents/update-document-by-text"},{"title":"Update Document by File","deprecated":true,"version":null,"sidebarTitle":"Update Document by File","openapi":"/en/api-reference/openapi_service.json post /datasets/{dataset_id}/documents/{document_id}/update-by-file","href":"/en/api-reference/documents/update-document-by-file"},{"title":"Download Documents as ZIP","deprecated":null,"version":null,"sidebarTitle":"Download Documents as ZIP","openapi":"/en/api-reference/openapi_service.json post /datasets/{dataset_id}/documents/download-zip","href":"/en/api-reference/documents/download-documents-as-zip"},{"title":"Update Document Status in Batch","deprecated":null,"version":null,"sidebarTitle":"Update Document Status in Batch","openapi":"/en/api-reference/openapi_service.json patch /datasets/{dataset_id}/documents/status/{action}","href":"/en/api-reference/documents/update-document-status-in-batch"}]},{"group":"Chunks","pages":[{"title":"Create Chunks","deprecated":null,"version":null,"sidebarTitle":"Create Chunks","openapi":"/en/api-reference/openapi_service.json post /datasets/{dataset_id}/documents/{document_id}/segments","href":"/en/api-reference/chunks/create-chunks"},{"title":"List Chunks","deprecated":null,"version":null,"sidebarTitle":"List Chunks","openapi":"/en/api-reference/openapi_service.json get /datasets/{dataset_id}/documents/{document_id}/segments","href":"/en/api-reference/chunks/list-chunks"},{"title":"Get Chunk","deprecated":null,"version":null,"sidebarTitle":"Get Chunk","openapi":"/en/api-reference/openapi_service.json get /datasets/{dataset_id}/documents/{document_id}/segments/{segment_id}","href":"/en/api-reference/chunks/get-chunk"},{"title":"Update Chunk","deprecated":null,"version":null,"sidebarTitle":"Update Chunk","openapi":"/en/api-reference/openapi_service.json post /datasets/{dataset_id}/documents/{document_id}/segments/{segment_id}","href":"/en/api-reference/chunks/update-chunk"},{"title":"Delete Chunk","deprecated":null,"version":null,"sidebarTitle":"Delete Chunk","openapi":"/en/api-reference/openapi_service.json delete /datasets/{dataset_id}/documents/{document_id}/segments/{segment_id}","href":"/en/api-reference/chunks/delete-chunk"},{"title":"Create Child Chunk","deprecated":null,"version":null,"sidebarTitle":"Create Child Chunk","openapi":"/en/api-reference/openapi_service.json post /datasets/{dataset_id}/documents/{document_id}/segments/{segment_id}/child_chunks","href":"/en/api-reference/chunks/create-child-chunk"},{"title":"List Child Chunks","deprecated":null,"version":null,"sidebarTitle":"List Child Chunks","openapi":"/en/api-reference/openapi_service.json get /datasets/{dataset_id}/documents/{document_id}/segments/{segment_id}/child_chunks","href":"/en/api-reference/chunks/list-child-chunks"},{"title":"Update Child Chunk","deprecated":null,"version":null,"sidebarTitle":"Update Child Chunk","openapi":"/en/api-reference/openapi_service.json patch /datasets/{dataset_id}/documents/{document_id}/segments/{segment_id}/child_chunks/{child_chunk_id}","href":"/en/api-reference/chunks/update-child-chunk"},{"title":"Delete Child Chunk","deprecated":null,"version":null,"sidebarTitle":"Delete Child Chunk","openapi":"/en/api-reference/openapi_service.json delete /datasets/{dataset_id}/documents/{document_id}/segments/{segment_id}/child_chunks/{child_chunk_id}","href":"/en/api-reference/chunks/delete-child-chunk"}]},{"group":"Metadata","pages":[{"title":"Create Metadata Field","deprecated":null,"version":null,"sidebarTitle":"Create Metadata Field","openapi":"/en/api-reference/openapi_service.json post /datasets/{dataset_id}/metadata","href":"/en/api-reference/metadata/create-metadata-field"},{"title":"List Metadata Fields","deprecated":null,"version":null,"sidebarTitle":"List Metadata Fields","openapi":"/en/api-reference/openapi_service.json get /datasets/{dataset_id}/metadata","href":"/en/api-reference/metadata/list-metadata-fields"},{"title":"Update Metadata Field","deprecated":null,"version":null,"sidebarTitle":"Update Metadata Field","openapi":"/en/api-reference/openapi_service.json patch /datasets/{dataset_id}/metadata/{metadata_id}","href":"/en/api-reference/metadata/update-metadata-field"},{"title":"Delete Metadata Field","deprecated":null,"version":null,"sidebarTitle":"Delete Metadata Field","openapi":"/en/api-reference/openapi_service.json delete /datasets/{dataset_id}/metadata/{metadata_id}","href":"/en/api-reference/metadata/delete-metadata-field"},{"title":"Get Built-in Metadata Fields","deprecated":null,"version":null,"sidebarTitle":"Get Built-in Metadata Fields","openapi":"/en/api-reference/openapi_service.json get /datasets/{dataset_id}/metadata/built-in","href":"/en/api-reference/metadata/get-built-in-metadata-fields"},{"title":"Update Built-in Metadata Field","deprecated":null,"version":null,"sidebarTitle":"Update Built-in Metadata Field","openapi":"/en/api-reference/openapi_service.json post /datasets/{dataset_id}/metadata/built-in/{action}","href":"/en/api-reference/metadata/update-built-in-metadata-field"},{"title":"Update Document Metadata in Batch","deprecated":null,"version":null,"sidebarTitle":"Update Document Metadata in Batch","openapi":"/en/api-reference/openapi_service.json post /datasets/{dataset_id}/documents/metadata","href":"/en/api-reference/metadata/update-document-metadata-in-batch"}]},{"group":"Tags","pages":[{"title":"Create Knowledge Tag","deprecated":null,"version":null,"sidebarTitle":"Create Knowledge Tag","openapi":"/en/api-reference/openapi_service.json post /datasets/tags","href":"/en/api-reference/tags/create-knowledge-tag"},{"title":"List Knowledge Tags","deprecated":null,"version":null,"sidebarTitle":"List Knowledge Tags","openapi":"/en/api-reference/openapi_service.json get /datasets/tags","href":"/en/api-reference/tags/list-knowledge-tags"},{"title":"Update Knowledge Tag","deprecated":null,"version":null,"sidebarTitle":"Update Knowledge Tag","openapi":"/en/api-reference/openapi_service.json patch /datasets/tags","href":"/en/api-reference/tags/update-knowledge-tag"},{"title":"Delete Knowledge Tag","deprecated":null,"version":null,"sidebarTitle":"Delete Knowledge Tag","openapi":"/en/api-reference/openapi_service.json delete /datasets/tags","href":"/en/api-reference/tags/delete-knowledge-tag"},{"title":"Create Tag Binding","deprecated":null,"version":null,"sidebarTitle":"Create Tag Binding","openapi":"/en/api-reference/openapi_service.json post /datasets/tags/binding","href":"/en/api-reference/tags/create-tag-binding"},{"title":"Delete Tag Binding","deprecated":null,"version":null,"sidebarTitle":"Delete Tag Binding","openapi":"/en/api-reference/openapi_service.json post /datasets/tags/unbinding","href":"/en/api-reference/tags/delete-tag-binding"},{"title":"Get Knowledge Base Tags","deprecated":null,"version":null,"sidebarTitle":"Get Knowledge Base Tags","openapi":"/en/api-reference/openapi_service.json get /datasets/{dataset_id}/tags","href":"/en/api-reference/tags/get-knowledge-base-tags"}]},{"group":"Models","pages":[{"title":"Get Available Models","deprecated":null,"version":null,"sidebarTitle":"Get Available Models","openapi":"/en/api-reference/openapi_service.json get /workspaces/current/models/model-types/{model_type}","href":"/en/api-reference/models/get-available-models"}]},{"group":"Knowledge Pipeline","pages":[{"title":"Upload Pipeline File","deprecated":null,"version":null,"sidebarTitle":"Upload Pipeline File","openapi":"/en/api-reference/openapi_service.json post /datasets/pipeline/file-upload","href":"/en/api-reference/knowledge-pipeline/upload-pipeline-file"},{"title":"List Datasource Plugins","deprecated":null,"version":null,"sidebarTitle":"List Datasource Plugins","openapi":"/en/api-reference/openapi_service.json get /datasets/{dataset_id}/pipeline/datasource-plugins","href":"/en/api-reference/knowledge-pipeline/list-datasource-plugins"},{"title":"Run Datasource Node","deprecated":null,"version":null,"sidebarTitle":"Run Datasource Node","openapi":"/en/api-reference/openapi_service.json post /datasets/{dataset_id}/pipeline/datasource/nodes/{node_id}/run","href":"/en/api-reference/knowledge-pipeline/run-datasource-node"},{"title":"Run Pipeline","deprecated":null,"version":null,"sidebarTitle":"Run Pipeline","openapi":"/en/api-reference/openapi_service.json post /datasets/{dataset_id}/pipeline/run","href":"/en/api-reference/knowledge-pipeline/run-pipeline"}]}]}]}]},{"item":"CLI","icon":"terminal","pages":[{"title":"CLI","href":"/en/cli/overview"}]},{"item":"Plugins","icon":"code-pull-request","pages":[{"title":"Plugins","href":"/en/develop-plugin/getting-started/getting-started-dify-plugin"}]}]}]},{"product":"Self-Host","icon":"server","tabs":[{"tab":"Deploy","icon":"server","pages":[{"title":"Deploy","href":"/en/self-host/deploy/overview"}]},{"tab":"Use","icon":"book-open","pages":[{"title":"Use","href":"/en/self-host/use-dify/getting-started/introduction"}]},{"tab":"Learn","icon":"graduation-cap","pages":[{"title":"Learn","href":"/en/learn/key-concepts"}]},{"tab":"Developer Resources","icon":"code","menu":[{"item":"API","icon":"code","groups":[{"group":"Guides","pages":[{"title":"Get Started with the Dify API","sidebarTitle":"Get Started","href":"/en/api-reference/guides/get-started"},{"group":"API Overviews","expanded":true,"pages":[{"title":"Chatflow App API","sidebarTitle":"Chatflow","href":"/en/api-reference/guides/chatflow"},{"title":"Workflow App API","sidebarTitle":"Workflow","href":"/en/api-reference/guides/workflow"},{"title":"Agent API","sidebarTitle":"Agent","tag":"New","href":"/en/api-reference/guides/agent"},{"group":"Knowledge Base","root":{"title":"Knowledge Base API","sidebarTitle":"Knowledge Base","href":"/en/api-reference/guides/knowledge-base-api"},"pages":[{"title":"Agent Knowledge Base API","tag":"Cloud","sidebarTitle":"Agent Knowledge Base","href":"/en/api-reference/guides/knowledge-base"},{"title":"Classic Knowledge Base API","sidebarTitle":"Classic Knowledge Base","href":"/en/api-reference/guides/knowledge"}]},{"title":"Chat App API","sidebarTitle":"Chatbot and Legacy Agent","href":"/en/api-reference/guides/chat"},{"title":"Completion App API","sidebarTitle":"Text Generator","href":"/en/api-reference/guides/completion"}]},{"title":"Consume Streaming Responses","sidebarTitle":"SSE Streaming","href":"/en/api-reference/guides/streaming"},{"title":"Human Input API Integration Flow","sidebarTitle":"Human Input Flow","href":"/en/api-reference/guides/human-input-flow"},{"title":"End User Identity","sidebarTitle":"End User Identity","href":"/en/api-reference/guides/end-user-identity"},{"title":"Handle Errors and Rate Limits","sidebarTitle":"Errors \u0026 Rate Limits","href":"/en/api-reference/guides/errors"}]},{"group":"App APIs","pages":[{"group":"Chat Messages","pages":[{"title":"Send Chat Message","deprecated":null,"version":null,"sidebarTitle":"Send Chat Message","openapi":"/en/api-reference/openapi_service.json post /chat-messages","href":"/en/api-reference/chat-messages/send-chat-message"},{"title":"Stop Chat Message Generation","deprecated":null,"version":null,"sidebarTitle":"Stop Chat Message Generation","openapi":"/en/api-reference/openapi_service.json post /chat-messages/{task_id}/stop","href":"/en/api-reference/chat-messages/stop-chat-message-generation"},{"title":"Get Next Suggested Questions","deprecated":null,"version":null,"sidebarTitle":"Get Next Suggested Questions","openapi":"/en/api-reference/openapi_service.json get /messages/{message_id}/suggested","href":"/en/api-reference/chat-messages/get-next-suggested-questions"}]},{"group":"Completion Messages","pages":[{"title":"Send Completion Message","deprecated":null,"version":null,"sidebarTitle":"Send Completion Message","openapi":"/en/api-reference/openapi_service.json post /completion-messages","href":"/en/api-reference/completion-messages/send-completion-message"},{"title":"Stop Completion Message Generation","deprecated":null,"version":null,"sidebarTitle":"Stop Completion Message Generation","openapi":"/en/api-reference/openapi_service.json post /completion-messages/{task_id}/stop","href":"/en/api-reference/completion-messages/stop-completion-message-generation"}]},{"group":"Workflow Runs","pages":[{"title":"Run Workflow","deprecated":null,"version":null,"sidebarTitle":"Run Workflow","openapi":"/en/api-reference/openapi_service.json post /workflows/run","href":"/en/api-reference/workflow-runs/run-workflow"},{"title":"Run Workflow by ID","deprecated":null,"version":null,"sidebarTitle":"Run Workflow by ID","openapi":"/en/api-reference/openapi_service.json post /workflows/{workflow_id}/run","href":"/en/api-reference/workflow-runs/run-workflow-by-id"},{"title":"Stop Workflow Task","deprecated":null,"version":null,"sidebarTitle":"Stop Workflow Task","openapi":"/en/api-reference/openapi_service.json post /workflows/tasks/{task_id}/stop","href":"/en/api-reference/workflow-runs/stop-workflow-task"},{"title":"Get Workflow Run Detail","deprecated":null,"version":null,"sidebarTitle":"Get Workflow Run Detail","openapi":"/en/api-reference/openapi_service.json get /workflows/run/{workflow_run_id}","href":"/en/api-reference/workflow-runs/get-workflow-run-detail"},{"title":"List Workflow Logs","deprecated":null,"version":null,"sidebarTitle":"List Workflow Logs","openapi":"/en/api-reference/openapi_service.json get /workflows/logs","href":"/en/api-reference/workflow-runs/list-workflow-logs"},{"title":"Stream Workflow Events","deprecated":null,"version":null,"sidebarTitle":"Stream Workflow Events","openapi":"/en/api-reference/openapi_service.json get /workflow/{workflow_run_id}/events","href":"/en/api-reference/workflow-runs/stream-workflow-events"}]},{"group":"Conversations","pages":[{"title":"List Conversations","deprecated":null,"version":null,"sidebarTitle":"List Conversations","openapi":"/en/api-reference/openapi_service.json get /conversations","href":"/en/api-reference/conversations/list-conversations"},{"title":"List Conversation Messages","deprecated":null,"version":null,"sidebarTitle":"List Conversation Messages","openapi":"/en/api-reference/openapi_service.json get /messages","href":"/en/api-reference/conversations/list-conversation-messages"},{"title":"List Conversation Variables","deprecated":null,"version":null,"sidebarTitle":"List Conversation Variables","openapi":"/en/api-reference/openapi_service.json get /conversations/{conversation_id}/variables","href":"/en/api-reference/conversations/list-conversation-variables"},{"title":"Rename Conversation","deprecated":null,"version":null,"sidebarTitle":"Rename Conversation","openapi":"/en/api-reference/openapi_service.json post /conversations/{conversation_id}/name","href":"/en/api-reference/conversations/rename-conversation"},{"title":"Update Conversation Variable","deprecated":null,"version":null,"sidebarTitle":"Update Conversation Variable","openapi":"/en/api-reference/openapi_service.json put /conversations/{conversation_id}/variables/{variable_id}","href":"/en/api-reference/conversations/update-conversation-variable"},{"title":"Delete Conversation","deprecated":null,"version":null,"sidebarTitle":"Delete Conversation","openapi":"/en/api-reference/openapi_service.json delete /conversations/{conversation_id}","href":"/en/api-reference/conversations/delete-conversation"}]},{"group":"Files","pages":[{"title":"Upload File","deprecated":null,"version":null,"sidebarTitle":"Upload File","openapi":"/en/api-reference/openapi_service.json post /files/upload","href":"/en/api-reference/files/upload-file"},{"title":"Download File","deprecated":null,"version":null,"sidebarTitle":"Download File","openapi":"/en/api-reference/openapi_service.json get /files/{file_id}/preview","href":"/en/api-reference/files/download-file"}]},{"group":"Audio","pages":[{"title":"Convert Audio to Text","deprecated":null,"version":null,"sidebarTitle":"Convert Audio to Text","openapi":"/en/api-reference/openapi_service.json post /audio-to-text","href":"/en/api-reference/audio/convert-audio-to-text"},{"title":"Convert Text to Audio","deprecated":null,"version":null,"sidebarTitle":"Convert Text to Audio","openapi":"/en/api-reference/openapi_service.json post /text-to-audio","href":"/en/api-reference/audio/convert-text-to-audio"}]},{"group":"Applications","pages":[{"title":"Get App Info","deprecated":null,"version":null,"sidebarTitle":"Get App Info","openapi":"/en/api-reference/openapi_service.json get /info","href":"/en/api-reference/applications/get-app-info"},{"title":"Get App Parameters","deprecated":null,"version":null,"sidebarTitle":"Get App Parameters","openapi":"/en/api-reference/openapi_service.json get /parameters","href":"/en/api-reference/applications/get-app-parameters"},{"title":"Get App Meta","deprecated":null,"version":null,"sidebarTitle":"Get App Meta","openapi":"/en/api-reference/openapi_service.json get /meta","href":"/en/api-reference/applications/get-app-meta"},{"title":"Get App WebApp Settings","deprecated":null,"version":null,"sidebarTitle":"Get App WebApp Settings","openapi":"/en/api-reference/openapi_service.json get /site","href":"/en/api-reference/applications/get-app-webapp-settings"}]},{"group":"Feedback","pages":[{"title":"Submit Message Feedback","deprecated":null,"version":null,"sidebarTitle":"Submit Message Feedback","openapi":"/en/api-reference/openapi_service.json post /messages/{message_id}/feedbacks","href":"/en/api-reference/feedback/submit-message-feedback"},{"title":"List App Feedbacks","deprecated":null,"version":null,"sidebarTitle":"List App Feedbacks","openapi":"/en/api-reference/openapi_service.json get /app/feedbacks","href":"/en/api-reference/feedback/list-app-feedbacks"}]},{"group":"Annotations","pages":[{"title":"Create Annotation","deprecated":null,"version":null,"sidebarTitle":"Create Annotation","openapi":"/en/api-reference/openapi_service.json post /apps/annotations","href":"/en/api-reference/annotations/create-annotation"},{"title":"List Annotations","deprecated":null,"version":null,"sidebarTitle":"List Annotations","openapi":"/en/api-reference/openapi_service.json get /apps/annotations","href":"/en/api-reference/annotations/list-annotations"},{"title":"Update Annotation","deprecated":null,"version":null,"sidebarTitle":"Update Annotation","openapi":"/en/api-reference/openapi_service.json put /apps/annotations/{annotation_id}","href":"/en/api-reference/annotations/update-annotation"},{"title":"Delete Annotation","deprecated":null,"version":null,"sidebarTitle":"Delete Annotation","openapi":"/en/api-reference/openapi_service.json delete /apps/annotations/{annotation_id}","href":"/en/api-reference/annotations/delete-annotation"},{"title":"Configure Annotation Reply","deprecated":null,"version":null,"sidebarTitle":"Configure Annotation Reply","openapi":"/en/api-reference/openapi_service.json post /apps/annotation-reply/{action}","href":"/en/api-reference/annotations/configure-annotation-reply"},{"title":"Get Annotation Reply Job Status","deprecated":null,"version":null,"sidebarTitle":"Get Annotation Reply Job Status","openapi":"/en/api-reference/openapi_service.json get /apps/annotation-reply/{action}/status/{job_id}","href":"/en/api-reference/annotations/get-annotation-reply-job-status"}]},{"group":"End Users","pages":[{"title":"Get End User Info","deprecated":null,"version":null,"sidebarTitle":"Get End User Info","openapi":"/en/api-reference/openapi_service.json get /end-users/{end_user_id}","href":"/en/api-reference/end-users/get-end-user-info"}]},{"group":"Human Input","pages":[{"title":"Get Human Input Form","deprecated":null,"version":null,"sidebarTitle":"Get Human Input Form","openapi":"/en/api-reference/openapi_service.json get /form/human_input/{form_token}","href":"/en/api-reference/human-input/get-human-input-form"},{"title":"Submit Human Input Form","deprecated":null,"version":null,"sidebarTitle":"Submit Human Input Form","openapi":"/en/api-reference/openapi_service.json post /form/human_input/{form_token}","href":"/en/api-reference/human-input/submit-human-input-form"}]}]},{"group":"Knowledge APIs","pages":[{"group":"Agent Knowledge Base","tag":"Cloud","pages":[{"group":"Queries","pages":[{"title":"Create Query Token","deprecated":null,"version":null,"sidebarTitle":"Create Query Token","openapi":"/en/api-reference/openapi_service.json post /knowledge-fs/spaces/{knowledge_base_id}/queries/admission","href":"/en/api-reference/queries/create-query-token"},{"title":"Run Query","deprecated":null,"version":null,"sidebarTitle":"Run Query","openapi":"/en/api-reference/openapi_service.json post /knowledge-fs/query-stream","href":"/en/api-reference/queries/run-query"}]},{"group":"Query Records","pages":[{"title":"List Query Records","deprecated":null,"version":null,"sidebarTitle":"List Query Records","openapi":"/en/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/traces","href":"/en/api-reference/query-records/list-query-records"},{"title":"Get Query Record","deprecated":null,"version":null,"sidebarTitle":"Get Query Record","openapi":"/en/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/traces/{query_record_id}","href":"/en/api-reference/query-records/get-query-record"},{"title":"List Query Chunks","deprecated":null,"version":null,"sidebarTitle":"List Query Chunks","openapi":"/en/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/traces/{query_record_id}/evidence","href":"/en/api-reference/query-records/list-query-chunks"},{"title":"List Query Conflicts","deprecated":null,"version":null,"sidebarTitle":"List Query Conflicts","openapi":"/en/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/traces/{query_record_id}/conflicts","href":"/en/api-reference/query-records/list-query-conflicts"},{"title":"List Missing Chunks","deprecated":null,"version":null,"sidebarTitle":"List Missing Chunks","openapi":"/en/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/traces/{query_record_id}/missing","href":"/en/api-reference/query-records/list-missing-chunks"}]},{"group":"Research Tasks","pages":[{"title":"List Research Tasks","deprecated":null,"version":null,"sidebarTitle":"List Research Tasks","openapi":"/en/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/research-tasks","href":"/en/api-reference/research-tasks/list-research-tasks"},{"title":"Create Research Task","deprecated":null,"version":null,"sidebarTitle":"Create Research Task","openapi":"/en/api-reference/openapi_service.json post /knowledge-fs/spaces/{knowledge_base_id}/research-tasks","href":"/en/api-reference/research-tasks/create-research-task"},{"title":"Plan Research Task","deprecated":null,"version":null,"sidebarTitle":"Plan Research Task","openapi":"/en/api-reference/openapi_service.json post /knowledge-fs/spaces/{knowledge_base_id}/research-tasks/plan","href":"/en/api-reference/research-tasks/plan-research-task"},{"title":"Get Research Task","deprecated":null,"version":null,"sidebarTitle":"Get Research Task","openapi":"/en/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/research-tasks/{research_task_id}","href":"/en/api-reference/research-tasks/get-research-task"},{"title":"Cancel Research Task","deprecated":null,"version":null,"sidebarTitle":"Cancel Research Task","openapi":"/en/api-reference/openapi_service.json delete /knowledge-fs/spaces/{knowledge_base_id}/research-tasks/{research_task_id}","href":"/en/api-reference/research-tasks/cancel-research-task"},{"title":"List Research Task Results","deprecated":null,"version":null,"sidebarTitle":"List Research Task Results","openapi":"/en/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/research-tasks/{research_task_id}/partials","href":"/en/api-reference/research-tasks/list-research-task-results"}]},{"group":"Documents and Chunks","pages":[{"title":"List Documents","deprecated":null,"version":null,"sidebarTitle":"List Documents","openapi":"/en/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/logical-documents","href":"/en/api-reference/documents-and-chunks/list-documents"},{"title":"Get Document","deprecated":null,"version":null,"sidebarTitle":"Get Document","openapi":"/en/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/logical-documents/{document_id}","href":"/en/api-reference/documents-and-chunks/get-document"},{"title":"Update Document Metadata","deprecated":null,"version":null,"sidebarTitle":"Update Document Metadata","openapi":"/en/api-reference/openapi_service.json patch /knowledge-fs/spaces/{knowledge_base_id}/documents/{document_file_id}","href":"/en/api-reference/documents-and-chunks/update-document-metadata"},{"title":"Get Document by File","deprecated":null,"version":null,"sidebarTitle":"Get Document by File","openapi":"/en/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/document-references/resolve","href":"/en/api-reference/documents-and-chunks/get-document-by-file"},{"title":"List Document Files","deprecated":null,"version":null,"sidebarTitle":"List Document Files","openapi":"/en/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/documents","href":"/en/api-reference/documents-and-chunks/list-document-files"},{"title":"Get Document File","deprecated":null,"version":null,"sidebarTitle":"Get Document File","openapi":"/en/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/documents/{document_file_id}","href":"/en/api-reference/documents-and-chunks/get-document-file"},{"title":"Delete Document File","deprecated":null,"version":null,"sidebarTitle":"Delete Document File","openapi":"/en/api-reference/openapi_service.json delete /knowledge-fs/spaces/{knowledge_base_id}/documents/{document_file_id}","href":"/en/api-reference/documents-and-chunks/delete-document-file"},{"title":"Get Document Outline","deprecated":null,"version":null,"sidebarTitle":"Get Document Outline","openapi":"/en/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/documents/{document_file_id}/outline","href":"/en/api-reference/documents-and-chunks/get-document-outline"},{"title":"List Document Revisions","deprecated":null,"version":null,"sidebarTitle":"List Document Revisions","openapi":"/en/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/documents/{document_id}/revisions","href":"/en/api-reference/documents-and-chunks/list-document-revisions"},{"title":"List Chunks","deprecated":null,"version":null,"sidebarTitle":"List Chunks","openapi":"/en/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/documents/{document_id}/revisions/{revision}/chunks","href":"/en/api-reference/documents-and-chunks/list-chunks"},{"title":"Get Chunk","deprecated":null,"version":null,"sidebarTitle":"Get Chunk","openapi":"/en/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/documents/{document_id}/revisions/{revision}/chunks/{chunk_id}","href":"/en/api-reference/documents-and-chunks/get-chunk"},{"title":"Delete Document Files in Batch","deprecated":null,"version":null,"sidebarTitle":"Delete Document Files in Batch","openapi":"/en/api-reference/openapi_service.json delete /knowledge-fs/spaces/{knowledge_base_id}/documents/bulk","href":"/en/api-reference/documents-and-chunks/delete-document-files-in-batch"},{"title":"Re-index Documents","deprecated":null,"version":null,"sidebarTitle":"Re-index Documents","openapi":"/en/api-reference/openapi_service.json post /knowledge-fs/spaces/{knowledge_base_id}/documents/reindex","href":"/en/api-reference/documents-and-chunks/re-index-documents"}]},{"group":"Indexing Tasks","pages":[{"title":"Get Indexing Task","deprecated":null,"version":null,"sidebarTitle":"Get Indexing Task","openapi":"/en/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/jobs/{task_id}","href":"/en/api-reference/indexing-tasks/get-indexing-task"},{"title":"Cancel Indexing Task","deprecated":null,"version":null,"sidebarTitle":"Cancel Indexing Task","openapi":"/en/api-reference/openapi_service.json delete /knowledge-fs/spaces/{knowledge_base_id}/jobs/{task_id}","href":"/en/api-reference/indexing-tasks/cancel-indexing-task"},{"title":"Retry Indexing Task","deprecated":null,"version":null,"sidebarTitle":"Retry Indexing Task","openapi":"/en/api-reference/openapi_service.json post /knowledge-fs/spaces/{knowledge_base_id}/jobs/{task_id}/retry","href":"/en/api-reference/indexing-tasks/retry-indexing-task"},{"title":"Get Bulk Task","deprecated":null,"version":null,"sidebarTitle":"Get Bulk Task","openapi":"/en/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/bulk-jobs/{bulk_task_id}","href":"/en/api-reference/indexing-tasks/get-bulk-task"},{"title":"List Document Indexing Tasks","deprecated":null,"version":null,"sidebarTitle":"List Document Indexing Tasks","openapi":"/en/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/logical-documents/{document_id}/processing-tasks","href":"/en/api-reference/indexing-tasks/list-document-indexing-tasks"},{"title":"Get Document Indexing Task","deprecated":null,"version":null,"sidebarTitle":"Get Document Indexing Task","openapi":"/en/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/logical-documents/{document_id}/processing-tasks/{task_id}","href":"/en/api-reference/indexing-tasks/get-document-indexing-task"},{"title":"List Background Tasks","deprecated":null,"version":null,"sidebarTitle":"List Background Tasks","openapi":"/en/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/background-tasks","href":"/en/api-reference/indexing-tasks/list-background-tasks"}]},{"group":"Deletion Jobs","pages":[{"title":"Get Deletion Job","deprecated":null,"version":null,"sidebarTitle":"Get Deletion Job","openapi":"/en/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/deletion-jobs/{deletion_job_id}","href":"/en/api-reference/deletion-jobs/get-deletion-job"},{"title":"Get Deletion Batch","deprecated":null,"version":null,"sidebarTitle":"Get Deletion Batch","openapi":"/en/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/deletion-batches/{deletion_batch_id}","href":"/en/api-reference/deletion-jobs/get-deletion-batch"}]},{"group":"Sources","pages":[{"title":"List Source Connections","deprecated":null,"version":null,"sidebarTitle":"List Source Connections","openapi":"/en/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/source-connections","href":"/en/api-reference/sources/list-source-connections"},{"title":"Create Source","deprecated":null,"version":null,"sidebarTitle":"Create Source","openapi":"/en/api-reference/openapi_service.json post /knowledge-fs/spaces/{knowledge_base_id}/sources","href":"/en/api-reference/sources/create-source"},{"title":"List Sources","deprecated":null,"version":null,"sidebarTitle":"List Sources","openapi":"/en/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/sources","href":"/en/api-reference/sources/list-sources"},{"title":"Get Source","deprecated":null,"version":null,"sidebarTitle":"Get Source","openapi":"/en/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/sources/{source_id}","href":"/en/api-reference/sources/get-source"},{"title":"Update Source","deprecated":null,"version":null,"sidebarTitle":"Update Source","openapi":"/en/api-reference/openapi_service.json patch /knowledge-fs/spaces/{knowledge_base_id}/sources/{source_id}","href":"/en/api-reference/sources/update-source"},{"title":"Delete Source","deprecated":null,"version":null,"sidebarTitle":"Delete Source","openapi":"/en/api-reference/openapi_service.json delete /knowledge-fs/spaces/{knowledge_base_id}/sources/{source_id}","href":"/en/api-reference/sources/delete-source"},{"title":"Test Source Credentials","deprecated":null,"version":null,"sidebarTitle":"Test Source Credentials","openapi":"/en/api-reference/openapi_service.json post /knowledge-fs/spaces/{knowledge_base_id}/sources/{source_id}/test","href":"/en/api-reference/sources/test-source-credentials"},{"title":"List Source Pages","deprecated":null,"version":null,"sidebarTitle":"List Source Pages","openapi":"/en/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/sources/{source_id}/pages","href":"/en/api-reference/sources/list-source-pages"},{"title":"List Source Files","deprecated":null,"version":null,"sidebarTitle":"List Source Files","openapi":"/en/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/sources/{source_id}/files","href":"/en/api-reference/sources/list-source-files"},{"title":"Get Sync Policy","deprecated":null,"version":null,"sidebarTitle":"Get Sync Policy","openapi":"/en/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/sources/{source_id}/sync-policy","href":"/en/api-reference/sources/get-sync-policy"},{"title":"Update Sync Policy","deprecated":null,"version":null,"sidebarTitle":"Update Sync Policy","openapi":"/en/api-reference/openapi_service.json put /knowledge-fs/spaces/{knowledge_base_id}/sources/{source_id}/sync-policy","href":"/en/api-reference/sources/update-sync-policy"}]},{"group":"Source Syncs and Imports","pages":[{"title":"Sync Source","deprecated":null,"version":null,"sidebarTitle":"Sync Source","openapi":"/en/api-reference/openapi_service.json post /knowledge-fs/spaces/{knowledge_base_id}/sources/{source_id}/sync","href":"/en/api-reference/source-syncs-and-imports/sync-source"},{"title":"Preview Website Crawl","deprecated":null,"version":null,"sidebarTitle":"Preview Website Crawl","openapi":"/en/api-reference/openapi_service.json post /knowledge-fs/spaces/{knowledge_base_id}/sources/{source_id}/crawl-preview","href":"/en/api-reference/source-syncs-and-imports/preview-website-crawl"},{"title":"List Crawl Preview Pages","deprecated":null,"version":null,"sidebarTitle":"List Crawl Preview Pages","openapi":"/en/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/source-workflows/{run_id}/pages","href":"/en/api-reference/source-syncs-and-imports/list-crawl-preview-pages"},{"title":"Import Selected Pages","deprecated":null,"version":null,"sidebarTitle":"Import Selected Pages","openapi":"/en/api-reference/openapi_service.json post /knowledge-fs/spaces/{knowledge_base_id}/source-workflows/{run_id}/selection","href":"/en/api-reference/source-syncs-and-imports/import-selected-pages"},{"title":"Import Website Pages","deprecated":null,"version":null,"sidebarTitle":"Import Website Pages","openapi":"/en/api-reference/openapi_service.json post /knowledge-fs/spaces/{knowledge_base_id}/sources/{source_id}/crawl-import","href":"/en/api-reference/source-syncs-and-imports/import-website-pages"},{"title":"Import Source Items","deprecated":null,"version":null,"sidebarTitle":"Import Source Items","openapi":"/en/api-reference/openapi_service.json post /knowledge-fs/spaces/{knowledge_base_id}/sources/{source_id}/workflow-imports","href":"/en/api-reference/source-syncs-and-imports/import-source-items"},{"title":"List Source Runs","deprecated":null,"version":null,"sidebarTitle":"List Source Runs","openapi":"/en/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/source-workflows","href":"/en/api-reference/source-syncs-and-imports/list-source-runs"},{"title":"Get Source Run","deprecated":null,"version":null,"sidebarTitle":"Get Source Run","openapi":"/en/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/source-workflows/{run_id}","href":"/en/api-reference/source-syncs-and-imports/get-source-run"},{"title":"Cancel Source Run","deprecated":null,"version":null,"sidebarTitle":"Cancel Source Run","openapi":"/en/api-reference/openapi_service.json post /knowledge-fs/spaces/{knowledge_base_id}/source-workflows/{run_id}/cancel","href":"/en/api-reference/source-syncs-and-imports/cancel-source-run"},{"title":"Retry Source Run","deprecated":null,"version":null,"sidebarTitle":"Retry Source Run","openapi":"/en/api-reference/openapi_service.json post /knowledge-fs/spaces/{knowledge_base_id}/source-workflows/{run_id}/retry","href":"/en/api-reference/source-syncs-and-imports/retry-source-run"}]},{"group":"Settings","pages":[{"title":"Get Knowledge Base Settings","description":"Returns the knowledge base's embedding model, retrieval settings, readiness, and the `revision` to send in [Update Knowledge Base Settings](/en/api-reference/settings/update-knowledge-base-settings).\n\nFor when models can be set over the API, see [Change Models or Retrieval Settings](/en/api-reference/guides/knowledge-base#change-models-or-retrieval-settings).","deprecated":null,"version":null,"sidebarTitle":"Get Knowledge Base Settings","openapi":"/en/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/settings","href":"/en/api-reference/settings/get-knowledge-base-settings"},{"title":"Update Knowledge Base Settings","deprecated":null,"version":null,"sidebarTitle":"Update Knowledge Base Settings","openapi":"/en/api-reference/openapi_service.json patch /knowledge-fs/spaces/{knowledge_base_id}/settings","href":"/en/api-reference/settings/update-knowledge-base-settings"},{"title":"Get Settings Migration","description":"Returns the progress of the migration that [Update Knowledge Base Settings](/en/api-reference/settings/update-knowledge-base-settings) started when it answered `202`. Poll it until `run_state` is `succeeded`, `failed`, or `canceled`.\n\nOnce it has `succeeded`, read the new settings and their `revision` with [Get Knowledge Base Settings](/en/api-reference/settings/get-knowledge-base-settings).\n\nFor the update-and-poll flow, see [Change Models or Retrieval Settings](/en/api-reference/guides/knowledge-base#change-models-or-retrieval-settings).","deprecated":null,"version":null,"sidebarTitle":"Get Settings Migration","openapi":"/en/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/settings/migrations/{migration_id}","href":"/en/api-reference/settings/get-settings-migration"}]}]},{"group":"Classic Knowledge Base","pages":[{"group":"Knowledge Bases","pages":[{"title":"Create an Empty Knowledge Base","deprecated":null,"version":null,"sidebarTitle":"Create an Empty Knowledge Base","openapi":"/en/api-reference/openapi_service.json post /datasets","href":"/en/api-reference/knowledge-bases/create-an-empty-knowledge-base"},{"title":"List Knowledge Bases","deprecated":null,"version":null,"sidebarTitle":"List Knowledge Bases","openapi":"/en/api-reference/openapi_service.json get /datasets","href":"/en/api-reference/knowledge-bases/list-knowledge-bases"},{"title":"Get Knowledge Base","deprecated":null,"version":null,"sidebarTitle":"Get Knowledge Base","openapi":"/en/api-reference/openapi_service.json get /datasets/{dataset_id}","href":"/en/api-reference/knowledge-bases/get-knowledge-base"},{"title":"Update Knowledge Base","deprecated":null,"version":null,"sidebarTitle":"Update Knowledge Base","openapi":"/en/api-reference/openapi_service.json patch /datasets/{dataset_id}","href":"/en/api-reference/knowledge-bases/update-knowledge-base"},{"title":"Delete Knowledge Base","deprecated":null,"version":null,"sidebarTitle":"Delete Knowledge Base","openapi":"/en/api-reference/openapi_service.json delete /datasets/{dataset_id}","href":"/en/api-reference/knowledge-bases/delete-knowledge-base"},{"title":"Retrieve Chunks from a Knowledge Base / Test Retrieval","deprecated":null,"version":null,"sidebarTitle":"Retrieve Chunks from a Knowledge Base / Test Retrieval","openapi":"/en/api-reference/openapi_service.json post /datasets/{dataset_id}/retrieve","href":"/en/api-reference/knowledge-bases/retrieve-chunks-from-a-knowledge-base-test-retrieval"}]},{"group":"Documents","pages":[{"title":"Create Document by Text","deprecated":null,"version":null,"sidebarTitle":"Create Document by Text","openapi":"/en/api-reference/openapi_service.json post /datasets/{dataset_id}/document/create-by-text","href":"/en/api-reference/documents/create-document-by-text"},{"title":"Create Document by File","deprecated":null,"version":null,"sidebarTitle":"Create Document by File","openapi":"/en/api-reference/openapi_service.json post /datasets/{dataset_id}/document/create-by-file","href":"/en/api-reference/documents/create-document-by-file"},{"title":"List Documents","deprecated":null,"version":null,"sidebarTitle":"List Documents","openapi":"/en/api-reference/openapi_service.json get /datasets/{dataset_id}/documents","href":"/en/api-reference/documents/list-documents"},{"title":"Get Document","deprecated":null,"version":null,"sidebarTitle":"Get Document","openapi":"/en/api-reference/openapi_service.json get /datasets/{dataset_id}/documents/{document_id}","href":"/en/api-reference/documents/get-document"},{"title":"Delete Document","deprecated":null,"version":null,"sidebarTitle":"Delete Document","openapi":"/en/api-reference/openapi_service.json delete /datasets/{dataset_id}/documents/{document_id}","href":"/en/api-reference/documents/delete-document"},{"title":"Update Document","deprecated":null,"version":null,"sidebarTitle":"Update Document","openapi":"/en/api-reference/openapi_service.json patch /datasets/{dataset_id}/documents/{document_id}","href":"/en/api-reference/documents/update-document"},{"title":"Download Document","deprecated":null,"version":null,"sidebarTitle":"Download Document","openapi":"/en/api-reference/openapi_service.json get /datasets/{dataset_id}/documents/{document_id}/download","href":"/en/api-reference/documents/download-document"},{"title":"Get Document Indexing Status","deprecated":null,"version":null,"sidebarTitle":"Get Document Indexing Status","openapi":"/en/api-reference/openapi_service.json get /datasets/{dataset_id}/documents/{batch}/indexing-status","href":"/en/api-reference/documents/get-document-indexing-status"},{"title":"Update Document by Text","deprecated":null,"version":null,"sidebarTitle":"Update Document by Text","openapi":"/en/api-reference/openapi_service.json post /datasets/{dataset_id}/documents/{document_id}/update-by-text","href":"/en/api-reference/documents/update-document-by-text"},{"title":"Update Document by File","deprecated":true,"version":null,"sidebarTitle":"Update Document by File","openapi":"/en/api-reference/openapi_service.json post /datasets/{dataset_id}/documents/{document_id}/update-by-file","href":"/en/api-reference/documents/update-document-by-file"},{"title":"Download Documents as ZIP","deprecated":null,"version":null,"sidebarTitle":"Download Documents as ZIP","openapi":"/en/api-reference/openapi_service.json post /datasets/{dataset_id}/documents/download-zip","href":"/en/api-reference/documents/download-documents-as-zip"},{"title":"Update Document Status in Batch","deprecated":null,"version":null,"sidebarTitle":"Update Document Status in Batch","openapi":"/en/api-reference/openapi_service.json patch /datasets/{dataset_id}/documents/status/{action}","href":"/en/api-reference/documents/update-document-status-in-batch"}]},{"group":"Chunks","pages":[{"title":"Create Chunks","deprecated":null,"version":null,"sidebarTitle":"Create Chunks","openapi":"/en/api-reference/openapi_service.json post /datasets/{dataset_id}/documents/{document_id}/segments","href":"/en/api-reference/chunks/create-chunks"},{"title":"List Chunks","deprecated":null,"version":null,"sidebarTitle":"List Chunks","openapi":"/en/api-reference/openapi_service.json get /datasets/{dataset_id}/documents/{document_id}/segments","href":"/en/api-reference/chunks/list-chunks"},{"title":"Get Chunk","deprecated":null,"version":null,"sidebarTitle":"Get Chunk","openapi":"/en/api-reference/openapi_service.json get /datasets/{dataset_id}/documents/{document_id}/segments/{segment_id}","href":"/en/api-reference/chunks/get-chunk"},{"title":"Update Chunk","deprecated":null,"version":null,"sidebarTitle":"Update Chunk","openapi":"/en/api-reference/openapi_service.json post /datasets/{dataset_id}/documents/{document_id}/segments/{segment_id}","href":"/en/api-reference/chunks/update-chunk"},{"title":"Delete Chunk","deprecated":null,"version":null,"sidebarTitle":"Delete Chunk","openapi":"/en/api-reference/openapi_service.json delete /datasets/{dataset_id}/documents/{document_id}/segments/{segment_id}","href":"/en/api-reference/chunks/delete-chunk"},{"title":"Create Child Chunk","deprecated":null,"version":null,"sidebarTitle":"Create Child Chunk","openapi":"/en/api-reference/openapi_service.json post /datasets/{dataset_id}/documents/{document_id}/segments/{segment_id}/child_chunks","href":"/en/api-reference/chunks/create-child-chunk"},{"title":"List Child Chunks","deprecated":null,"version":null,"sidebarTitle":"List Child Chunks","openapi":"/en/api-reference/openapi_service.json get /datasets/{dataset_id}/documents/{document_id}/segments/{segment_id}/child_chunks","href":"/en/api-reference/chunks/list-child-chunks"},{"title":"Update Child Chunk","deprecated":null,"version":null,"sidebarTitle":"Update Child Chunk","openapi":"/en/api-reference/openapi_service.json patch /datasets/{dataset_id}/documents/{document_id}/segments/{segment_id}/child_chunks/{child_chunk_id}","href":"/en/api-reference/chunks/update-child-chunk"},{"title":"Delete Child Chunk","deprecated":null,"version":null,"sidebarTitle":"Delete Child Chunk","openapi":"/en/api-reference/openapi_service.json delete /datasets/{dataset_id}/documents/{document_id}/segments/{segment_id}/child_chunks/{child_chunk_id}","href":"/en/api-reference/chunks/delete-child-chunk"}]},{"group":"Metadata","pages":[{"title":"Create Metadata Field","deprecated":null,"version":null,"sidebarTitle":"Create Metadata Field","openapi":"/en/api-reference/openapi_service.json post /datasets/{dataset_id}/metadata","href":"/en/api-reference/metadata/create-metadata-field"},{"title":"List Metadata Fields","deprecated":null,"version":null,"sidebarTitle":"List Metadata Fields","openapi":"/en/api-reference/openapi_service.json get /datasets/{dataset_id}/metadata","href":"/en/api-reference/metadata/list-metadata-fields"},{"title":"Update Metadata Field","deprecated":null,"version":null,"sidebarTitle":"Update Metadata Field","openapi":"/en/api-reference/openapi_service.json patch /datasets/{dataset_id}/metadata/{metadata_id}","href":"/en/api-reference/metadata/update-metadata-field"},{"title":"Delete Metadata Field","deprecated":null,"version":null,"sidebarTitle":"Delete Metadata Field","openapi":"/en/api-reference/openapi_service.json delete /datasets/{dataset_id}/metadata/{metadata_id}","href":"/en/api-reference/metadata/delete-metadata-field"},{"title":"Get Built-in Metadata Fields","deprecated":null,"version":null,"sidebarTitle":"Get Built-in Metadata Fields","openapi":"/en/api-reference/openapi_service.json get /datasets/{dataset_id}/metadata/built-in","href":"/en/api-reference/metadata/get-built-in-metadata-fields"},{"title":"Update Built-in Metadata Field","deprecated":null,"version":null,"sidebarTitle":"Update Built-in Metadata Field","openapi":"/en/api-reference/openapi_service.json post /datasets/{dataset_id}/metadata/built-in/{action}","href":"/en/api-reference/metadata/update-built-in-metadata-field"},{"title":"Update Document Metadata in Batch","deprecated":null,"version":null,"sidebarTitle":"Update Document Metadata in Batch","openapi":"/en/api-reference/openapi_service.json post /datasets/{dataset_id}/documents/metadata","href":"/en/api-reference/metadata/update-document-metadata-in-batch"}]},{"group":"Tags","pages":[{"title":"Create Knowledge Tag","deprecated":null,"version":null,"sidebarTitle":"Create Knowledge Tag","openapi":"/en/api-reference/openapi_service.json post /datasets/tags","href":"/en/api-reference/tags/create-knowledge-tag"},{"title":"List Knowledge Tags","deprecated":null,"version":null,"sidebarTitle":"List Knowledge Tags","openapi":"/en/api-reference/openapi_service.json get /datasets/tags","href":"/en/api-reference/tags/list-knowledge-tags"},{"title":"Update Knowledge Tag","deprecated":null,"version":null,"sidebarTitle":"Update Knowledge Tag","openapi":"/en/api-reference/openapi_service.json patch /datasets/tags","href":"/en/api-reference/tags/update-knowledge-tag"},{"title":"Delete Knowledge Tag","deprecated":null,"version":null,"sidebarTitle":"Delete Knowledge Tag","openapi":"/en/api-reference/openapi_service.json delete /datasets/tags","href":"/en/api-reference/tags/delete-knowledge-tag"},{"title":"Create Tag Binding","deprecated":null,"version":null,"sidebarTitle":"Create Tag Binding","openapi":"/en/api-reference/openapi_service.json post /datasets/tags/binding","href":"/en/api-reference/tags/create-tag-binding"},{"title":"Delete Tag Binding","deprecated":null,"version":null,"sidebarTitle":"Delete Tag Binding","openapi":"/en/api-reference/openapi_service.json post /datasets/tags/unbinding","href":"/en/api-reference/tags/delete-tag-binding"},{"title":"Get Knowledge Base Tags","deprecated":null,"version":null,"sidebarTitle":"Get Knowledge Base Tags","openapi":"/en/api-reference/openapi_service.json get /datasets/{dataset_id}/tags","href":"/en/api-reference/tags/get-knowledge-base-tags"}]},{"group":"Models","pages":[{"title":"Get Available Models","deprecated":null,"version":null,"sidebarTitle":"Get Available Models","openapi":"/en/api-reference/openapi_service.json get /workspaces/current/models/model-types/{model_type}","href":"/en/api-reference/models/get-available-models"}]},{"group":"Knowledge Pipeline","pages":[{"title":"Upload Pipeline File","deprecated":null,"version":null,"sidebarTitle":"Upload Pipeline File","openapi":"/en/api-reference/openapi_service.json post /datasets/pipeline/file-upload","href":"/en/api-reference/knowledge-pipeline/upload-pipeline-file"},{"title":"List Datasource Plugins","deprecated":null,"version":null,"sidebarTitle":"List Datasource Plugins","openapi":"/en/api-reference/openapi_service.json get /datasets/{dataset_id}/pipeline/datasource-plugins","href":"/en/api-reference/knowledge-pipeline/list-datasource-plugins"},{"title":"Run Datasource Node","deprecated":null,"version":null,"sidebarTitle":"Run Datasource Node","openapi":"/en/api-reference/openapi_service.json post /datasets/{dataset_id}/pipeline/datasource/nodes/{node_id}/run","href":"/en/api-reference/knowledge-pipeline/run-datasource-node"},{"title":"Run Pipeline","deprecated":null,"version":null,"sidebarTitle":"Run Pipeline","openapi":"/en/api-reference/openapi_service.json post /datasets/{dataset_id}/pipeline/run","href":"/en/api-reference/knowledge-pipeline/run-pipeline"}]}]}]}]},{"item":"CLI","icon":"terminal","pages":[{"title":"CLI","href":"/en/cli/overview"}]},{"item":"Plugins","icon":"code-pull-request","pages":[{"title":"Plugins","href":"/en/develop-plugin/getting-started/getting-started-dify-plugin"}]}]}]}]},{"language":"zh","products":[{"product":"Cloud","icon":"cloud","tabs":[{"tab":"使用","icon":"book-open","pages":[{"title":"使用 Dify","sidebarTitle":"概览","mode":"frame","href":"/zh/cloud/use-dify/getting-started/introduction"},{"title":"Dify 文档","mode":"custom","hidden":true,"href":"/zh/home"},{"group":"编排","icon":"hammer","pages":[{"group":"Workflow 与 Chatflow","expanded":false,"pages":[{"title":"Workflow 与 Chatflow","sidebarTitle":"概述","href":"/zh/cloud/use-dify/build/workflow-chatflow"},{"title":"编排逻辑","href":"/zh/cloud/use-dify/build/orchestrate-node"},{"group":"节点","expanded":false,"pages":[{"group":"开始","root":{"title":"开始节点","href":"/zh/cloud/use-dify/nodes/start"},"pages":[{"title":"用户输入","href":"/zh/cloud/use-dify/nodes/user-input"},{"group":"触发器","root":{"title":"触发器","sidebarTitle":"概述","href":"/zh/cloud/use-dify/nodes/trigger/overview"},"pages":[{"title":"定时触发器","href":"/zh/cloud/use-dify/nodes/trigger/schedule-trigger"},{"title":"集成触发器","href":"/zh/cloud/use-dify/nodes/trigger/plugin-trigger"},{"title":"Webhook 触发器","href":"/zh/cloud/use-dify/nodes/trigger/webhook-trigger"}]}]},{"title":"大语言模型","href":"/zh/cloud/use-dify/nodes/llm"},{"title":"Agent 知识检索","href":"/zh/cloud/use-dify/nodes/knowledge-retrieval-v2"},{"title":"经典知识检索","href":"/zh/cloud/use-dify/nodes/knowledge-retrieval"},{"title":"直接回复","href":"/zh/cloud/use-dify/nodes/answer"},{"title":"输出","href":"/zh/cloud/use-dify/nodes/output"},{"title":"Agent","href":"/zh/cloud/use-dify/nodes/agent"},{"title":"问题分类器","href":"/zh/cloud/use-dify/nodes/question-classifier"},{"title":"If-Else","href":"/zh/cloud/use-dify/nodes/ifelse"},{"group":"人工介入","root":{"title":"人工介入","href":"/zh/cloud/use-dify/nodes/human-input"},"expanded":false,"pages":[]},{"title":"迭代","href":"/zh/cloud/use-dify/nodes/iteration"},{"title":"循环","href":"/zh/cloud/use-dify/nodes/loop"},{"title":"代码","href":"/zh/cloud/use-dify/nodes/code"},{"title":"模板转换","href":"/zh/cloud/use-dify/nodes/template"},{"title":"变量聚合器","href":"/zh/cloud/use-dify/nodes/variable-aggregator"},{"title":"文档提取器","href":"/zh/cloud/use-dify/nodes/doc-extractor"},{"title":"变量赋值器","href":"/zh/cloud/use-dify/nodes/variable-assigner"},{"title":"参数提取器","href":"/zh/cloud/use-dify/nodes/parameter-extractor"},{"title":"HTTP 请求","href":"/zh/cloud/use-dify/nodes/http-request"},{"title":"列表操作符","href":"/zh/cloud/use-dify/nodes/list-operator"},{"title":"工具节点","sidebarTitle":"工具","href":"/zh/cloud/use-dify/nodes/tools"}]},{"title":"快捷键","href":"/zh/cloud/use-dify/build/shortcut-key"},{"title":"版本控制","href":"/zh/cloud/use-dify/build/version-control"},{"title":"Snippets","href":"/zh/cloud/use-dify/build/snippet"},{"group":"调试","expanded":false,"pages":[{"title":"处理错误","href":"/zh/cloud/use-dify/build/predefined-error-handling-logic"},{"title":"单节点","href":"/zh/cloud/use-dify/debug/step-run"},{"title":"变量检查器","href":"/zh/cloud/use-dify/debug/variable-inspect"},{"title":"运行历史","href":"/zh/cloud/use-dify/debug/history-and-logs"},{"title":"错误类型","href":"/zh/cloud/use-dify/debug/error-type"}]}]},{"group":"Agent","tag":"New","expanded":false,"pages":[{"title":"Agent","sidebarTitle":"概述","href":"/zh/cloud/use-dify/build/new-agent/overview"},{"title":"构建 Agent","sidebarTitle":"构建","href":"/zh/cloud/use-dify/build/new-agent/build"}]},{"group":"基础应用","expanded":false,"pages":[{"title":"Agent","tag":"Legacy","href":"/zh/cloud/use-dify/build/agent"},{"title":"聊天助手","sidebarTitle":"聊天助手","href":"/zh/cloud/use-dify/build/chatbot"},{"title":"文本生成应用","sidebarTitle":"文本生成应用","href":"/zh/cloud/use-dify/build/text-generator"}]},{"title":"应用工具箱","href":"/zh/cloud/use-dify/build/additional-features"},{"title":"全局搜索","href":"/zh/cloud/use-dify/build/goto-anything"}]},{"group":"发布","icon":"paper-plane","expanded":false,"pages":[{"title":"分享你的 AI 应用","href":"/zh/cloud/use-dify/publish/README"},{"title":"IP 访问控制","href":"/zh/cloud/use-dify/publish/ip-access-control"},{"group":"Web App","pages":[{"title":"Workflow Web 应用","href":"/zh/cloud/use-dify/publish/webapp/workflow-webapp"},{"title":"聊天 Web App","href":"/zh/cloud/use-dify/publish/webapp/chatflow-webapp"},{"title":"Web App 设置","href":"/zh/cloud/use-dify/publish/webapp/web-app-settings"},{"title":"嵌入 Web 应用","sidebarTitle":"嵌入","href":"/zh/cloud/use-dify/publish/webapp/embedding-in-websites"}]},{"title":"MCP 服务器","href":"/zh/cloud/use-dify/publish/publish-mcp"},{"title":"发布应用到市场","sidebarTitle":"市场","href":"/zh/cloud/use-dify/publish/publish-to-marketplace"}]},{"group":"监控","icon":"chart-line","expanded":false,"pages":[{"title":"仪表盘","href":"/zh/cloud/use-dify/monitor/analysis"},{"title":"日志","href":"/zh/cloud/use-dify/monitor/logs"},{"title":"标注系统","href":"/zh/cloud/use-dify/monitor/annotation-reply"},{"group":"集成","pages":[{"title":"集成 LangSmith","href":"/zh/cloud/use-dify/monitor/integrations/integrate-langsmith"},{"title":"集成 Langfuse","href":"/zh/cloud/use-dify/monitor/integrations/integrate-langfuse"},{"title":"集成 Opik","href":"/zh/cloud/use-dify/monitor/integrations/integrate-opik"},{"title":"集成 W\u0026B Weave","href":"/zh/cloud/use-dify/monitor/integrations/integrate-weave"},{"title":"集成 Arize","href":"/zh/cloud/use-dify/monitor/integrations/integrate-arize"},{"title":"集成 Phoenix","href":"/zh/cloud/use-dify/monitor/integrations/integrate-phoenix"},{"title":"集成阿里云云监控","href":"/zh/cloud/use-dify/monitor/integrations/integrate-aliyun"}]}]},{"group":"知识库","icon":"book","expanded":false,"pages":[{"title":"知识库","sidebarTitle":"概述","href":"/zh/cloud/use-dify/knowledge/overview"},{"group":"Agent 知识库","tag":"New","expanded":false,"pages":[{"title":"Agent 知识库","sidebarTitle":"概述","href":"/zh/cloud/use-dify/knowledge-base/overview"},{"title":"创建 Agent 知识库","sidebarTitle":"创建","href":"/zh/cloud/use-dify/knowledge-base/create-knowledge-base"},{"title":"检查已索引的文档","sidebarTitle":"检查索引结果","href":"/zh/cloud/use-dify/knowledge-base/review-indexed-documents"},{"title":"测试并调优检索","sidebarTitle":"测试与调优","href":"/zh/cloud/use-dify/knowledge-base/test-and-tune"},{"title":"检索设置","sidebarTitle":"检索设置","href":"/zh/cloud/use-dify/knowledge-base/retrieval-settings"},{"title":"接入应用、Agent 和代码","sidebarTitle":"接入","href":"/zh/cloud/use-dify/knowledge-base/use-knowledge-in-apps"},{"title":"多模态检索","sidebarTitle":"多模态检索","href":"/zh/cloud/use-dify/knowledge-base/multimodal-retrieval"},{"title":"维护 Agent 知识库","sidebarTitle":"维护","href":"/zh/cloud/use-dify/knowledge-base/maintain-knowledge-base"},{"title":"从经典知识库升级到 Agent 知识库","sidebarTitle":"从经典知识库升级","href":"/zh/cloud/use-dify/knowledge-base/upgrade-from-classic"}]},{"group":"经典知识库","expanded":false,"pages":[{"title":"经典知识库","sidebarTitle":"概述","href":"/zh/cloud/use-dify/knowledge/readme"},{"group":"创建","pages":[{"group":"创建即用型知识库","pages":[{"title":"创建即用型知识库","sidebarTitle":"概述","href":"/zh/cloud/use-dify/knowledge/create-knowledge/introduction"},{"group":"导入数据","pages":[{"title":"上传本地文件","href":"/zh/cloud/use-dify/knowledge/create-knowledge/import-text-data/readme"},{"title":"从 Notion 导入数据","href":"/zh/cloud/use-dify/knowledge/create-knowledge/import-text-data/sync-from-notion"},{"title":"从网页导入数据","href":"/zh/cloud/use-dify/knowledge/create-knowledge/import-text-data/sync-from-website"}]},{"title":"指定分段设置","sidebarTitle":"设置分段","href":"/zh/cloud/use-dify/knowledge/create-knowledge/chunking-and-cleaning-text"},{"title":"指定索引方式与检索设置","sidebarTitle":"设置索引与检索","href":"/zh/cloud/use-dify/knowledge/create-knowledge/setting-indexing-methods"}]},{"group":"构建自定义知识库","pages":[{"title":"构建自定义知识库","sidebarTitle":"概述","href":"/zh/cloud/use-dify/knowledge/knowledge-pipeline/readme"},{"title":"步骤一:创建知识流水线","href":"/zh/cloud/use-dify/knowledge/knowledge-pipeline/create-knowledge-pipeline"},{"title":"步骤二:编排知识流水线","href":"/zh/cloud/use-dify/knowledge/knowledge-pipeline/knowledge-pipeline-orchestration"},{"title":"步骤三:发布知识流水线","href":"/zh/cloud/use-dify/knowledge/knowledge-pipeline/publish-knowledge-pipeline"},{"title":"步骤四:上传文件","href":"/zh/cloud/use-dify/knowledge/knowledge-pipeline/upload-files"},{"title":"步骤五:管理和使用知识库","href":"/zh/cloud/use-dify/knowledge/knowledge-pipeline/manage-knowledge-base"},{"title":"数据源授权","href":"/zh/cloud/use-dify/knowledge/knowledge-pipeline/authorize-data-source"}]},{"group":"连接外部知识库","pages":[{"title":"连接外部知识库","sidebarTitle":"概述","href":"/zh/cloud/use-dify/knowledge/connect-external-knowledge-base"},{"title":"外部知识库 API","href":"/zh/cloud/use-dify/knowledge/external-knowledge-api"}]}]},{"group":"管理","pages":[{"title":"维护知识库内容","sidebarTitle":"文档与分段","href":"/zh/cloud/use-dify/knowledge/manage-knowledge/maintain-knowledge-documents"},{"title":"管理文档元数据","sidebarTitle":"元数据","href":"/zh/cloud/use-dify/knowledge/metadata"},{"title":"调整知识库设置","sidebarTitle":"设置","href":"/zh/cloud/use-dify/knowledge/manage-knowledge/introduction"}]},{"title":"测试检索","sidebarTitle":"调试","href":"/zh/cloud/use-dify/knowledge/test-retrieval"},{"title":"在应用内集成知识库","sidebarTitle":"在应用内集成","href":"/zh/cloud/use-dify/knowledge/integrate-knowledge-within-application"}]},{"title":"知识库请求频率限制","sidebarTitle":"请求频率限制","href":"/zh/cloud/use-dify/knowledge/knowledge-request-rate-limit"},{"title":"知识库存储与文档配额","sidebarTitle":"存储与文档配额","href":"/zh/cloud/use-dify/knowledge/knowledge-storage-limit"}]},{"group":"集成","icon":"plug","expanded":false,"pages":[{"title":"集成","sidebarTitle":"概览","href":"/zh/cloud/use-dify/workspace/plugins"},{"title":"模型供应商","href":"/zh/cloud/use-dify/workspace/model-providers"},{"title":"Dify 工具","sidebarTitle":"工具","href":"/zh/cloud/use-dify/workspace/tools"},{"group":"自定义端点","pages":[{"title":"自定义端点","sidebarTitle":"概述","href":"/zh/cloud/use-dify/workspace/api-extension/api-extension"},{"title":"外部数据工具","href":"/zh/cloud/use-dify/workspace/api-extension/external-data-tool-api-extension"},{"title":"敏感内容审查","href":"/zh/cloud/use-dify/workspace/api-extension/moderation-api-extension"},{"title":"使用 Cloudflare Workers 部署自定义端点","href":"/zh/cloud/use-dify/workspace/api-extension/cloudflare-worker"}]}]},{"group":"工作空间","icon":"briefcase","expanded":false,"pages":[{"title":"工作空间","sidebarTitle":"概述","href":"/zh/cloud/use-dify/workspace/readme"},{"title":"导出和导入应用","sidebarTitle":"导出和导入","href":"/zh/cloud/use-dify/workspace/export-import-apps"},{"title":"管理成员","href":"/zh/cloud/use-dify/workspace/team-members-management"},{"title":"个人设置","href":"/zh/cloud/use-dify/workspace/personal-account-management"},{"title":"计费","href":"/zh/cloud/use-dify/workspace/subscription-management"}]}]},{"tab":"学习","icon":"graduation-cap","pages":[{"title":"核心概念","href":"/zh/learn/key-concepts"},{"group":"教程","pages":[{"title":"30 分钟快速入门","href":"/zh/quick-start"},{"group":"工作流 101","pages":[{"title":"第 1 课:什么是工作流","href":"/zh/learn/tutorials/workflow-101/lesson-01"},{"title":"第 2 课:流程的头和尾(开始与输出节点)","sidebarTitle":"第 2 课:流程的头和尾","href":"/zh/learn/tutorials/workflow-101/lesson-02"},{"title":"第 3 课:工作流的大脑(LLM 节点)","sidebarTitle":"第 3 课:工作流的大脑","href":"/zh/learn/tutorials/workflow-101/lesson-03"},{"title":"第 4 课:小抄(知识检索)","sidebarTitle":"第 4 课:小抄","href":"/zh/learn/tutorials/workflow-101/lesson-04"},{"title":"第 5 课:工作流的岔路口(分类与执行)","sidebarTitle":"第 5 课:工作流的岔路口","href":"/zh/learn/tutorials/workflow-101/lesson-05"},{"title":"第 6 课:处理多个任务(参数提取 \u0026 迭代)","sidebarTitle":"第 6 课:处理多个任务","href":"/zh/learn/tutorials/workflow-101/lesson-06"},{"title":"第 7 课:增强工作流(工具)","sidebarTitle":"第 7 课:增强工作流","href":"/zh/learn/tutorials/workflow-101/lesson-07"},{"title":"第 8 课:Agent 节点","sidebarTitle":"第 8 课:Agent 节点","href":"/zh/learn/tutorials/workflow-101/lesson-08"},{"title":"第 9 课:排版设计师(模板)","sidebarTitle":"第 9 课:排版设计师","href":"/zh/learn/tutorials/workflow-101/lesson-09"},{"title":"第 10 课:发布和监控你的 AI 应用","sidebarTitle":"第 10 课:发布和监控","href":"/zh/learn/tutorials/workflow-101/lesson-10"}]},{"title":"简单聊天机器人","href":"/zh/learn/tutorials/simple-chatbot"},{"title":"ChatFlow 实战:搭建 Twitter 账号分析助手","href":"/zh/learn/tutorials/twitter-chatflow"},{"title":"使用知识库搭建智能客服机器人","href":"/zh/learn/tutorials/customer-service-bot"},{"title":"如何搭建 AI 图片生成应用","href":"/zh/learn/tutorials/build-ai-image-generation-app"},{"title":"使用文件上传搭建文章理解助手","href":"/zh/learn/tutorials/article-reader"}]}]},{"tab":"开发者资源","icon":"code","menu":[{"item":"API","icon":"code","groups":[{"group":"指南","pages":[{"title":"Dify API 快速开始","sidebarTitle":"快速开始","href":"/zh/api-reference/guides/get-started"},{"group":"API 概览","expanded":true,"pages":[{"title":"Chatflow 应用 API","sidebarTitle":"Chatflow","href":"/zh/api-reference/guides/chatflow"},{"title":"Workflow 应用 API","sidebarTitle":"Workflow","href":"/zh/api-reference/guides/workflow"},{"title":"Agent API","sidebarTitle":"Agent","tag":"New","href":"/zh/api-reference/guides/agent"},{"group":"知识库","root":{"title":"知识库 API","sidebarTitle":"知识库","href":"/zh/api-reference/guides/knowledge-base-api"},"pages":[{"title":"Agent 知识库 API","tag":"Cloud","sidebarTitle":"Agent 知识库","href":"/zh/api-reference/guides/knowledge-base"},{"title":"经典知识库 API","sidebarTitle":"经典知识库","href":"/zh/api-reference/guides/knowledge"}]},{"title":"对话型应用 API","sidebarTitle":"Chatbot 和旧版 Agent","href":"/zh/api-reference/guides/chat"},{"title":"文本生成应用 API","sidebarTitle":"文本生成应用","href":"/zh/api-reference/guides/completion"}]},{"title":"处理流式响应","sidebarTitle":"SSE 流式传输","href":"/zh/api-reference/guides/streaming"},{"title":"人工介入 API 集成流程","sidebarTitle":"人工介入流程","href":"/zh/api-reference/guides/human-input-flow"},{"title":"终端用户身份","sidebarTitle":"终端用户身份","href":"/zh/api-reference/guides/end-user-identity"},{"title":"处理错误与速率限制","sidebarTitle":"错误与速率限制","href":"/zh/api-reference/guides/errors"}]},{"group":"应用 API","pages":[{"group":"对话消息","pages":[{"title":"发送对话消息","deprecated":null,"version":null,"sidebarTitle":"发送对话消息","openapi":"/zh/api-reference/openapi_service.json post /chat-messages","href":"/zh/api-reference/chat-messages/send-chat-message"},{"title":"停止响应","deprecated":null,"version":null,"sidebarTitle":"停止响应","openapi":"/zh/api-reference/openapi_service.json post /chat-messages/{task_id}/stop","href":"/zh/api-reference/chat-messages/stop-chat-message-generation"},{"title":"获取下一轮建议问题列表","deprecated":null,"version":null,"sidebarTitle":"获取下一轮建议问题列表","openapi":"/zh/api-reference/openapi_service.json get /messages/{message_id}/suggested","href":"/zh/api-reference/chat-messages/get-next-suggested-questions"}]},{"group":"文本生成消息","pages":[{"title":"发送消息","deprecated":null,"version":null,"sidebarTitle":"发送消息","openapi":"/zh/api-reference/openapi_service.json post /completion-messages","href":"/zh/api-reference/completion-messages/send-completion-message"},{"title":"停止响应","deprecated":null,"version":null,"sidebarTitle":"停止响应","openapi":"/zh/api-reference/openapi_service.json post /completion-messages/{task_id}/stop","href":"/zh/api-reference/completion-messages/stop-completion-message-generation"}]},{"group":"工作流运行","pages":[{"title":"执行工作流","deprecated":null,"version":null,"sidebarTitle":"执行工作流","openapi":"/zh/api-reference/openapi_service.json post /workflows/run","href":"/zh/api-reference/workflow-runs/run-workflow"},{"title":"按 ID 执行工作流","deprecated":null,"version":null,"sidebarTitle":"按 ID 执行工作流","openapi":"/zh/api-reference/openapi_service.json post /workflows/{workflow_id}/run","href":"/zh/api-reference/workflow-runs/run-workflow-by-id"},{"title":"停止工作流任务","deprecated":null,"version":null,"sidebarTitle":"停止工作流任务","openapi":"/zh/api-reference/openapi_service.json post /workflows/tasks/{task_id}/stop","href":"/zh/api-reference/workflow-runs/stop-workflow-task"},{"title":"获取工作流执行情况","deprecated":null,"version":null,"sidebarTitle":"获取工作流执行情况","openapi":"/zh/api-reference/openapi_service.json get /workflows/run/{workflow_run_id}","href":"/zh/api-reference/workflow-runs/get-workflow-run-detail"},{"title":"获取工作流日志","deprecated":null,"version":null,"sidebarTitle":"获取工作流日志","openapi":"/zh/api-reference/openapi_service.json get /workflows/logs","href":"/zh/api-reference/workflow-runs/list-workflow-logs"},{"title":"流式获取工作流事件","deprecated":null,"version":null,"sidebarTitle":"流式获取工作流事件","openapi":"/zh/api-reference/openapi_service.json get /workflow/{workflow_run_id}/events","href":"/zh/api-reference/workflow-runs/stream-workflow-events"}]},{"group":"会话管理","pages":[{"title":"获取会话列表","deprecated":null,"version":null,"sidebarTitle":"获取会话列表","openapi":"/zh/api-reference/openapi_service.json get /conversations","href":"/zh/api-reference/conversations/list-conversations"},{"title":"获取会话历史消息","deprecated":null,"version":null,"sidebarTitle":"获取会话历史消息","openapi":"/zh/api-reference/openapi_service.json get /messages","href":"/zh/api-reference/conversations/list-conversation-messages"},{"title":"获取会话变量","deprecated":null,"version":null,"sidebarTitle":"获取会话变量","openapi":"/zh/api-reference/openapi_service.json get /conversations/{conversation_id}/variables","href":"/zh/api-reference/conversations/list-conversation-variables"},{"title":"重命名会话","deprecated":null,"version":null,"sidebarTitle":"重命名会话","openapi":"/zh/api-reference/openapi_service.json post /conversations/{conversation_id}/name","href":"/zh/api-reference/conversations/rename-conversation"},{"title":"更新会话变量","deprecated":null,"version":null,"sidebarTitle":"更新会话变量","openapi":"/zh/api-reference/openapi_service.json put /conversations/{conversation_id}/variables/{variable_id}","href":"/zh/api-reference/conversations/update-conversation-variable"},{"title":"删除会话","deprecated":null,"version":null,"sidebarTitle":"删除会话","openapi":"/zh/api-reference/openapi_service.json delete /conversations/{conversation_id}","href":"/zh/api-reference/conversations/delete-conversation"}]},{"group":"文件操作","pages":[{"title":"上传文件","deprecated":null,"version":null,"sidebarTitle":"上传文件","openapi":"/zh/api-reference/openapi_service.json post /files/upload","href":"/zh/api-reference/files/upload-file"},{"title":"下载文件","deprecated":null,"version":null,"sidebarTitle":"下载文件","openapi":"/zh/api-reference/openapi_service.json get /files/{file_id}/preview","href":"/zh/api-reference/files/download-file"}]},{"group":"语音与文字转换","pages":[{"title":"语音转文字","deprecated":null,"version":null,"sidebarTitle":"语音转文字","openapi":"/zh/api-reference/openapi_service.json post /audio-to-text","href":"/zh/api-reference/audio/convert-audio-to-text"},{"title":"文字转语音","deprecated":null,"version":null,"sidebarTitle":"文字转语音","openapi":"/zh/api-reference/openapi_service.json post /text-to-audio","href":"/zh/api-reference/audio/convert-text-to-audio"}]},{"group":"应用配置","pages":[{"title":"获取应用基本信息","deprecated":null,"version":null,"sidebarTitle":"获取应用基本信息","openapi":"/zh/api-reference/openapi_service.json get /info","href":"/zh/api-reference/applications/get-app-info"},{"title":"获取应用参数","deprecated":null,"version":null,"sidebarTitle":"获取应用参数","openapi":"/zh/api-reference/openapi_service.json get /parameters","href":"/zh/api-reference/applications/get-app-parameters"},{"title":"获取应用元数据","deprecated":null,"version":null,"sidebarTitle":"获取应用元数据","openapi":"/zh/api-reference/openapi_service.json get /meta","href":"/zh/api-reference/applications/get-app-meta"},{"title":"获取应用 WebApp 设置","deprecated":null,"version":null,"sidebarTitle":"获取应用 WebApp 设置","openapi":"/zh/api-reference/openapi_service.json get /site","href":"/zh/api-reference/applications/get-app-webapp-settings"}]},{"group":"消息反馈","pages":[{"title":"提交消息反馈","deprecated":null,"version":null,"sidebarTitle":"提交消息反馈","openapi":"/zh/api-reference/openapi_service.json post /messages/{message_id}/feedbacks","href":"/zh/api-reference/feedback/submit-message-feedback"},{"title":"获取应用的消息反馈","deprecated":null,"version":null,"sidebarTitle":"获取应用的消息反馈","openapi":"/zh/api-reference/openapi_service.json get /app/feedbacks","href":"/zh/api-reference/feedback/list-app-feedbacks"}]},{"group":"标注管理","pages":[{"title":"创建标注","deprecated":null,"version":null,"sidebarTitle":"创建标注","openapi":"/zh/api-reference/openapi_service.json post /apps/annotations","href":"/zh/api-reference/annotations/create-annotation"},{"title":"获取标注列表","deprecated":null,"version":null,"sidebarTitle":"获取标注列表","openapi":"/zh/api-reference/openapi_service.json get /apps/annotations","href":"/zh/api-reference/annotations/list-annotations"},{"title":"更新标注","deprecated":null,"version":null,"sidebarTitle":"更新标注","openapi":"/zh/api-reference/openapi_service.json put /apps/annotations/{annotation_id}","href":"/zh/api-reference/annotations/update-annotation"},{"title":"删除标注","deprecated":null,"version":null,"sidebarTitle":"删除标注","openapi":"/zh/api-reference/openapi_service.json delete /apps/annotations/{annotation_id}","href":"/zh/api-reference/annotations/delete-annotation"},{"title":"配置标注回复","deprecated":null,"version":null,"sidebarTitle":"配置标注回复","openapi":"/zh/api-reference/openapi_service.json post /apps/annotation-reply/{action}","href":"/zh/api-reference/annotations/configure-annotation-reply"},{"title":"查询标注回复配置任务状态","deprecated":null,"version":null,"sidebarTitle":"查询标注回复配置任务状态","openapi":"/zh/api-reference/openapi_service.json get /apps/annotation-reply/{action}/status/{job_id}","href":"/zh/api-reference/annotations/get-annotation-reply-job-status"}]},{"group":"终端用户","pages":[{"title":"获取终端用户信息","deprecated":null,"version":null,"sidebarTitle":"获取终端用户信息","openapi":"/zh/api-reference/openapi_service.json get /end-users/{end_user_id}","href":"/zh/api-reference/end-users/get-end-user-info"}]},{"group":"人工介入","pages":[{"title":"获取人工介入表单","deprecated":null,"version":null,"sidebarTitle":"获取人工介入表单","openapi":"/zh/api-reference/openapi_service.json get /form/human_input/{form_token}","href":"/zh/api-reference/human-input/get-human-input-form"},{"title":"提交人工介入表单","deprecated":null,"version":null,"sidebarTitle":"提交人工介入表单","openapi":"/zh/api-reference/openapi_service.json post /form/human_input/{form_token}","href":"/zh/api-reference/human-input/submit-human-input-form"}]}]},{"group":"知识库 API","pages":[{"group":"Agent 知识库","tag":"Cloud","pages":[{"group":"查询","pages":[{"title":"创建查询令牌","deprecated":null,"version":null,"sidebarTitle":"创建查询令牌","openapi":"/zh/api-reference/openapi_service.json post /knowledge-fs/spaces/{knowledge_base_id}/queries/admission","href":"/zh/api-reference/queries/create-query-token"},{"title":"运行查询","deprecated":null,"version":null,"sidebarTitle":"运行查询","openapi":"/zh/api-reference/openapi_service.json post /knowledge-fs/query-stream","href":"/zh/api-reference/queries/run-query"}]},{"group":"查询记录","pages":[{"title":"获取查询记录列表","deprecated":null,"version":null,"sidebarTitle":"获取查询记录列表","openapi":"/zh/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/traces","href":"/zh/api-reference/query-records/list-query-records"},{"title":"获取查询记录","deprecated":null,"version":null,"sidebarTitle":"获取查询记录","openapi":"/zh/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/traces/{query_record_id}","href":"/zh/api-reference/query-records/get-query-record"},{"title":"获取查询分段列表","deprecated":null,"version":null,"sidebarTitle":"获取查询分段列表","openapi":"/zh/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/traces/{query_record_id}/evidence","href":"/zh/api-reference/query-records/list-query-chunks"},{"title":"获取查询冲突列表","deprecated":null,"version":null,"sidebarTitle":"获取查询冲突列表","openapi":"/zh/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/traces/{query_record_id}/conflicts","href":"/zh/api-reference/query-records/list-query-conflicts"},{"title":"获取缺失分段列表","deprecated":null,"version":null,"sidebarTitle":"获取缺失分段列表","openapi":"/zh/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/traces/{query_record_id}/missing","href":"/zh/api-reference/query-records/list-missing-chunks"}]},{"group":"研究任务","pages":[{"title":"获取研究任务列表","deprecated":null,"version":null,"sidebarTitle":"获取研究任务列表","openapi":"/zh/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/research-tasks","href":"/zh/api-reference/research-tasks/list-research-tasks"},{"title":"创建研究任务","deprecated":null,"version":null,"sidebarTitle":"创建研究任务","openapi":"/zh/api-reference/openapi_service.json post /knowledge-fs/spaces/{knowledge_base_id}/research-tasks","href":"/zh/api-reference/research-tasks/create-research-task"},{"title":"规划研究任务","deprecated":null,"version":null,"sidebarTitle":"规划研究任务","openapi":"/zh/api-reference/openapi_service.json post /knowledge-fs/spaces/{knowledge_base_id}/research-tasks/plan","href":"/zh/api-reference/research-tasks/plan-research-task"},{"title":"获取研究任务","deprecated":null,"version":null,"sidebarTitle":"获取研究任务","openapi":"/zh/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/research-tasks/{research_task_id}","href":"/zh/api-reference/research-tasks/get-research-task"},{"title":"取消研究任务","deprecated":null,"version":null,"sidebarTitle":"取消研究任务","openapi":"/zh/api-reference/openapi_service.json delete /knowledge-fs/spaces/{knowledge_base_id}/research-tasks/{research_task_id}","href":"/zh/api-reference/research-tasks/cancel-research-task"},{"title":"获取研究任务结果列表","deprecated":null,"version":null,"sidebarTitle":"获取研究任务结果列表","openapi":"/zh/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/research-tasks/{research_task_id}/partials","href":"/zh/api-reference/research-tasks/list-research-task-results"}]},{"group":"文档与分段","pages":[{"title":"获取文档列表","deprecated":null,"version":null,"sidebarTitle":"获取文档列表","openapi":"/zh/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/logical-documents","href":"/zh/api-reference/documents-and-chunks/list-documents"},{"title":"获取文档","deprecated":null,"version":null,"sidebarTitle":"获取文档","openapi":"/zh/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/logical-documents/{document_id}","href":"/zh/api-reference/documents-and-chunks/get-document"},{"title":"更新文档元数据","deprecated":null,"version":null,"sidebarTitle":"更新文档元数据","openapi":"/zh/api-reference/openapi_service.json patch /knowledge-fs/spaces/{knowledge_base_id}/documents/{document_file_id}","href":"/zh/api-reference/documents-and-chunks/update-document-metadata"},{"title":"按文件获取文档","deprecated":null,"version":null,"sidebarTitle":"按文件获取文档","openapi":"/zh/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/document-references/resolve","href":"/zh/api-reference/documents-and-chunks/get-document-by-file"},{"title":"获取文档文件列表","deprecated":null,"version":null,"sidebarTitle":"获取文档文件列表","openapi":"/zh/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/documents","href":"/zh/api-reference/documents-and-chunks/list-document-files"},{"title":"获取文档文件","deprecated":null,"version":null,"sidebarTitle":"获取文档文件","openapi":"/zh/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/documents/{document_file_id}","href":"/zh/api-reference/documents-and-chunks/get-document-file"},{"title":"删除文档文件","deprecated":null,"version":null,"sidebarTitle":"删除文档文件","openapi":"/zh/api-reference/openapi_service.json delete /knowledge-fs/spaces/{knowledge_base_id}/documents/{document_file_id}","href":"/zh/api-reference/documents-and-chunks/delete-document-file"},{"title":"获取文档大纲","deprecated":null,"version":null,"sidebarTitle":"获取文档大纲","openapi":"/zh/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/documents/{document_file_id}/outline","href":"/zh/api-reference/documents-and-chunks/get-document-outline"},{"title":"获取文档修订版本列表","deprecated":null,"version":null,"sidebarTitle":"获取文档修订版本列表","openapi":"/zh/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/documents/{document_id}/revisions","href":"/zh/api-reference/documents-and-chunks/list-document-revisions"},{"title":"获取分段列表","deprecated":null,"version":null,"sidebarTitle":"获取分段列表","openapi":"/zh/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/documents/{document_id}/revisions/{revision}/chunks","href":"/zh/api-reference/documents-and-chunks/list-chunks"},{"title":"获取分段","deprecated":null,"version":null,"sidebarTitle":"获取分段","openapi":"/zh/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/documents/{document_id}/revisions/{revision}/chunks/{chunk_id}","href":"/zh/api-reference/documents-and-chunks/get-chunk"},{"title":"批量删除文档文件","deprecated":null,"version":null,"sidebarTitle":"批量删除文档文件","openapi":"/zh/api-reference/openapi_service.json delete /knowledge-fs/spaces/{knowledge_base_id}/documents/bulk","href":"/zh/api-reference/documents-and-chunks/delete-document-files-in-batch"},{"title":"重新索引文档","deprecated":null,"version":null,"sidebarTitle":"重新索引文档","openapi":"/zh/api-reference/openapi_service.json post /knowledge-fs/spaces/{knowledge_base_id}/documents/reindex","href":"/zh/api-reference/documents-and-chunks/re-index-documents"}]},{"group":"索引任务","pages":[{"title":"获取索引任务","deprecated":null,"version":null,"sidebarTitle":"获取索引任务","openapi":"/zh/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/jobs/{task_id}","href":"/zh/api-reference/indexing-tasks/get-indexing-task"},{"title":"取消索引任务","deprecated":null,"version":null,"sidebarTitle":"取消索引任务","openapi":"/zh/api-reference/openapi_service.json delete /knowledge-fs/spaces/{knowledge_base_id}/jobs/{task_id}","href":"/zh/api-reference/indexing-tasks/cancel-indexing-task"},{"title":"重试索引任务","deprecated":null,"version":null,"sidebarTitle":"重试索引任务","openapi":"/zh/api-reference/openapi_service.json post /knowledge-fs/spaces/{knowledge_base_id}/jobs/{task_id}/retry","href":"/zh/api-reference/indexing-tasks/retry-indexing-task"},{"title":"获取批量任务","deprecated":null,"version":null,"sidebarTitle":"获取批量任务","openapi":"/zh/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/bulk-jobs/{bulk_task_id}","href":"/zh/api-reference/indexing-tasks/get-bulk-task"},{"title":"获取文档的索引任务列表","deprecated":null,"version":null,"sidebarTitle":"获取文档的索引任务列表","openapi":"/zh/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/logical-documents/{document_id}/processing-tasks","href":"/zh/api-reference/indexing-tasks/list-document-indexing-tasks"},{"title":"获取文档的索引任务","deprecated":null,"version":null,"sidebarTitle":"获取文档的索引任务","openapi":"/zh/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/logical-documents/{document_id}/processing-tasks/{task_id}","href":"/zh/api-reference/indexing-tasks/get-document-indexing-task"},{"title":"获取后台任务列表","deprecated":null,"version":null,"sidebarTitle":"获取后台任务列表","openapi":"/zh/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/background-tasks","href":"/zh/api-reference/indexing-tasks/list-background-tasks"}]},{"group":"删除作业","pages":[{"title":"获取删除作业","deprecated":null,"version":null,"sidebarTitle":"获取删除作业","openapi":"/zh/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/deletion-jobs/{deletion_job_id}","href":"/zh/api-reference/deletion-jobs/get-deletion-job"},{"title":"获取删除批次","deprecated":null,"version":null,"sidebarTitle":"获取删除批次","openapi":"/zh/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/deletion-batches/{deletion_batch_id}","href":"/zh/api-reference/deletion-jobs/get-deletion-batch"}]},{"group":"数据源","pages":[{"title":"获取数据源连接列表","deprecated":null,"version":null,"sidebarTitle":"获取数据源连接列表","openapi":"/zh/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/source-connections","href":"/zh/api-reference/sources/list-source-connections"},{"title":"创建数据源","deprecated":null,"version":null,"sidebarTitle":"创建数据源","openapi":"/zh/api-reference/openapi_service.json post /knowledge-fs/spaces/{knowledge_base_id}/sources","href":"/zh/api-reference/sources/create-source"},{"title":"获取数据源列表","deprecated":null,"version":null,"sidebarTitle":"获取数据源列表","openapi":"/zh/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/sources","href":"/zh/api-reference/sources/list-sources"},{"title":"获取数据源","deprecated":null,"version":null,"sidebarTitle":"获取数据源","openapi":"/zh/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/sources/{source_id}","href":"/zh/api-reference/sources/get-source"},{"title":"更新数据源","deprecated":null,"version":null,"sidebarTitle":"更新数据源","openapi":"/zh/api-reference/openapi_service.json patch /knowledge-fs/spaces/{knowledge_base_id}/sources/{source_id}","href":"/zh/api-reference/sources/update-source"},{"title":"删除数据源","deprecated":null,"version":null,"sidebarTitle":"删除数据源","openapi":"/zh/api-reference/openapi_service.json delete /knowledge-fs/spaces/{knowledge_base_id}/sources/{source_id}","href":"/zh/api-reference/sources/delete-source"},{"title":"测试数据源凭据","deprecated":null,"version":null,"sidebarTitle":"测试数据源凭据","openapi":"/zh/api-reference/openapi_service.json post /knowledge-fs/spaces/{knowledge_base_id}/sources/{source_id}/test","href":"/zh/api-reference/sources/test-source-credentials"},{"title":"获取数据源页面列表","deprecated":null,"version":null,"sidebarTitle":"获取数据源页面列表","openapi":"/zh/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/sources/{source_id}/pages","href":"/zh/api-reference/sources/list-source-pages"},{"title":"获取数据源文件列表","deprecated":null,"version":null,"sidebarTitle":"获取数据源文件列表","openapi":"/zh/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/sources/{source_id}/files","href":"/zh/api-reference/sources/list-source-files"},{"title":"获取同步策略","deprecated":null,"version":null,"sidebarTitle":"获取同步策略","openapi":"/zh/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/sources/{source_id}/sync-policy","href":"/zh/api-reference/sources/get-sync-policy"},{"title":"更新同步策略","deprecated":null,"version":null,"sidebarTitle":"更新同步策略","openapi":"/zh/api-reference/openapi_service.json put /knowledge-fs/spaces/{knowledge_base_id}/sources/{source_id}/sync-policy","href":"/zh/api-reference/sources/update-sync-policy"}]},{"group":"数据源同步与导入","pages":[{"title":"同步数据源","deprecated":null,"version":null,"sidebarTitle":"同步数据源","openapi":"/zh/api-reference/openapi_service.json post /knowledge-fs/spaces/{knowledge_base_id}/sources/{source_id}/sync","href":"/zh/api-reference/source-syncs-and-imports/sync-source"},{"title":"预览网站抓取","deprecated":null,"version":null,"sidebarTitle":"预览网站抓取","openapi":"/zh/api-reference/openapi_service.json post /knowledge-fs/spaces/{knowledge_base_id}/sources/{source_id}/crawl-preview","href":"/zh/api-reference/source-syncs-and-imports/preview-website-crawl"},{"title":"获取抓取预览页面列表","deprecated":null,"version":null,"sidebarTitle":"获取抓取预览页面列表","openapi":"/zh/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/source-workflows/{run_id}/pages","href":"/zh/api-reference/source-syncs-and-imports/list-crawl-preview-pages"},{"title":"导入所选页面","deprecated":null,"version":null,"sidebarTitle":"导入所选页面","openapi":"/zh/api-reference/openapi_service.json post /knowledge-fs/spaces/{knowledge_base_id}/source-workflows/{run_id}/selection","href":"/zh/api-reference/source-syncs-and-imports/import-selected-pages"},{"title":"导入网站页面","deprecated":null,"version":null,"sidebarTitle":"导入网站页面","openapi":"/zh/api-reference/openapi_service.json post /knowledge-fs/spaces/{knowledge_base_id}/sources/{source_id}/crawl-import","href":"/zh/api-reference/source-syncs-and-imports/import-website-pages"},{"title":"导入数据源条目","deprecated":null,"version":null,"sidebarTitle":"导入数据源条目","openapi":"/zh/api-reference/openapi_service.json post /knowledge-fs/spaces/{knowledge_base_id}/sources/{source_id}/workflow-imports","href":"/zh/api-reference/source-syncs-and-imports/import-source-items"},{"title":"获取数据源运行列表","deprecated":null,"version":null,"sidebarTitle":"获取数据源运行列表","openapi":"/zh/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/source-workflows","href":"/zh/api-reference/source-syncs-and-imports/list-source-runs"},{"title":"获取数据源运行","deprecated":null,"version":null,"sidebarTitle":"获取数据源运行","openapi":"/zh/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/source-workflows/{run_id}","href":"/zh/api-reference/source-syncs-and-imports/get-source-run"},{"title":"取消数据源运行","deprecated":null,"version":null,"sidebarTitle":"取消数据源运行","openapi":"/zh/api-reference/openapi_service.json post /knowledge-fs/spaces/{knowledge_base_id}/source-workflows/{run_id}/cancel","href":"/zh/api-reference/source-syncs-and-imports/cancel-source-run"},{"title":"重试数据源运行","deprecated":null,"version":null,"sidebarTitle":"重试数据源运行","openapi":"/zh/api-reference/openapi_service.json post /knowledge-fs/spaces/{knowledge_base_id}/source-workflows/{run_id}/retry","href":"/zh/api-reference/source-syncs-and-imports/retry-source-run"}]},{"group":"设置","pages":[{"title":"获取知识库设置","deprecated":null,"version":null,"sidebarTitle":"获取知识库设置","openapi":"/zh/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/settings","href":"/zh/api-reference/settings/get-knowledge-base-settings"},{"title":"更新知识库设置","deprecated":null,"version":null,"sidebarTitle":"更新知识库设置","openapi":"/zh/api-reference/openapi_service.json patch /knowledge-fs/spaces/{knowledge_base_id}/settings","href":"/zh/api-reference/settings/update-knowledge-base-settings"},{"title":"获取设置迁移","deprecated":null,"version":null,"sidebarTitle":"获取设置迁移","openapi":"/zh/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/settings/migrations/{migration_id}","href":"/zh/api-reference/settings/get-settings-migration"}]}]},{"group":"经典知识库","pages":[{"group":"知识库","pages":[{"title":"创建空知识库","deprecated":null,"version":null,"sidebarTitle":"创建空知识库","openapi":"/zh/api-reference/openapi_service.json post /datasets","href":"/zh/api-reference/knowledge-bases/create-an-empty-knowledge-base"},{"title":"获取知识库列表","deprecated":null,"version":null,"sidebarTitle":"获取知识库列表","openapi":"/zh/api-reference/openapi_service.json get /datasets","href":"/zh/api-reference/knowledge-bases/list-knowledge-bases"},{"title":"获取知识库详情","deprecated":null,"version":null,"sidebarTitle":"获取知识库详情","openapi":"/zh/api-reference/openapi_service.json get /datasets/{dataset_id}","href":"/zh/api-reference/knowledge-bases/get-knowledge-base"},{"title":"更新知识库","deprecated":null,"version":null,"sidebarTitle":"更新知识库","openapi":"/zh/api-reference/openapi_service.json patch /datasets/{dataset_id}","href":"/zh/api-reference/knowledge-bases/update-knowledge-base"},{"title":"删除知识库","deprecated":null,"version":null,"sidebarTitle":"删除知识库","openapi":"/zh/api-reference/openapi_service.json delete /datasets/{dataset_id}","href":"/zh/api-reference/knowledge-bases/delete-knowledge-base"},{"title":"从知识库检索分段 / 测试检索","deprecated":null,"version":null,"sidebarTitle":"从知识库检索分段 / 测试检索","openapi":"/zh/api-reference/openapi_service.json post /datasets/{dataset_id}/retrieve","href":"/zh/api-reference/knowledge-bases/retrieve-chunks-from-a-knowledge-base-test-retrieval"}]},{"group":"文档","pages":[{"title":"从文本创建文档","deprecated":null,"version":null,"sidebarTitle":"从文本创建文档","openapi":"/zh/api-reference/openapi_service.json post /datasets/{dataset_id}/document/create-by-text","href":"/zh/api-reference/documents/create-document-by-text"},{"title":"从文件创建文档","deprecated":null,"version":null,"sidebarTitle":"从文件创建文档","openapi":"/zh/api-reference/openapi_service.json post /datasets/{dataset_id}/document/create-by-file","href":"/zh/api-reference/documents/create-document-by-file"},{"title":"获取知识库的文档列表","deprecated":null,"version":null,"sidebarTitle":"获取知识库的文档列表","openapi":"/zh/api-reference/openapi_service.json get /datasets/{dataset_id}/documents","href":"/zh/api-reference/documents/list-documents"},{"title":"获取文档详情","deprecated":null,"version":null,"sidebarTitle":"获取文档详情","openapi":"/zh/api-reference/openapi_service.json get /datasets/{dataset_id}/documents/{document_id}","href":"/zh/api-reference/documents/get-document"},{"title":"删除文档","deprecated":null,"version":null,"sidebarTitle":"删除文档","openapi":"/zh/api-reference/openapi_service.json delete /datasets/{dataset_id}/documents/{document_id}","href":"/zh/api-reference/documents/delete-document"},{"title":"更新文档","deprecated":null,"version":null,"sidebarTitle":"更新文档","openapi":"/zh/api-reference/openapi_service.json patch /datasets/{dataset_id}/documents/{document_id}","href":"/zh/api-reference/documents/update-document"},{"title":"下载文档","deprecated":null,"version":null,"sidebarTitle":"下载文档","openapi":"/zh/api-reference/openapi_service.json get /datasets/{dataset_id}/documents/{document_id}/download","href":"/zh/api-reference/documents/download-document"},{"title":"获取文档嵌入状态(进度)","deprecated":null,"version":null,"sidebarTitle":"获取文档嵌入状态(进度)","openapi":"/zh/api-reference/openapi_service.json get /datasets/{dataset_id}/documents/{batch}/indexing-status","href":"/zh/api-reference/documents/get-document-indexing-status"},{"title":"用文本更新文档","deprecated":null,"version":null,"sidebarTitle":"用文本更新文档","openapi":"/zh/api-reference/openapi_service.json post /datasets/{dataset_id}/documents/{document_id}/update-by-text","href":"/zh/api-reference/documents/update-document-by-text"},{"title":"用文件更新文档","deprecated":true,"version":null,"sidebarTitle":"用文件更新文档","openapi":"/zh/api-reference/openapi_service.json post /datasets/{dataset_id}/documents/{document_id}/update-by-file","href":"/zh/api-reference/documents/update-document-by-file"},{"title":"批量下载文档(ZIP)","deprecated":null,"version":null,"sidebarTitle":"批量下载文档(ZIP)","openapi":"/zh/api-reference/openapi_service.json post /datasets/{dataset_id}/documents/download-zip","href":"/zh/api-reference/documents/download-documents-as-zip"},{"title":"批量更新文档状态","deprecated":null,"version":null,"sidebarTitle":"批量更新文档状态","openapi":"/zh/api-reference/openapi_service.json patch /datasets/{dataset_id}/documents/status/{action}","href":"/zh/api-reference/documents/update-document-status-in-batch"}]},{"group":"分段","pages":[{"title":"向文档添加分段","deprecated":null,"version":null,"sidebarTitle":"向文档添加分段","openapi":"/zh/api-reference/openapi_service.json post /datasets/{dataset_id}/documents/{document_id}/segments","href":"/zh/api-reference/chunks/create-chunks"},{"title":"从文档获取分段","deprecated":null,"version":null,"sidebarTitle":"从文档获取分段","openapi":"/zh/api-reference/openapi_service.json get /datasets/{dataset_id}/documents/{document_id}/segments","href":"/zh/api-reference/chunks/list-chunks"},{"title":"获取文档中的分段详情","deprecated":null,"version":null,"sidebarTitle":"获取文档中的分段详情","openapi":"/zh/api-reference/openapi_service.json get /datasets/{dataset_id}/documents/{document_id}/segments/{segment_id}","href":"/zh/api-reference/chunks/get-chunk"},{"title":"更新文档中的分段","deprecated":null,"version":null,"sidebarTitle":"更新文档中的分段","openapi":"/zh/api-reference/openapi_service.json post /datasets/{dataset_id}/documents/{document_id}/segments/{segment_id}","href":"/zh/api-reference/chunks/update-chunk"},{"title":"删除文档中的分段","deprecated":null,"version":null,"sidebarTitle":"删除文档中的分段","openapi":"/zh/api-reference/openapi_service.json delete /datasets/{dataset_id}/documents/{document_id}/segments/{segment_id}","href":"/zh/api-reference/chunks/delete-chunk"},{"title":"创建子分段","deprecated":null,"version":null,"sidebarTitle":"创建子分段","openapi":"/zh/api-reference/openapi_service.json post /datasets/{dataset_id}/documents/{document_id}/segments/{segment_id}/child_chunks","href":"/zh/api-reference/chunks/create-child-chunk"},{"title":"获取子分段","deprecated":null,"version":null,"sidebarTitle":"获取子分段","openapi":"/zh/api-reference/openapi_service.json get /datasets/{dataset_id}/documents/{document_id}/segments/{segment_id}/child_chunks","href":"/zh/api-reference/chunks/list-child-chunks"},{"title":"更新子分段","deprecated":null,"version":null,"sidebarTitle":"更新子分段","openapi":"/zh/api-reference/openapi_service.json patch /datasets/{dataset_id}/documents/{document_id}/segments/{segment_id}/child_chunks/{child_chunk_id}","href":"/zh/api-reference/chunks/update-child-chunk"},{"title":"删除子分段","deprecated":null,"version":null,"sidebarTitle":"删除子分段","openapi":"/zh/api-reference/openapi_service.json delete /datasets/{dataset_id}/documents/{document_id}/segments/{segment_id}/child_chunks/{child_chunk_id}","href":"/zh/api-reference/chunks/delete-child-chunk"}]},{"group":"元数据","pages":[{"title":"创建元数据字段","deprecated":null,"version":null,"sidebarTitle":"创建元数据字段","openapi":"/zh/api-reference/openapi_service.json post /datasets/{dataset_id}/metadata","href":"/zh/api-reference/metadata/create-metadata-field"},{"title":"获取元数据字段列表","deprecated":null,"version":null,"sidebarTitle":"获取元数据字段列表","openapi":"/zh/api-reference/openapi_service.json get /datasets/{dataset_id}/metadata","href":"/zh/api-reference/metadata/list-metadata-fields"},{"title":"更新元数据字段","deprecated":null,"version":null,"sidebarTitle":"更新元数据字段","openapi":"/zh/api-reference/openapi_service.json patch /datasets/{dataset_id}/metadata/{metadata_id}","href":"/zh/api-reference/metadata/update-metadata-field"},{"title":"删除元数据字段","deprecated":null,"version":null,"sidebarTitle":"删除元数据字段","openapi":"/zh/api-reference/openapi_service.json delete /datasets/{dataset_id}/metadata/{metadata_id}","href":"/zh/api-reference/metadata/delete-metadata-field"},{"title":"获取内置元数据字段","deprecated":null,"version":null,"sidebarTitle":"获取内置元数据字段","openapi":"/zh/api-reference/openapi_service.json get /datasets/{dataset_id}/metadata/built-in","href":"/zh/api-reference/metadata/get-built-in-metadata-fields"},{"title":"更新内置元数据字段","deprecated":null,"version":null,"sidebarTitle":"更新内置元数据字段","openapi":"/zh/api-reference/openapi_service.json post /datasets/{dataset_id}/metadata/built-in/{action}","href":"/zh/api-reference/metadata/update-built-in-metadata-field"},{"title":"批量更新文档元数据","deprecated":null,"version":null,"sidebarTitle":"批量更新文档元数据","openapi":"/zh/api-reference/openapi_service.json post /datasets/{dataset_id}/documents/metadata","href":"/zh/api-reference/metadata/update-document-metadata-in-batch"}]},{"group":"标签","pages":[{"title":"创建知识库标签","deprecated":null,"version":null,"sidebarTitle":"创建知识库标签","openapi":"/zh/api-reference/openapi_service.json post /datasets/tags","href":"/zh/api-reference/tags/create-knowledge-tag"},{"title":"获取知识库标签列表","deprecated":null,"version":null,"sidebarTitle":"获取知识库标签列表","openapi":"/zh/api-reference/openapi_service.json get /datasets/tags","href":"/zh/api-reference/tags/list-knowledge-tags"},{"title":"修改知识库标签","deprecated":null,"version":null,"sidebarTitle":"修改知识库标签","openapi":"/zh/api-reference/openapi_service.json patch /datasets/tags","href":"/zh/api-reference/tags/update-knowledge-tag"},{"title":"删除知识库标签","deprecated":null,"version":null,"sidebarTitle":"删除知识库标签","openapi":"/zh/api-reference/openapi_service.json delete /datasets/tags","href":"/zh/api-reference/tags/delete-knowledge-tag"},{"title":"绑定标签到知识库","deprecated":null,"version":null,"sidebarTitle":"绑定标签到知识库","openapi":"/zh/api-reference/openapi_service.json post /datasets/tags/binding","href":"/zh/api-reference/tags/create-tag-binding"},{"title":"解除标签与知识库的绑定","deprecated":null,"version":null,"sidebarTitle":"解除标签与知识库的绑定","openapi":"/zh/api-reference/openapi_service.json post /datasets/tags/unbinding","href":"/zh/api-reference/tags/delete-tag-binding"},{"title":"获取知识库绑定的标签","deprecated":null,"version":null,"sidebarTitle":"获取知识库绑定的标签","openapi":"/zh/api-reference/openapi_service.json get /datasets/{dataset_id}/tags","href":"/zh/api-reference/tags/get-knowledge-base-tags"}]},{"group":"模型","pages":[{"title":"获取可用模型","deprecated":null,"version":null,"sidebarTitle":"获取可用模型","openapi":"/zh/api-reference/openapi_service.json get /workspaces/current/models/model-types/{model_type}","href":"/zh/api-reference/models/get-available-models"}]},{"group":"知识流水线","pages":[{"title":"上传流水线文件","deprecated":null,"version":null,"sidebarTitle":"上传流水线文件","openapi":"/zh/api-reference/openapi_service.json post /datasets/pipeline/file-upload","href":"/zh/api-reference/knowledge-pipeline/upload-pipeline-file"},{"title":"获取数据源插件列表","deprecated":null,"version":null,"sidebarTitle":"获取数据源插件列表","openapi":"/zh/api-reference/openapi_service.json get /datasets/{dataset_id}/pipeline/datasource-plugins","href":"/zh/api-reference/knowledge-pipeline/list-datasource-plugins"},{"title":"执行数据源节点","deprecated":null,"version":null,"sidebarTitle":"执行数据源节点","openapi":"/zh/api-reference/openapi_service.json post /datasets/{dataset_id}/pipeline/datasource/nodes/{node_id}/run","href":"/zh/api-reference/knowledge-pipeline/run-datasource-node"},{"title":"运行流水线","deprecated":null,"version":null,"sidebarTitle":"运行流水线","openapi":"/zh/api-reference/openapi_service.json post /datasets/{dataset_id}/pipeline/run","href":"/zh/api-reference/knowledge-pipeline/run-pipeline"}]}]}]}]},{"item":"CLI","icon":"terminal","groups":[{"group":" ","expanded":true,"pages":[{"title":"概述","href":"/zh/cli/overview"},{"title":"快速开始","href":"/zh/cli/get-started"},{"title":"查找并运行命令","href":"/zh/cli/find-and-run-commands"},{"group":"应用操作","expanded":true,"pages":[{"title":"构建应用","sidebarTitle":"构建","href":"/zh/cli/build-apps"},{"title":"运行应用","sidebarTitle":"运行","href":"/zh/cli/run-apps"},{"title":"通过 DSL 文件创建和更新应用","sidebarTitle":"通过 DSL 创建或更新","href":"/zh/cli/create-and-update-apps-from-dsl-files"},{"title":"在 CI 和自动化中使用 `difyctl`","sidebarTitle":"CI 和自动化","href":"/zh/cli/scripts-and-ci"}]},{"group":"管理 difyctl","expanded":true,"pages":[{"title":"管理登录","sidebarTitle":"登录与会话","href":"/zh/cli/manage-sign-in"},{"title":"更新或卸载 difyctl","sidebarTitle":"更新或卸载","href":"/zh/cli/update-or-uninstall"},{"title":"Dify 1.18.0 升级指南","sidebarTitle":"1.18.0 升级指南","href":"/zh/cli/upgrade-across-1-18"}]},{"group":"参考","expanded":true,"pages":[{"title":"命令索引","href":"/zh/cli/reference/command-index"},{"title":"结果、错误与退出码","sidebarTitle":"结果与错误","href":"/zh/cli/reference/results-errors-and-exit-codes"},{"title":"配置","href":"/zh/cli/reference/configuration"}]}]}]},{"item":"插件开发","icon":"code-pull-request","groups":[{"group":"快速开始","icon":"rocket","pages":[{"title":"Dify 插件","href":"/zh/develop-plugin/getting-started/getting-started-dify-plugin"},{"title":"选择插件类型","href":"/zh/develop-plugin/getting-started/choose-plugin-type"},{"title":"Dify 插件 CLI","href":"/zh/develop-plugin/getting-started/cli"}]},{"group":"特性与规范","icon":"list-check","pages":[{"group":"插件类型","pages":[{"title":"通用规范","href":"/zh/develop-plugin/features-and-specs/plugin-types/general-specifications"},{"title":"模型规范","href":"/zh/develop-plugin/features-and-specs/plugin-types/model-designing-rules"},{"title":"模型 API 接口","href":"/zh/develop-plugin/features-and-specs/plugin-types/model-schema"},{"title":"持久化存储","href":"/zh/develop-plugin/features-and-specs/plugin-types/persistent-storage-kv"},{"title":"工具返回","href":"/zh/develop-plugin/features-and-specs/plugin-types/tool"},{"title":"Manifest","href":"/zh/develop-plugin/features-and-specs/plugin-types/plugin-info-by-manifest"},{"title":"多语言 README","href":"/zh/develop-plugin/features-and-specs/plugin-types/multilingual-readme"},{"title":"插件调试","href":"/zh/develop-plugin/features-and-specs/plugin-types/remote-debug-a-plugin"},{"title":"输出插件日志","href":"/zh/develop-plugin/features-and-specs/plugin-types/plugin-logging"}]},{"group":"高级开发","pages":[{"group":"反向调用","pages":[{"title":"Bundle 插件包","href":"/zh/develop-plugin/features-and-specs/advanced-development/bundle"},{"title":"Dify 服务的反向调用","href":"/zh/develop-plugin/features-and-specs/advanced-development/reverse-invocation"},{"title":"应用","href":"/zh/develop-plugin/features-and-specs/advanced-development/reverse-invocation-app"},{"title":"反向调用模型","href":"/zh/develop-plugin/features-and-specs/advanced-development/reverse-invocation-model"},{"title":"工具","href":"/zh/develop-plugin/features-and-specs/advanced-development/reverse-invocation-tool"},{"title":"集成自定义模型","href":"/zh/develop-plugin/features-and-specs/advanced-development/customizable-model"},{"title":"节点","href":"/zh/develop-plugin/features-and-specs/advanced-development/reverse-invocation-node"}]}]}]},{"group":"开发指南与示例","icon":"code","pages":[{"title":"速查表","href":"/zh/develop-plugin/dev-guides-and-walkthroughs/cheatsheet"},{"group":"按插件类型","pages":[{"title":"工具插件","href":"/zh/develop-plugin/dev-guides-and-walkthroughs/tool-plugin"},{"title":"Tool OAuth","href":"/zh/develop-plugin/dev-guides-and-walkthroughs/tool-oauth"},{"title":"模型供应商插件","href":"/zh/develop-plugin/dev-guides-and-walkthroughs/creating-new-model-provider"},{"title":"Agent 策略插件","href":"/zh/develop-plugin/dev-guides-and-walkthroughs/agent-strategy-plugin"},{"title":"数据源插件","href":"/zh/develop-plugin/dev-guides-and-walkthroughs/datasource-plugin"},{"title":"触发器插件","href":"/zh/develop-plugin/dev-guides-and-walkthroughs/trigger-plugin"},{"title":"Endpoint 插件","href":"/zh/develop-plugin/dev-guides-and-walkthroughs/endpoint"}]},{"group":"完整示例","pages":[{"title":"Flomo 工具(10分钟)","href":"/zh/develop-plugin/dev-guides-and-walkthroughs/develop-flomo-plugin"},{"title":"Slack Bot","href":"/zh/develop-plugin/dev-guides-and-walkthroughs/develop-a-slack-bot-plugin"},{"title":"Markdown 导出器","href":"/zh/develop-plugin/dev-guides-and-walkthroughs/develop-md-exporter"},{"title":"多模态工具","href":"/zh/develop-plugin/dev-guides-and-walkthroughs/develop-multimodal-data-processing-tool"}]}]},{"group":"发布","icon":"upload","pages":[{"title":"发布插件","href":"/zh/develop-plugin/publishing/marketplace-listing/release-overview"},{"group":"标准","pages":[{"title":"插件开发指南","href":"/zh/develop-plugin/publishing/standards/contributor-covenant-code-of-conduct"},{"title":"隐私政策指南","href":"/zh/develop-plugin/publishing/standards/privacy-protection-guidelines"}]},{"title":"发布插件到市场","sidebarTitle":"市场","href":"/zh/develop-plugin/publishing/marketplace-listing/submit-plugin-to-marketplace"},{"group":"GitHub 仓库","pages":[{"title":"发布到个人 GitHub 仓库","href":"/zh/develop-plugin/publishing/marketplace-listing/release-to-individual-github-repo"}]},{"group":"本地文件","pages":[{"title":"打包为本地文件并分享","href":"/zh/develop-plugin/publishing/marketplace-listing/release-by-file"},{"title":"为第三方签名验证签署插件","href":"/zh/develop-plugin/publishing/standards/third-party-signature-verification"}]},{"title":"常见问题","sidebarTitle":"常见问题","href":"/zh/develop-plugin/publishing/faq/faq"}]}]}]}]},{"product":"自部署","icon":"server","tabs":[{"tab":"部署","icon":"server","pages":[{"title":"部署 Dify","sidebarTitle":"概览","mode":"frame","href":"/zh/self-host/deploy/overview"},{"group":"快速开始","icon":"rocket","pages":[{"title":"使用 Docker Compose 部署 Dify","sidebarTitle":"Docker Compose","href":"/zh/self-host/deploy/quick-start/docker-compose"},{"title":"常见问题","href":"/zh/self-host/deploy/quick-start/faqs"}]},{"group":"进阶部署","icon":"server","pages":[{"title":"使用源代码本地启动","href":"/zh/self-host/deploy/advanced-deployments/local-source-code"},{"title":"单独启动前端 Docker 容器","href":"/zh/self-host/deploy/advanced-deployments/start-the-frontend-docker-container"}]},{"group":"配置","icon":"gear","pages":[{"title":"环境变量","href":"/zh/self-host/deploy/configuration/environments"}]},{"group":"平台指南","icon":"map","pages":[{"title":"使用 aaPanel 部署","href":"/zh/self-host/deploy/platform-guides/bt-panel"},{"title":"AWS 上的 Dify Premium","href":"/zh/self-host/deploy/platform-guides/dify-premium"}]},{"group":"故障排除","icon":"wrench","pages":[{"title":"常见问题","href":"/zh/self-host/deploy/troubleshooting/common-issues"},{"title":"Docker 问题","href":"/zh/self-host/deploy/troubleshooting/docker-issues"},{"title":"第三方集成","href":"/zh/self-host/deploy/troubleshooting/integrations"},{"title":"存储与迁移","href":"/zh/self-host/deploy/troubleshooting/storage-and-migration"},{"title":"Weaviate 迁移指南:升级到客户端 v4 和服务器 1.27+","href":"/zh/self-host/deploy/troubleshooting/weaviate-v4-migration"},{"title":"Weaviate 服务器升级路径","href":"/zh/self-host/deploy/troubleshooting/weaviate-server-migration-path"}]}]},{"tab":"使用","icon":"book-open","pages":[{"title":"使用 Dify","sidebarTitle":"概览","mode":"frame","href":"/zh/self-host/use-dify/getting-started/introduction"},{"group":"编排","icon":"hammer","pages":[{"group":"Workflow 与 Chatflow","expanded":false,"pages":[{"title":"Workflow 与 Chatflow","sidebarTitle":"概述","href":"/zh/self-host/use-dify/build/workflow-chatflow"},{"title":"编排逻辑","href":"/zh/self-host/use-dify/build/orchestrate-node"},{"group":"节点","expanded":false,"pages":[{"group":"开始","root":{"title":"开始节点","href":"/zh/self-host/use-dify/nodes/start"},"pages":[{"title":"用户输入","href":"/zh/self-host/use-dify/nodes/user-input"},{"group":"触发器","root":{"title":"触发器","sidebarTitle":"概述","href":"/zh/self-host/use-dify/nodes/trigger/overview"},"pages":[{"title":"定时触发器","href":"/zh/self-host/use-dify/nodes/trigger/schedule-trigger"},{"title":"集成触发器","href":"/zh/self-host/use-dify/nodes/trigger/plugin-trigger"},{"title":"Webhook 触发器","href":"/zh/self-host/use-dify/nodes/trigger/webhook-trigger"}]}]},{"title":"大语言模型","href":"/zh/self-host/use-dify/nodes/llm"},{"title":"知识检索","href":"/zh/self-host/use-dify/nodes/knowledge-retrieval"},{"title":"直接回复","href":"/zh/self-host/use-dify/nodes/answer"},{"title":"输出","href":"/zh/self-host/use-dify/nodes/output"},{"title":"Agent","href":"/zh/self-host/use-dify/nodes/agent"},{"title":"问题分类器","href":"/zh/self-host/use-dify/nodes/question-classifier"},{"title":"If-Else","href":"/zh/self-host/use-dify/nodes/ifelse"},{"group":"人工介入","root":{"title":"人工介入","href":"/zh/self-host/use-dify/nodes/human-input"},"expanded":false,"pages":[]},{"title":"迭代","href":"/zh/self-host/use-dify/nodes/iteration"},{"title":"循环","href":"/zh/self-host/use-dify/nodes/loop"},{"title":"代码","href":"/zh/self-host/use-dify/nodes/code"},{"title":"模板转换","href":"/zh/self-host/use-dify/nodes/template"},{"title":"变量聚合器","href":"/zh/self-host/use-dify/nodes/variable-aggregator"},{"title":"文档提取器","href":"/zh/self-host/use-dify/nodes/doc-extractor"},{"title":"变量赋值器","href":"/zh/self-host/use-dify/nodes/variable-assigner"},{"title":"参数提取器","href":"/zh/self-host/use-dify/nodes/parameter-extractor"},{"title":"HTTP 请求","href":"/zh/self-host/use-dify/nodes/http-request"},{"title":"列表操作符","href":"/zh/self-host/use-dify/nodes/list-operator"},{"title":"工具节点","sidebarTitle":"工具","href":"/zh/self-host/use-dify/nodes/tools"}]},{"title":"快捷键","href":"/zh/self-host/use-dify/build/shortcut-key"},{"title":"版本控制","href":"/zh/self-host/use-dify/build/version-control"},{"title":"Snippets","href":"/zh/self-host/use-dify/build/snippet"},{"title":"与团队成员协作","sidebarTitle":"协作","href":"/zh/self-host/use-dify/build/workflow-collaboration"},{"group":"调试","expanded":false,"pages":[{"title":"处理错误","href":"/zh/self-host/use-dify/build/predefined-error-handling-logic"},{"title":"单节点","href":"/zh/self-host/use-dify/debug/step-run"},{"title":"变量检查器","href":"/zh/self-host/use-dify/debug/variable-inspect"},{"title":"运行历史","href":"/zh/self-host/use-dify/debug/history-and-logs"},{"title":"错误类型","href":"/zh/self-host/use-dify/debug/error-type"}]}]},{"group":"Agent","tag":"New","expanded":false,"pages":[{"title":"Agent","sidebarTitle":"概述","href":"/zh/self-host/use-dify/build/new-agent/overview"},{"title":"构建 Agent","sidebarTitle":"构建","href":"/zh/self-host/use-dify/build/new-agent/build"}]},{"title":"Skills","sidebarTitle":"Skills","href":"/zh/self-host/use-dify/build/skills"},{"group":"基础应用","expanded":false,"pages":[{"title":"Agent","tag":"Legacy","href":"/zh/self-host/use-dify/build/agent"},{"title":"聊天助手","sidebarTitle":"聊天助手","href":"/zh/self-host/use-dify/build/chatbot"},{"title":"文本生成应用","sidebarTitle":"文本生成应用","href":"/zh/self-host/use-dify/build/text-generator"}]},{"title":"应用工具箱","href":"/zh/self-host/use-dify/build/additional-features"},{"title":"全局搜索","href":"/zh/self-host/use-dify/build/goto-anything"}]},{"group":"发布","icon":"paper-plane","expanded":false,"pages":[{"title":"分享你的 AI 应用","href":"/zh/self-host/use-dify/publish/README"},{"group":"Web App","pages":[{"title":"Workflow Web 应用","href":"/zh/self-host/use-dify/publish/webapp/workflow-webapp"},{"title":"聊天 Web App","href":"/zh/self-host/use-dify/publish/webapp/chatflow-webapp"},{"title":"Web App 设置","href":"/zh/self-host/use-dify/publish/webapp/web-app-settings"},{"title":"嵌入 Web 应用","sidebarTitle":"嵌入","href":"/zh/self-host/use-dify/publish/webapp/embedding-in-websites"}]},{"title":"MCP 服务器","href":"/zh/self-host/use-dify/publish/publish-mcp"},{"title":"发布应用到市场","sidebarTitle":"市场","href":"/zh/self-host/use-dify/publish/publish-to-marketplace"}]},{"group":"监控","icon":"chart-line","expanded":false,"pages":[{"title":"仪表盘","href":"/zh/self-host/use-dify/monitor/analysis"},{"title":"日志","href":"/zh/self-host/use-dify/monitor/logs"},{"title":"标注系统","href":"/zh/self-host/use-dify/monitor/annotation-reply"},{"group":"集成","pages":[{"title":"集成 LangSmith","href":"/zh/self-host/use-dify/monitor/integrations/integrate-langsmith"},{"title":"集成 Langfuse","href":"/zh/self-host/use-dify/monitor/integrations/integrate-langfuse"},{"title":"集成 Opik","href":"/zh/self-host/use-dify/monitor/integrations/integrate-opik"},{"title":"集成 W\u0026B Weave","href":"/zh/self-host/use-dify/monitor/integrations/integrate-weave"},{"title":"集成 Arize","href":"/zh/self-host/use-dify/monitor/integrations/integrate-arize"},{"title":"集成 Phoenix","href":"/zh/self-host/use-dify/monitor/integrations/integrate-phoenix"},{"title":"集成阿里云云监控","href":"/zh/self-host/use-dify/monitor/integrations/integrate-aliyun"}]}]},{"group":"知识库","icon":"book","expanded":false,"pages":[{"title":"知识库","sidebarTitle":"概述","href":"/zh/self-host/use-dify/knowledge/readme"},{"group":"创建","pages":[{"group":"创建即用型知识库","pages":[{"title":"创建即用型知识库","sidebarTitle":"概述","href":"/zh/self-host/use-dify/knowledge/create-knowledge/introduction"},{"group":"导入数据","pages":[{"title":"上传本地文件","href":"/zh/self-host/use-dify/knowledge/create-knowledge/import-text-data/readme"},{"title":"从 Notion 导入数据","href":"/zh/self-host/use-dify/knowledge/create-knowledge/import-text-data/sync-from-notion"},{"title":"从网页导入数据","href":"/zh/self-host/use-dify/knowledge/create-knowledge/import-text-data/sync-from-website"}]},{"title":"指定分段设置","sidebarTitle":"设置分段","href":"/zh/self-host/use-dify/knowledge/create-knowledge/chunking-and-cleaning-text"},{"title":"指定索引方式与检索设置","sidebarTitle":"设置索引与检索","href":"/zh/self-host/use-dify/knowledge/create-knowledge/setting-indexing-methods"}]},{"group":"构建自定义知识库","pages":[{"title":"构建自定义知识库","sidebarTitle":"概述","href":"/zh/self-host/use-dify/knowledge/knowledge-pipeline/readme"},{"title":"步骤一:创建知识流水线","href":"/zh/self-host/use-dify/knowledge/knowledge-pipeline/create-knowledge-pipeline"},{"title":"步骤二:编排知识流水线","href":"/zh/self-host/use-dify/knowledge/knowledge-pipeline/knowledge-pipeline-orchestration"},{"title":"步骤三:发布知识流水线","href":"/zh/self-host/use-dify/knowledge/knowledge-pipeline/publish-knowledge-pipeline"},{"title":"步骤四:上传文件","href":"/zh/self-host/use-dify/knowledge/knowledge-pipeline/upload-files"},{"title":"步骤五:管理和使用知识库","href":"/zh/self-host/use-dify/knowledge/knowledge-pipeline/manage-knowledge-base"},{"title":"数据源授权","href":"/zh/self-host/use-dify/knowledge/knowledge-pipeline/authorize-data-source"}]},{"group":"连接外部知识库","pages":[{"title":"连接外部知识库","sidebarTitle":"概述","href":"/zh/self-host/use-dify/knowledge/connect-external-knowledge-base"},{"title":"外部知识库 API","href":"/zh/self-host/use-dify/knowledge/external-knowledge-api"}]}]},{"group":"管理","pages":[{"title":"维护知识库内容","sidebarTitle":"文档与分段","href":"/zh/self-host/use-dify/knowledge/manage-knowledge/maintain-knowledge-documents"},{"title":"管理文档元数据","sidebarTitle":"元数据","href":"/zh/self-host/use-dify/knowledge/metadata"},{"title":"调整知识库设置","sidebarTitle":"设置","href":"/zh/self-host/use-dify/knowledge/manage-knowledge/introduction"}]},{"title":"测试检索","sidebarTitle":"调试","href":"/zh/self-host/use-dify/knowledge/test-retrieval"},{"title":"在应用内集成知识库","sidebarTitle":"在应用内集成","href":"/zh/self-host/use-dify/knowledge/integrate-knowledge-within-application"}]},{"group":"集成","icon":"plug","expanded":false,"pages":[{"title":"集成","sidebarTitle":"概览","href":"/zh/self-host/use-dify/workspace/plugins"},{"title":"模型供应商","href":"/zh/self-host/use-dify/workspace/model-providers"},{"title":"Dify 工具","sidebarTitle":"工具","href":"/zh/self-host/use-dify/workspace/tools"},{"group":"自定义端点","pages":[{"title":"自定义端点","sidebarTitle":"概述","href":"/zh/self-host/use-dify/workspace/api-extension/api-extension"},{"title":"外部数据工具","href":"/zh/self-host/use-dify/workspace/api-extension/external-data-tool-api-extension"},{"title":"敏感内容审查","href":"/zh/self-host/use-dify/workspace/api-extension/moderation-api-extension"},{"title":"使用 Cloudflare Workers 部署自定义端点","href":"/zh/self-host/use-dify/workspace/api-extension/cloudflare-worker"}]}]},{"group":"工作空间","icon":"briefcase","expanded":false,"pages":[{"title":"工作空间","sidebarTitle":"概述","href":"/zh/self-host/use-dify/workspace/readme"},{"title":"导出和导入应用","sidebarTitle":"导出和导入","href":"/zh/self-host/use-dify/workspace/export-import-apps"},{"title":"管理成员","href":"/zh/self-host/use-dify/workspace/team-members-management"},{"title":"个人设置","href":"/zh/self-host/use-dify/workspace/personal-account-management"}]}]},{"tab":"学习","icon":"graduation-cap","pages":[{"title":"核心概念","href":"/zh/learn/key-concepts"},{"group":"教程","pages":[{"title":"30 分钟快速入门","href":"/zh/quick-start"},{"group":"工作流 101","pages":[{"title":"第 1 课:什么是工作流","href":"/zh/learn/tutorials/workflow-101/lesson-01"},{"title":"第 2 课:流程的头和尾(开始与输出节点)","sidebarTitle":"第 2 课:流程的头和尾","href":"/zh/learn/tutorials/workflow-101/lesson-02"},{"title":"第 3 课:工作流的大脑(LLM 节点)","sidebarTitle":"第 3 课:工作流的大脑","href":"/zh/learn/tutorials/workflow-101/lesson-03"},{"title":"第 4 课:小抄(知识检索)","sidebarTitle":"第 4 课:小抄","href":"/zh/learn/tutorials/workflow-101/lesson-04"},{"title":"第 5 课:工作流的岔路口(分类与执行)","sidebarTitle":"第 5 课:工作流的岔路口","href":"/zh/learn/tutorials/workflow-101/lesson-05"},{"title":"第 6 课:处理多个任务(参数提取 \u0026 迭代)","sidebarTitle":"第 6 课:处理多个任务","href":"/zh/learn/tutorials/workflow-101/lesson-06"},{"title":"第 7 课:增强工作流(工具)","sidebarTitle":"第 7 课:增强工作流","href":"/zh/learn/tutorials/workflow-101/lesson-07"},{"title":"第 8 课:Agent 节点","sidebarTitle":"第 8 课:Agent 节点","href":"/zh/learn/tutorials/workflow-101/lesson-08"},{"title":"第 9 课:排版设计师(模板)","sidebarTitle":"第 9 课:排版设计师","href":"/zh/learn/tutorials/workflow-101/lesson-09"},{"title":"第 10 课:发布和监控你的 AI 应用","sidebarTitle":"第 10 课:发布和监控","href":"/zh/learn/tutorials/workflow-101/lesson-10"}]},{"title":"简单聊天机器人","href":"/zh/learn/tutorials/simple-chatbot"},{"title":"ChatFlow 实战:搭建 Twitter 账号分析助手","href":"/zh/learn/tutorials/twitter-chatflow"},{"title":"使用知识库搭建智能客服机器人","href":"/zh/learn/tutorials/customer-service-bot"},{"title":"如何搭建 AI 图片生成应用","href":"/zh/learn/tutorials/build-ai-image-generation-app"},{"title":"使用文件上传搭建文章理解助手","href":"/zh/learn/tutorials/article-reader"}]}]},{"tab":"开发者资源","icon":"code","menu":[{"item":"API","icon":"code","groups":[{"group":"指南","pages":[{"title":"Dify API 快速开始","sidebarTitle":"快速开始","href":"/zh/api-reference/guides/get-started"},{"group":"API 概览","expanded":true,"pages":[{"title":"Chatflow 应用 API","sidebarTitle":"Chatflow","href":"/zh/api-reference/guides/chatflow"},{"title":"Workflow 应用 API","sidebarTitle":"Workflow","href":"/zh/api-reference/guides/workflow"},{"title":"Agent API","sidebarTitle":"Agent","tag":"New","href":"/zh/api-reference/guides/agent"},{"group":"知识库","root":{"title":"知识库 API","sidebarTitle":"知识库","href":"/zh/api-reference/guides/knowledge-base-api"},"pages":[{"title":"Agent 知识库 API","tag":"Cloud","sidebarTitle":"Agent 知识库","href":"/zh/api-reference/guides/knowledge-base"},{"title":"经典知识库 API","sidebarTitle":"经典知识库","href":"/zh/api-reference/guides/knowledge"}]},{"title":"对话型应用 API","sidebarTitle":"Chatbot 和旧版 Agent","href":"/zh/api-reference/guides/chat"},{"title":"文本生成应用 API","sidebarTitle":"文本生成应用","href":"/zh/api-reference/guides/completion"}]},{"title":"处理流式响应","sidebarTitle":"SSE 流式传输","href":"/zh/api-reference/guides/streaming"},{"title":"人工介入 API 集成流程","sidebarTitle":"人工介入流程","href":"/zh/api-reference/guides/human-input-flow"},{"title":"终端用户身份","sidebarTitle":"终端用户身份","href":"/zh/api-reference/guides/end-user-identity"},{"title":"处理错误与速率限制","sidebarTitle":"错误与速率限制","href":"/zh/api-reference/guides/errors"}]},{"group":"应用 API","pages":[{"group":"对话消息","pages":[{"title":"发送对话消息","deprecated":null,"version":null,"sidebarTitle":"发送对话消息","openapi":"/zh/api-reference/openapi_service.json post /chat-messages","href":"/zh/api-reference/chat-messages/send-chat-message"},{"title":"停止响应","deprecated":null,"version":null,"sidebarTitle":"停止响应","openapi":"/zh/api-reference/openapi_service.json post /chat-messages/{task_id}/stop","href":"/zh/api-reference/chat-messages/stop-chat-message-generation"},{"title":"获取下一轮建议问题列表","deprecated":null,"version":null,"sidebarTitle":"获取下一轮建议问题列表","openapi":"/zh/api-reference/openapi_service.json get /messages/{message_id}/suggested","href":"/zh/api-reference/chat-messages/get-next-suggested-questions"}]},{"group":"文本生成消息","pages":[{"title":"发送消息","deprecated":null,"version":null,"sidebarTitle":"发送消息","openapi":"/zh/api-reference/openapi_service.json post /completion-messages","href":"/zh/api-reference/completion-messages/send-completion-message"},{"title":"停止响应","deprecated":null,"version":null,"sidebarTitle":"停止响应","openapi":"/zh/api-reference/openapi_service.json post /completion-messages/{task_id}/stop","href":"/zh/api-reference/completion-messages/stop-completion-message-generation"}]},{"group":"工作流运行","pages":[{"title":"执行工作流","deprecated":null,"version":null,"sidebarTitle":"执行工作流","openapi":"/zh/api-reference/openapi_service.json post /workflows/run","href":"/zh/api-reference/workflow-runs/run-workflow"},{"title":"按 ID 执行工作流","deprecated":null,"version":null,"sidebarTitle":"按 ID 执行工作流","openapi":"/zh/api-reference/openapi_service.json post /workflows/{workflow_id}/run","href":"/zh/api-reference/workflow-runs/run-workflow-by-id"},{"title":"停止工作流任务","deprecated":null,"version":null,"sidebarTitle":"停止工作流任务","openapi":"/zh/api-reference/openapi_service.json post /workflows/tasks/{task_id}/stop","href":"/zh/api-reference/workflow-runs/stop-workflow-task"},{"title":"获取工作流执行情况","deprecated":null,"version":null,"sidebarTitle":"获取工作流执行情况","openapi":"/zh/api-reference/openapi_service.json get /workflows/run/{workflow_run_id}","href":"/zh/api-reference/workflow-runs/get-workflow-run-detail"},{"title":"获取工作流日志","deprecated":null,"version":null,"sidebarTitle":"获取工作流日志","openapi":"/zh/api-reference/openapi_service.json get /workflows/logs","href":"/zh/api-reference/workflow-runs/list-workflow-logs"},{"title":"流式获取工作流事件","deprecated":null,"version":null,"sidebarTitle":"流式获取工作流事件","openapi":"/zh/api-reference/openapi_service.json get /workflow/{workflow_run_id}/events","href":"/zh/api-reference/workflow-runs/stream-workflow-events"}]},{"group":"会话管理","pages":[{"title":"获取会话列表","deprecated":null,"version":null,"sidebarTitle":"获取会话列表","openapi":"/zh/api-reference/openapi_service.json get /conversations","href":"/zh/api-reference/conversations/list-conversations"},{"title":"获取会话历史消息","deprecated":null,"version":null,"sidebarTitle":"获取会话历史消息","openapi":"/zh/api-reference/openapi_service.json get /messages","href":"/zh/api-reference/conversations/list-conversation-messages"},{"title":"获取会话变量","deprecated":null,"version":null,"sidebarTitle":"获取会话变量","openapi":"/zh/api-reference/openapi_service.json get /conversations/{conversation_id}/variables","href":"/zh/api-reference/conversations/list-conversation-variables"},{"title":"重命名会话","deprecated":null,"version":null,"sidebarTitle":"重命名会话","openapi":"/zh/api-reference/openapi_service.json post /conversations/{conversation_id}/name","href":"/zh/api-reference/conversations/rename-conversation"},{"title":"更新会话变量","deprecated":null,"version":null,"sidebarTitle":"更新会话变量","openapi":"/zh/api-reference/openapi_service.json put /conversations/{conversation_id}/variables/{variable_id}","href":"/zh/api-reference/conversations/update-conversation-variable"},{"title":"删除会话","deprecated":null,"version":null,"sidebarTitle":"删除会话","openapi":"/zh/api-reference/openapi_service.json delete /conversations/{conversation_id}","href":"/zh/api-reference/conversations/delete-conversation"}]},{"group":"文件操作","pages":[{"title":"上传文件","deprecated":null,"version":null,"sidebarTitle":"上传文件","openapi":"/zh/api-reference/openapi_service.json post /files/upload","href":"/zh/api-reference/files/upload-file"},{"title":"下载文件","deprecated":null,"version":null,"sidebarTitle":"下载文件","openapi":"/zh/api-reference/openapi_service.json get /files/{file_id}/preview","href":"/zh/api-reference/files/download-file"}]},{"group":"语音与文字转换","pages":[{"title":"语音转文字","deprecated":null,"version":null,"sidebarTitle":"语音转文字","openapi":"/zh/api-reference/openapi_service.json post /audio-to-text","href":"/zh/api-reference/audio/convert-audio-to-text"},{"title":"文字转语音","deprecated":null,"version":null,"sidebarTitle":"文字转语音","openapi":"/zh/api-reference/openapi_service.json post /text-to-audio","href":"/zh/api-reference/audio/convert-text-to-audio"}]},{"group":"应用配置","pages":[{"title":"获取应用基本信息","deprecated":null,"version":null,"sidebarTitle":"获取应用基本信息","openapi":"/zh/api-reference/openapi_service.json get /info","href":"/zh/api-reference/applications/get-app-info"},{"title":"获取应用参数","deprecated":null,"version":null,"sidebarTitle":"获取应用参数","openapi":"/zh/api-reference/openapi_service.json get /parameters","href":"/zh/api-reference/applications/get-app-parameters"},{"title":"获取应用元数据","deprecated":null,"version":null,"sidebarTitle":"获取应用元数据","openapi":"/zh/api-reference/openapi_service.json get /meta","href":"/zh/api-reference/applications/get-app-meta"},{"title":"获取应用 WebApp 设置","deprecated":null,"version":null,"sidebarTitle":"获取应用 WebApp 设置","openapi":"/zh/api-reference/openapi_service.json get /site","href":"/zh/api-reference/applications/get-app-webapp-settings"}]},{"group":"消息反馈","pages":[{"title":"提交消息反馈","deprecated":null,"version":null,"sidebarTitle":"提交消息反馈","openapi":"/zh/api-reference/openapi_service.json post /messages/{message_id}/feedbacks","href":"/zh/api-reference/feedback/submit-message-feedback"},{"title":"获取应用的消息反馈","deprecated":null,"version":null,"sidebarTitle":"获取应用的消息反馈","openapi":"/zh/api-reference/openapi_service.json get /app/feedbacks","href":"/zh/api-reference/feedback/list-app-feedbacks"}]},{"group":"标注管理","pages":[{"title":"创建标注","deprecated":null,"version":null,"sidebarTitle":"创建标注","openapi":"/zh/api-reference/openapi_service.json post /apps/annotations","href":"/zh/api-reference/annotations/create-annotation"},{"title":"获取标注列表","deprecated":null,"version":null,"sidebarTitle":"获取标注列表","openapi":"/zh/api-reference/openapi_service.json get /apps/annotations","href":"/zh/api-reference/annotations/list-annotations"},{"title":"更新标注","deprecated":null,"version":null,"sidebarTitle":"更新标注","openapi":"/zh/api-reference/openapi_service.json put /apps/annotations/{annotation_id}","href":"/zh/api-reference/annotations/update-annotation"},{"title":"删除标注","deprecated":null,"version":null,"sidebarTitle":"删除标注","openapi":"/zh/api-reference/openapi_service.json delete /apps/annotations/{annotation_id}","href":"/zh/api-reference/annotations/delete-annotation"},{"title":"配置标注回复","deprecated":null,"version":null,"sidebarTitle":"配置标注回复","openapi":"/zh/api-reference/openapi_service.json post /apps/annotation-reply/{action}","href":"/zh/api-reference/annotations/configure-annotation-reply"},{"title":"查询标注回复配置任务状态","deprecated":null,"version":null,"sidebarTitle":"查询标注回复配置任务状态","openapi":"/zh/api-reference/openapi_service.json get /apps/annotation-reply/{action}/status/{job_id}","href":"/zh/api-reference/annotations/get-annotation-reply-job-status"}]},{"group":"终端用户","pages":[{"title":"获取终端用户信息","deprecated":null,"version":null,"sidebarTitle":"获取终端用户信息","openapi":"/zh/api-reference/openapi_service.json get /end-users/{end_user_id}","href":"/zh/api-reference/end-users/get-end-user-info"}]},{"group":"人工介入","pages":[{"title":"获取人工介入表单","deprecated":null,"version":null,"sidebarTitle":"获取人工介入表单","openapi":"/zh/api-reference/openapi_service.json get /form/human_input/{form_token}","href":"/zh/api-reference/human-input/get-human-input-form"},{"title":"提交人工介入表单","deprecated":null,"version":null,"sidebarTitle":"提交人工介入表单","openapi":"/zh/api-reference/openapi_service.json post /form/human_input/{form_token}","href":"/zh/api-reference/human-input/submit-human-input-form"}]}]},{"group":"知识库 API","pages":[{"group":"Agent 知识库","tag":"Cloud","pages":[{"group":"查询","pages":[{"title":"创建查询令牌","deprecated":null,"version":null,"sidebarTitle":"创建查询令牌","openapi":"/zh/api-reference/openapi_service.json post /knowledge-fs/spaces/{knowledge_base_id}/queries/admission","href":"/zh/api-reference/queries/create-query-token"},{"title":"运行查询","deprecated":null,"version":null,"sidebarTitle":"运行查询","openapi":"/zh/api-reference/openapi_service.json post /knowledge-fs/query-stream","href":"/zh/api-reference/queries/run-query"}]},{"group":"查询记录","pages":[{"title":"获取查询记录列表","deprecated":null,"version":null,"sidebarTitle":"获取查询记录列表","openapi":"/zh/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/traces","href":"/zh/api-reference/query-records/list-query-records"},{"title":"获取查询记录","deprecated":null,"version":null,"sidebarTitle":"获取查询记录","openapi":"/zh/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/traces/{query_record_id}","href":"/zh/api-reference/query-records/get-query-record"},{"title":"获取查询分段列表","deprecated":null,"version":null,"sidebarTitle":"获取查询分段列表","openapi":"/zh/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/traces/{query_record_id}/evidence","href":"/zh/api-reference/query-records/list-query-chunks"},{"title":"获取查询冲突列表","deprecated":null,"version":null,"sidebarTitle":"获取查询冲突列表","openapi":"/zh/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/traces/{query_record_id}/conflicts","href":"/zh/api-reference/query-records/list-query-conflicts"},{"title":"获取缺失分段列表","deprecated":null,"version":null,"sidebarTitle":"获取缺失分段列表","openapi":"/zh/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/traces/{query_record_id}/missing","href":"/zh/api-reference/query-records/list-missing-chunks"}]},{"group":"研究任务","pages":[{"title":"获取研究任务列表","deprecated":null,"version":null,"sidebarTitle":"获取研究任务列表","openapi":"/zh/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/research-tasks","href":"/zh/api-reference/research-tasks/list-research-tasks"},{"title":"创建研究任务","deprecated":null,"version":null,"sidebarTitle":"创建研究任务","openapi":"/zh/api-reference/openapi_service.json post /knowledge-fs/spaces/{knowledge_base_id}/research-tasks","href":"/zh/api-reference/research-tasks/create-research-task"},{"title":"规划研究任务","deprecated":null,"version":null,"sidebarTitle":"规划研究任务","openapi":"/zh/api-reference/openapi_service.json post /knowledge-fs/spaces/{knowledge_base_id}/research-tasks/plan","href":"/zh/api-reference/research-tasks/plan-research-task"},{"title":"获取研究任务","deprecated":null,"version":null,"sidebarTitle":"获取研究任务","openapi":"/zh/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/research-tasks/{research_task_id}","href":"/zh/api-reference/research-tasks/get-research-task"},{"title":"取消研究任务","deprecated":null,"version":null,"sidebarTitle":"取消研究任务","openapi":"/zh/api-reference/openapi_service.json delete /knowledge-fs/spaces/{knowledge_base_id}/research-tasks/{research_task_id}","href":"/zh/api-reference/research-tasks/cancel-research-task"},{"title":"获取研究任务结果列表","deprecated":null,"version":null,"sidebarTitle":"获取研究任务结果列表","openapi":"/zh/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/research-tasks/{research_task_id}/partials","href":"/zh/api-reference/research-tasks/list-research-task-results"}]},{"group":"文档与分段","pages":[{"title":"获取文档列表","deprecated":null,"version":null,"sidebarTitle":"获取文档列表","openapi":"/zh/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/logical-documents","href":"/zh/api-reference/documents-and-chunks/list-documents"},{"title":"获取文档","deprecated":null,"version":null,"sidebarTitle":"获取文档","openapi":"/zh/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/logical-documents/{document_id}","href":"/zh/api-reference/documents-and-chunks/get-document"},{"title":"更新文档元数据","deprecated":null,"version":null,"sidebarTitle":"更新文档元数据","openapi":"/zh/api-reference/openapi_service.json patch /knowledge-fs/spaces/{knowledge_base_id}/documents/{document_file_id}","href":"/zh/api-reference/documents-and-chunks/update-document-metadata"},{"title":"按文件获取文档","deprecated":null,"version":null,"sidebarTitle":"按文件获取文档","openapi":"/zh/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/document-references/resolve","href":"/zh/api-reference/documents-and-chunks/get-document-by-file"},{"title":"获取文档文件列表","deprecated":null,"version":null,"sidebarTitle":"获取文档文件列表","openapi":"/zh/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/documents","href":"/zh/api-reference/documents-and-chunks/list-document-files"},{"title":"获取文档文件","deprecated":null,"version":null,"sidebarTitle":"获取文档文件","openapi":"/zh/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/documents/{document_file_id}","href":"/zh/api-reference/documents-and-chunks/get-document-file"},{"title":"删除文档文件","deprecated":null,"version":null,"sidebarTitle":"删除文档文件","openapi":"/zh/api-reference/openapi_service.json delete /knowledge-fs/spaces/{knowledge_base_id}/documents/{document_file_id}","href":"/zh/api-reference/documents-and-chunks/delete-document-file"},{"title":"获取文档大纲","deprecated":null,"version":null,"sidebarTitle":"获取文档大纲","openapi":"/zh/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/documents/{document_file_id}/outline","href":"/zh/api-reference/documents-and-chunks/get-document-outline"},{"title":"获取文档修订版本列表","deprecated":null,"version":null,"sidebarTitle":"获取文档修订版本列表","openapi":"/zh/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/documents/{document_id}/revisions","href":"/zh/api-reference/documents-and-chunks/list-document-revisions"},{"title":"获取分段列表","deprecated":null,"version":null,"sidebarTitle":"获取分段列表","openapi":"/zh/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/documents/{document_id}/revisions/{revision}/chunks","href":"/zh/api-reference/documents-and-chunks/list-chunks"},{"title":"获取分段","deprecated":null,"version":null,"sidebarTitle":"获取分段","openapi":"/zh/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/documents/{document_id}/revisions/{revision}/chunks/{chunk_id}","href":"/zh/api-reference/documents-and-chunks/get-chunk"},{"title":"批量删除文档文件","deprecated":null,"version":null,"sidebarTitle":"批量删除文档文件","openapi":"/zh/api-reference/openapi_service.json delete /knowledge-fs/spaces/{knowledge_base_id}/documents/bulk","href":"/zh/api-reference/documents-and-chunks/delete-document-files-in-batch"},{"title":"重新索引文档","deprecated":null,"version":null,"sidebarTitle":"重新索引文档","openapi":"/zh/api-reference/openapi_service.json post /knowledge-fs/spaces/{knowledge_base_id}/documents/reindex","href":"/zh/api-reference/documents-and-chunks/re-index-documents"}]},{"group":"索引任务","pages":[{"title":"获取索引任务","deprecated":null,"version":null,"sidebarTitle":"获取索引任务","openapi":"/zh/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/jobs/{task_id}","href":"/zh/api-reference/indexing-tasks/get-indexing-task"},{"title":"取消索引任务","deprecated":null,"version":null,"sidebarTitle":"取消索引任务","openapi":"/zh/api-reference/openapi_service.json delete /knowledge-fs/spaces/{knowledge_base_id}/jobs/{task_id}","href":"/zh/api-reference/indexing-tasks/cancel-indexing-task"},{"title":"重试索引任务","deprecated":null,"version":null,"sidebarTitle":"重试索引任务","openapi":"/zh/api-reference/openapi_service.json post /knowledge-fs/spaces/{knowledge_base_id}/jobs/{task_id}/retry","href":"/zh/api-reference/indexing-tasks/retry-indexing-task"},{"title":"获取批量任务","deprecated":null,"version":null,"sidebarTitle":"获取批量任务","openapi":"/zh/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/bulk-jobs/{bulk_task_id}","href":"/zh/api-reference/indexing-tasks/get-bulk-task"},{"title":"获取文档的索引任务列表","deprecated":null,"version":null,"sidebarTitle":"获取文档的索引任务列表","openapi":"/zh/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/logical-documents/{document_id}/processing-tasks","href":"/zh/api-reference/indexing-tasks/list-document-indexing-tasks"},{"title":"获取文档的索引任务","deprecated":null,"version":null,"sidebarTitle":"获取文档的索引任务","openapi":"/zh/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/logical-documents/{document_id}/processing-tasks/{task_id}","href":"/zh/api-reference/indexing-tasks/get-document-indexing-task"},{"title":"获取后台任务列表","deprecated":null,"version":null,"sidebarTitle":"获取后台任务列表","openapi":"/zh/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/background-tasks","href":"/zh/api-reference/indexing-tasks/list-background-tasks"}]},{"group":"删除作业","pages":[{"title":"获取删除作业","deprecated":null,"version":null,"sidebarTitle":"获取删除作业","openapi":"/zh/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/deletion-jobs/{deletion_job_id}","href":"/zh/api-reference/deletion-jobs/get-deletion-job"},{"title":"获取删除批次","deprecated":null,"version":null,"sidebarTitle":"获取删除批次","openapi":"/zh/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/deletion-batches/{deletion_batch_id}","href":"/zh/api-reference/deletion-jobs/get-deletion-batch"}]},{"group":"数据源","pages":[{"title":"获取数据源连接列表","deprecated":null,"version":null,"sidebarTitle":"获取数据源连接列表","openapi":"/zh/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/source-connections","href":"/zh/api-reference/sources/list-source-connections"},{"title":"创建数据源","deprecated":null,"version":null,"sidebarTitle":"创建数据源","openapi":"/zh/api-reference/openapi_service.json post /knowledge-fs/spaces/{knowledge_base_id}/sources","href":"/zh/api-reference/sources/create-source"},{"title":"获取数据源列表","deprecated":null,"version":null,"sidebarTitle":"获取数据源列表","openapi":"/zh/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/sources","href":"/zh/api-reference/sources/list-sources"},{"title":"获取数据源","deprecated":null,"version":null,"sidebarTitle":"获取数据源","openapi":"/zh/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/sources/{source_id}","href":"/zh/api-reference/sources/get-source"},{"title":"更新数据源","deprecated":null,"version":null,"sidebarTitle":"更新数据源","openapi":"/zh/api-reference/openapi_service.json patch /knowledge-fs/spaces/{knowledge_base_id}/sources/{source_id}","href":"/zh/api-reference/sources/update-source"},{"title":"删除数据源","deprecated":null,"version":null,"sidebarTitle":"删除数据源","openapi":"/zh/api-reference/openapi_service.json delete /knowledge-fs/spaces/{knowledge_base_id}/sources/{source_id}","href":"/zh/api-reference/sources/delete-source"},{"title":"测试数据源凭据","deprecated":null,"version":null,"sidebarTitle":"测试数据源凭据","openapi":"/zh/api-reference/openapi_service.json post /knowledge-fs/spaces/{knowledge_base_id}/sources/{source_id}/test","href":"/zh/api-reference/sources/test-source-credentials"},{"title":"获取数据源页面列表","deprecated":null,"version":null,"sidebarTitle":"获取数据源页面列表","openapi":"/zh/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/sources/{source_id}/pages","href":"/zh/api-reference/sources/list-source-pages"},{"title":"获取数据源文件列表","deprecated":null,"version":null,"sidebarTitle":"获取数据源文件列表","openapi":"/zh/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/sources/{source_id}/files","href":"/zh/api-reference/sources/list-source-files"},{"title":"获取同步策略","deprecated":null,"version":null,"sidebarTitle":"获取同步策略","openapi":"/zh/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/sources/{source_id}/sync-policy","href":"/zh/api-reference/sources/get-sync-policy"},{"title":"更新同步策略","deprecated":null,"version":null,"sidebarTitle":"更新同步策略","openapi":"/zh/api-reference/openapi_service.json put /knowledge-fs/spaces/{knowledge_base_id}/sources/{source_id}/sync-policy","href":"/zh/api-reference/sources/update-sync-policy"}]},{"group":"数据源同步与导入","pages":[{"title":"同步数据源","deprecated":null,"version":null,"sidebarTitle":"同步数据源","openapi":"/zh/api-reference/openapi_service.json post /knowledge-fs/spaces/{knowledge_base_id}/sources/{source_id}/sync","href":"/zh/api-reference/source-syncs-and-imports/sync-source"},{"title":"预览网站抓取","deprecated":null,"version":null,"sidebarTitle":"预览网站抓取","openapi":"/zh/api-reference/openapi_service.json post /knowledge-fs/spaces/{knowledge_base_id}/sources/{source_id}/crawl-preview","href":"/zh/api-reference/source-syncs-and-imports/preview-website-crawl"},{"title":"获取抓取预览页面列表","deprecated":null,"version":null,"sidebarTitle":"获取抓取预览页面列表","openapi":"/zh/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/source-workflows/{run_id}/pages","href":"/zh/api-reference/source-syncs-and-imports/list-crawl-preview-pages"},{"title":"导入所选页面","deprecated":null,"version":null,"sidebarTitle":"导入所选页面","openapi":"/zh/api-reference/openapi_service.json post /knowledge-fs/spaces/{knowledge_base_id}/source-workflows/{run_id}/selection","href":"/zh/api-reference/source-syncs-and-imports/import-selected-pages"},{"title":"导入网站页面","deprecated":null,"version":null,"sidebarTitle":"导入网站页面","openapi":"/zh/api-reference/openapi_service.json post /knowledge-fs/spaces/{knowledge_base_id}/sources/{source_id}/crawl-import","href":"/zh/api-reference/source-syncs-and-imports/import-website-pages"},{"title":"导入数据源条目","deprecated":null,"version":null,"sidebarTitle":"导入数据源条目","openapi":"/zh/api-reference/openapi_service.json post /knowledge-fs/spaces/{knowledge_base_id}/sources/{source_id}/workflow-imports","href":"/zh/api-reference/source-syncs-and-imports/import-source-items"},{"title":"获取数据源运行列表","deprecated":null,"version":null,"sidebarTitle":"获取数据源运行列表","openapi":"/zh/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/source-workflows","href":"/zh/api-reference/source-syncs-and-imports/list-source-runs"},{"title":"获取数据源运行","deprecated":null,"version":null,"sidebarTitle":"获取数据源运行","openapi":"/zh/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/source-workflows/{run_id}","href":"/zh/api-reference/source-syncs-and-imports/get-source-run"},{"title":"取消数据源运行","deprecated":null,"version":null,"sidebarTitle":"取消数据源运行","openapi":"/zh/api-reference/openapi_service.json post /knowledge-fs/spaces/{knowledge_base_id}/source-workflows/{run_id}/cancel","href":"/zh/api-reference/source-syncs-and-imports/cancel-source-run"},{"title":"重试数据源运行","deprecated":null,"version":null,"sidebarTitle":"重试数据源运行","openapi":"/zh/api-reference/openapi_service.json post /knowledge-fs/spaces/{knowledge_base_id}/source-workflows/{run_id}/retry","href":"/zh/api-reference/source-syncs-and-imports/retry-source-run"}]},{"group":"设置","pages":[{"title":"获取知识库设置","deprecated":null,"version":null,"sidebarTitle":"获取知识库设置","openapi":"/zh/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/settings","href":"/zh/api-reference/settings/get-knowledge-base-settings"},{"title":"更新知识库设置","deprecated":null,"version":null,"sidebarTitle":"更新知识库设置","openapi":"/zh/api-reference/openapi_service.json patch /knowledge-fs/spaces/{knowledge_base_id}/settings","href":"/zh/api-reference/settings/update-knowledge-base-settings"},{"title":"获取设置迁移","deprecated":null,"version":null,"sidebarTitle":"获取设置迁移","openapi":"/zh/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/settings/migrations/{migration_id}","href":"/zh/api-reference/settings/get-settings-migration"}]}]},{"group":"经典知识库","pages":[{"group":"知识库","pages":[{"title":"创建空知识库","deprecated":null,"version":null,"sidebarTitle":"创建空知识库","openapi":"/zh/api-reference/openapi_service.json post /datasets","href":"/zh/api-reference/knowledge-bases/create-an-empty-knowledge-base"},{"title":"获取知识库列表","deprecated":null,"version":null,"sidebarTitle":"获取知识库列表","openapi":"/zh/api-reference/openapi_service.json get /datasets","href":"/zh/api-reference/knowledge-bases/list-knowledge-bases"},{"title":"获取知识库详情","deprecated":null,"version":null,"sidebarTitle":"获取知识库详情","openapi":"/zh/api-reference/openapi_service.json get /datasets/{dataset_id}","href":"/zh/api-reference/knowledge-bases/get-knowledge-base"},{"title":"更新知识库","deprecated":null,"version":null,"sidebarTitle":"更新知识库","openapi":"/zh/api-reference/openapi_service.json patch /datasets/{dataset_id}","href":"/zh/api-reference/knowledge-bases/update-knowledge-base"},{"title":"删除知识库","deprecated":null,"version":null,"sidebarTitle":"删除知识库","openapi":"/zh/api-reference/openapi_service.json delete /datasets/{dataset_id}","href":"/zh/api-reference/knowledge-bases/delete-knowledge-base"},{"title":"从知识库检索分段 / 测试检索","deprecated":null,"version":null,"sidebarTitle":"从知识库检索分段 / 测试检索","openapi":"/zh/api-reference/openapi_service.json post /datasets/{dataset_id}/retrieve","href":"/zh/api-reference/knowledge-bases/retrieve-chunks-from-a-knowledge-base-test-retrieval"}]},{"group":"文档","pages":[{"title":"从文本创建文档","deprecated":null,"version":null,"sidebarTitle":"从文本创建文档","openapi":"/zh/api-reference/openapi_service.json post /datasets/{dataset_id}/document/create-by-text","href":"/zh/api-reference/documents/create-document-by-text"},{"title":"从文件创建文档","deprecated":null,"version":null,"sidebarTitle":"从文件创建文档","openapi":"/zh/api-reference/openapi_service.json post /datasets/{dataset_id}/document/create-by-file","href":"/zh/api-reference/documents/create-document-by-file"},{"title":"获取知识库的文档列表","deprecated":null,"version":null,"sidebarTitle":"获取知识库的文档列表","openapi":"/zh/api-reference/openapi_service.json get /datasets/{dataset_id}/documents","href":"/zh/api-reference/documents/list-documents"},{"title":"获取文档详情","deprecated":null,"version":null,"sidebarTitle":"获取文档详情","openapi":"/zh/api-reference/openapi_service.json get /datasets/{dataset_id}/documents/{document_id}","href":"/zh/api-reference/documents/get-document"},{"title":"删除文档","deprecated":null,"version":null,"sidebarTitle":"删除文档","openapi":"/zh/api-reference/openapi_service.json delete /datasets/{dataset_id}/documents/{document_id}","href":"/zh/api-reference/documents/delete-document"},{"title":"更新文档","deprecated":null,"version":null,"sidebarTitle":"更新文档","openapi":"/zh/api-reference/openapi_service.json patch /datasets/{dataset_id}/documents/{document_id}","href":"/zh/api-reference/documents/update-document"},{"title":"下载文档","deprecated":null,"version":null,"sidebarTitle":"下载文档","openapi":"/zh/api-reference/openapi_service.json get /datasets/{dataset_id}/documents/{document_id}/download","href":"/zh/api-reference/documents/download-document"},{"title":"获取文档嵌入状态(进度)","deprecated":null,"version":null,"sidebarTitle":"获取文档嵌入状态(进度)","openapi":"/zh/api-reference/openapi_service.json get /datasets/{dataset_id}/documents/{batch}/indexing-status","href":"/zh/api-reference/documents/get-document-indexing-status"},{"title":"用文本更新文档","deprecated":null,"version":null,"sidebarTitle":"用文本更新文档","openapi":"/zh/api-reference/openapi_service.json post /datasets/{dataset_id}/documents/{document_id}/update-by-text","href":"/zh/api-reference/documents/update-document-by-text"},{"title":"用文件更新文档","deprecated":true,"version":null,"sidebarTitle":"用文件更新文档","openapi":"/zh/api-reference/openapi_service.json post /datasets/{dataset_id}/documents/{document_id}/update-by-file","href":"/zh/api-reference/documents/update-document-by-file"},{"title":"批量下载文档(ZIP)","deprecated":null,"version":null,"sidebarTitle":"批量下载文档(ZIP)","openapi":"/zh/api-reference/openapi_service.json post /datasets/{dataset_id}/documents/download-zip","href":"/zh/api-reference/documents/download-documents-as-zip"},{"title":"批量更新文档状态","deprecated":null,"version":null,"sidebarTitle":"批量更新文档状态","openapi":"/zh/api-reference/openapi_service.json patch /datasets/{dataset_id}/documents/status/{action}","href":"/zh/api-reference/documents/update-document-status-in-batch"}]},{"group":"分段","pages":[{"title":"向文档添加分段","deprecated":null,"version":null,"sidebarTitle":"向文档添加分段","openapi":"/zh/api-reference/openapi_service.json post /datasets/{dataset_id}/documents/{document_id}/segments","href":"/zh/api-reference/chunks/create-chunks"},{"title":"从文档获取分段","deprecated":null,"version":null,"sidebarTitle":"从文档获取分段","openapi":"/zh/api-reference/openapi_service.json get /datasets/{dataset_id}/documents/{document_id}/segments","href":"/zh/api-reference/chunks/list-chunks"},{"title":"获取文档中的分段详情","deprecated":null,"version":null,"sidebarTitle":"获取文档中的分段详情","openapi":"/zh/api-reference/openapi_service.json get /datasets/{dataset_id}/documents/{document_id}/segments/{segment_id}","href":"/zh/api-reference/chunks/get-chunk"},{"title":"更新文档中的分段","deprecated":null,"version":null,"sidebarTitle":"更新文档中的分段","openapi":"/zh/api-reference/openapi_service.json post /datasets/{dataset_id}/documents/{document_id}/segments/{segment_id}","href":"/zh/api-reference/chunks/update-chunk"},{"title":"删除文档中的分段","deprecated":null,"version":null,"sidebarTitle":"删除文档中的分段","openapi":"/zh/api-reference/openapi_service.json delete /datasets/{dataset_id}/documents/{document_id}/segments/{segment_id}","href":"/zh/api-reference/chunks/delete-chunk"},{"title":"创建子分段","deprecated":null,"version":null,"sidebarTitle":"创建子分段","openapi":"/zh/api-reference/openapi_service.json post /datasets/{dataset_id}/documents/{document_id}/segments/{segment_id}/child_chunks","href":"/zh/api-reference/chunks/create-child-chunk"},{"title":"获取子分段","deprecated":null,"version":null,"sidebarTitle":"获取子分段","openapi":"/zh/api-reference/openapi_service.json get /datasets/{dataset_id}/documents/{document_id}/segments/{segment_id}/child_chunks","href":"/zh/api-reference/chunks/list-child-chunks"},{"title":"更新子分段","deprecated":null,"version":null,"sidebarTitle":"更新子分段","openapi":"/zh/api-reference/openapi_service.json patch /datasets/{dataset_id}/documents/{document_id}/segments/{segment_id}/child_chunks/{child_chunk_id}","href":"/zh/api-reference/chunks/update-child-chunk"},{"title":"删除子分段","deprecated":null,"version":null,"sidebarTitle":"删除子分段","openapi":"/zh/api-reference/openapi_service.json delete /datasets/{dataset_id}/documents/{document_id}/segments/{segment_id}/child_chunks/{child_chunk_id}","href":"/zh/api-reference/chunks/delete-child-chunk"}]},{"group":"元数据","pages":[{"title":"创建元数据字段","deprecated":null,"version":null,"sidebarTitle":"创建元数据字段","openapi":"/zh/api-reference/openapi_service.json post /datasets/{dataset_id}/metadata","href":"/zh/api-reference/metadata/create-metadata-field"},{"title":"获取元数据字段列表","deprecated":null,"version":null,"sidebarTitle":"获取元数据字段列表","openapi":"/zh/api-reference/openapi_service.json get /datasets/{dataset_id}/metadata","href":"/zh/api-reference/metadata/list-metadata-fields"},{"title":"更新元数据字段","deprecated":null,"version":null,"sidebarTitle":"更新元数据字段","openapi":"/zh/api-reference/openapi_service.json patch /datasets/{dataset_id}/metadata/{metadata_id}","href":"/zh/api-reference/metadata/update-metadata-field"},{"title":"删除元数据字段","deprecated":null,"version":null,"sidebarTitle":"删除元数据字段","openapi":"/zh/api-reference/openapi_service.json delete /datasets/{dataset_id}/metadata/{metadata_id}","href":"/zh/api-reference/metadata/delete-metadata-field"},{"title":"获取内置元数据字段","deprecated":null,"version":null,"sidebarTitle":"获取内置元数据字段","openapi":"/zh/api-reference/openapi_service.json get /datasets/{dataset_id}/metadata/built-in","href":"/zh/api-reference/metadata/get-built-in-metadata-fields"},{"title":"更新内置元数据字段","deprecated":null,"version":null,"sidebarTitle":"更新内置元数据字段","openapi":"/zh/api-reference/openapi_service.json post /datasets/{dataset_id}/metadata/built-in/{action}","href":"/zh/api-reference/metadata/update-built-in-metadata-field"},{"title":"批量更新文档元数据","deprecated":null,"version":null,"sidebarTitle":"批量更新文档元数据","openapi":"/zh/api-reference/openapi_service.json post /datasets/{dataset_id}/documents/metadata","href":"/zh/api-reference/metadata/update-document-metadata-in-batch"}]},{"group":"标签","pages":[{"title":"创建知识库标签","deprecated":null,"version":null,"sidebarTitle":"创建知识库标签","openapi":"/zh/api-reference/openapi_service.json post /datasets/tags","href":"/zh/api-reference/tags/create-knowledge-tag"},{"title":"获取知识库标签列表","deprecated":null,"version":null,"sidebarTitle":"获取知识库标签列表","openapi":"/zh/api-reference/openapi_service.json get /datasets/tags","href":"/zh/api-reference/tags/list-knowledge-tags"},{"title":"修改知识库标签","deprecated":null,"version":null,"sidebarTitle":"修改知识库标签","openapi":"/zh/api-reference/openapi_service.json patch /datasets/tags","href":"/zh/api-reference/tags/update-knowledge-tag"},{"title":"删除知识库标签","deprecated":null,"version":null,"sidebarTitle":"删除知识库标签","openapi":"/zh/api-reference/openapi_service.json delete /datasets/tags","href":"/zh/api-reference/tags/delete-knowledge-tag"},{"title":"绑定标签到知识库","deprecated":null,"version":null,"sidebarTitle":"绑定标签到知识库","openapi":"/zh/api-reference/openapi_service.json post /datasets/tags/binding","href":"/zh/api-reference/tags/create-tag-binding"},{"title":"解除标签与知识库的绑定","deprecated":null,"version":null,"sidebarTitle":"解除标签与知识库的绑定","openapi":"/zh/api-reference/openapi_service.json post /datasets/tags/unbinding","href":"/zh/api-reference/tags/delete-tag-binding"},{"title":"获取知识库绑定的标签","deprecated":null,"version":null,"sidebarTitle":"获取知识库绑定的标签","openapi":"/zh/api-reference/openapi_service.json get /datasets/{dataset_id}/tags","href":"/zh/api-reference/tags/get-knowledge-base-tags"}]},{"group":"模型","pages":[{"title":"获取可用模型","deprecated":null,"version":null,"sidebarTitle":"获取可用模型","openapi":"/zh/api-reference/openapi_service.json get /workspaces/current/models/model-types/{model_type}","href":"/zh/api-reference/models/get-available-models"}]},{"group":"知识流水线","pages":[{"title":"上传流水线文件","deprecated":null,"version":null,"sidebarTitle":"上传流水线文件","openapi":"/zh/api-reference/openapi_service.json post /datasets/pipeline/file-upload","href":"/zh/api-reference/knowledge-pipeline/upload-pipeline-file"},{"title":"获取数据源插件列表","deprecated":null,"version":null,"sidebarTitle":"获取数据源插件列表","openapi":"/zh/api-reference/openapi_service.json get /datasets/{dataset_id}/pipeline/datasource-plugins","href":"/zh/api-reference/knowledge-pipeline/list-datasource-plugins"},{"title":"执行数据源节点","deprecated":null,"version":null,"sidebarTitle":"执行数据源节点","openapi":"/zh/api-reference/openapi_service.json post /datasets/{dataset_id}/pipeline/datasource/nodes/{node_id}/run","href":"/zh/api-reference/knowledge-pipeline/run-datasource-node"},{"title":"运行流水线","deprecated":null,"version":null,"sidebarTitle":"运行流水线","openapi":"/zh/api-reference/openapi_service.json post /datasets/{dataset_id}/pipeline/run","href":"/zh/api-reference/knowledge-pipeline/run-pipeline"}]}]}]}]},{"item":"CLI","icon":"terminal","groups":[{"group":" ","expanded":true,"pages":[{"title":"概述","href":"/zh/cli/overview"},{"title":"快速开始","href":"/zh/cli/get-started"},{"title":"查找并运行命令","href":"/zh/cli/find-and-run-commands"},{"group":"应用操作","expanded":true,"pages":[{"title":"构建应用","sidebarTitle":"构建","href":"/zh/cli/build-apps"},{"title":"运行应用","sidebarTitle":"运行","href":"/zh/cli/run-apps"},{"title":"通过 DSL 文件创建和更新应用","sidebarTitle":"通过 DSL 创建或更新","href":"/zh/cli/create-and-update-apps-from-dsl-files"},{"title":"在 CI 和自动化中使用 `difyctl`","sidebarTitle":"CI 和自动化","href":"/zh/cli/scripts-and-ci"}]},{"group":"管理 difyctl","expanded":true,"pages":[{"title":"管理登录","sidebarTitle":"登录与会话","href":"/zh/cli/manage-sign-in"},{"title":"更新或卸载 difyctl","sidebarTitle":"更新或卸载","href":"/zh/cli/update-or-uninstall"},{"title":"Dify 1.18.0 升级指南","sidebarTitle":"1.18.0 升级指南","href":"/zh/cli/upgrade-across-1-18"}]},{"group":"参考","expanded":true,"pages":[{"title":"命令索引","href":"/zh/cli/reference/command-index"},{"title":"结果、错误与退出码","sidebarTitle":"结果与错误","href":"/zh/cli/reference/results-errors-and-exit-codes"},{"title":"配置","href":"/zh/cli/reference/configuration"}]}]}]},{"item":"插件开发","icon":"code-pull-request","groups":[{"group":"快速开始","icon":"rocket","pages":[{"title":"Dify 插件","href":"/zh/develop-plugin/getting-started/getting-started-dify-plugin"},{"title":"选择插件类型","href":"/zh/develop-plugin/getting-started/choose-plugin-type"},{"title":"Dify 插件 CLI","href":"/zh/develop-plugin/getting-started/cli"}]},{"group":"特性与规范","icon":"list-check","pages":[{"group":"插件类型","pages":[{"title":"通用规范","href":"/zh/develop-plugin/features-and-specs/plugin-types/general-specifications"},{"title":"模型规范","href":"/zh/develop-plugin/features-and-specs/plugin-types/model-designing-rules"},{"title":"模型 API 接口","href":"/zh/develop-plugin/features-and-specs/plugin-types/model-schema"},{"title":"持久化存储","href":"/zh/develop-plugin/features-and-specs/plugin-types/persistent-storage-kv"},{"title":"工具返回","href":"/zh/develop-plugin/features-and-specs/plugin-types/tool"},{"title":"Manifest","href":"/zh/develop-plugin/features-and-specs/plugin-types/plugin-info-by-manifest"},{"title":"多语言 README","href":"/zh/develop-plugin/features-and-specs/plugin-types/multilingual-readme"},{"title":"插件调试","href":"/zh/develop-plugin/features-and-specs/plugin-types/remote-debug-a-plugin"},{"title":"输出插件日志","href":"/zh/develop-plugin/features-and-specs/plugin-types/plugin-logging"}]},{"group":"高级开发","pages":[{"group":"反向调用","pages":[{"title":"Bundle 插件包","href":"/zh/develop-plugin/features-and-specs/advanced-development/bundle"},{"title":"Dify 服务的反向调用","href":"/zh/develop-plugin/features-and-specs/advanced-development/reverse-invocation"},{"title":"应用","href":"/zh/develop-plugin/features-and-specs/advanced-development/reverse-invocation-app"},{"title":"反向调用模型","href":"/zh/develop-plugin/features-and-specs/advanced-development/reverse-invocation-model"},{"title":"工具","href":"/zh/develop-plugin/features-and-specs/advanced-development/reverse-invocation-tool"},{"title":"集成自定义模型","href":"/zh/develop-plugin/features-and-specs/advanced-development/customizable-model"},{"title":"节点","href":"/zh/develop-plugin/features-and-specs/advanced-development/reverse-invocation-node"}]}]}]},{"group":"开发指南与示例","icon":"code","pages":[{"title":"速查表","href":"/zh/develop-plugin/dev-guides-and-walkthroughs/cheatsheet"},{"group":"按插件类型","pages":[{"title":"工具插件","href":"/zh/develop-plugin/dev-guides-and-walkthroughs/tool-plugin"},{"title":"Tool OAuth","href":"/zh/develop-plugin/dev-guides-and-walkthroughs/tool-oauth"},{"title":"模型供应商插件","href":"/zh/develop-plugin/dev-guides-and-walkthroughs/creating-new-model-provider"},{"title":"Agent 策略插件","href":"/zh/develop-plugin/dev-guides-and-walkthroughs/agent-strategy-plugin"},{"title":"数据源插件","href":"/zh/develop-plugin/dev-guides-and-walkthroughs/datasource-plugin"},{"title":"触发器插件","href":"/zh/develop-plugin/dev-guides-and-walkthroughs/trigger-plugin"},{"title":"Endpoint 插件","href":"/zh/develop-plugin/dev-guides-and-walkthroughs/endpoint"}]},{"group":"完整示例","pages":[{"title":"Flomo 工具(10分钟)","href":"/zh/develop-plugin/dev-guides-and-walkthroughs/develop-flomo-plugin"},{"title":"Slack Bot","href":"/zh/develop-plugin/dev-guides-and-walkthroughs/develop-a-slack-bot-plugin"},{"title":"Markdown 导出器","href":"/zh/develop-plugin/dev-guides-and-walkthroughs/develop-md-exporter"},{"title":"多模态工具","href":"/zh/develop-plugin/dev-guides-and-walkthroughs/develop-multimodal-data-processing-tool"}]}]},{"group":"发布","icon":"upload","pages":[{"title":"发布插件","href":"/zh/develop-plugin/publishing/marketplace-listing/release-overview"},{"group":"标准","pages":[{"title":"插件开发指南","href":"/zh/develop-plugin/publishing/standards/contributor-covenant-code-of-conduct"},{"title":"隐私政策指南","href":"/zh/develop-plugin/publishing/standards/privacy-protection-guidelines"}]},{"title":"发布插件到市场","sidebarTitle":"市场","href":"/zh/develop-plugin/publishing/marketplace-listing/submit-plugin-to-marketplace"},{"group":"GitHub 仓库","pages":[{"title":"发布到个人 GitHub 仓库","href":"/zh/develop-plugin/publishing/marketplace-listing/release-to-individual-github-repo"}]},{"group":"本地文件","pages":[{"title":"打包为本地文件并分享","href":"/zh/develop-plugin/publishing/marketplace-listing/release-by-file"},{"title":"为第三方签名验证签署插件","href":"/zh/develop-plugin/publishing/standards/third-party-signature-verification"}]},{"title":"常见问题","sidebarTitle":"常见问题","href":"/zh/develop-plugin/publishing/faq/faq"}]}]}]}]}]},{"language":"ja","products":[{"product":"Cloud","icon":"cloud","tabs":[{"tab":"使い方","icon":"book-open","pages":[{"title":"Dify の使い方","sidebarTitle":"概要","mode":"frame","href":"/ja/cloud/use-dify/getting-started/introduction"},{"title":"Dify ドキュメント","mode":"custom","hidden":true,"href":"/ja/home"},{"group":"オーケストレーション","icon":"hammer","pages":[{"group":"Workflow と Chatflow","expanded":false,"pages":[{"title":"Workflow と Chatflow","sidebarTitle":"概要","href":"/ja/cloud/use-dify/build/workflow-chatflow"},{"title":"オーケストレーションロジック","href":"/ja/cloud/use-dify/build/orchestrate-node"},{"group":"ノード","expanded":false,"pages":[{"group":"開始","root":{"title":"開始ノード","href":"/ja/cloud/use-dify/nodes/start"},"pages":[{"title":"ユーザー入力","href":"/ja/cloud/use-dify/nodes/user-input"},{"group":"トリガー","root":{"title":"トリガー","sidebarTitle":"概要","href":"/ja/cloud/use-dify/nodes/trigger/overview"},"pages":[{"title":"スケジュールトリガー","href":"/ja/cloud/use-dify/nodes/trigger/schedule-trigger"},{"title":"インテグレーショントリガー","href":"/ja/cloud/use-dify/nodes/trigger/plugin-trigger"},{"title":"Webhook トリガー","href":"/ja/cloud/use-dify/nodes/trigger/webhook-trigger"}]}]},{"title":"LLM","href":"/ja/cloud/use-dify/nodes/llm"},{"title":"Agent ナレッジ検索","href":"/ja/cloud/use-dify/nodes/knowledge-retrieval-v2"},{"title":"従来型の知識検索","href":"/ja/cloud/use-dify/nodes/knowledge-retrieval"},{"title":"答え","href":"/ja/cloud/use-dify/nodes/answer"},{"title":"出力","href":"/ja/cloud/use-dify/nodes/output"},{"title":"Agent","href":"/ja/cloud/use-dify/nodes/agent"},{"title":"質問分類器","href":"/ja/cloud/use-dify/nodes/question-classifier"},{"title":"If-Else","href":"/ja/cloud/use-dify/nodes/ifelse"},{"group":"人間の入力","root":{"title":"人間の入力","href":"/ja/cloud/use-dify/nodes/human-input"},"expanded":false,"pages":[]},{"title":"反復処理","href":"/ja/cloud/use-dify/nodes/iteration"},{"title":"ループ","href":"/ja/cloud/use-dify/nodes/loop"},{"title":"コード","href":"/ja/cloud/use-dify/nodes/code"},{"title":"テンプレート","href":"/ja/cloud/use-dify/nodes/template"},{"title":"変数集約器","href":"/ja/cloud/use-dify/nodes/variable-aggregator"},{"title":"テキスト抽出","href":"/ja/cloud/use-dify/nodes/doc-extractor"},{"title":"変数アサイナー","href":"/ja/cloud/use-dify/nodes/variable-assigner"},{"title":"パラメータ抽出器","href":"/ja/cloud/use-dify/nodes/parameter-extractor"},{"title":"HTTP リクエスト","href":"/ja/cloud/use-dify/nodes/http-request"},{"title":"リスト演算子","href":"/ja/cloud/use-dify/nodes/list-operator"},{"title":"ツールノード","sidebarTitle":"ツール","href":"/ja/cloud/use-dify/nodes/tools"}]},{"title":"ホットキー","href":"/ja/cloud/use-dify/build/shortcut-key"},{"title":"バージョン管理","href":"/ja/cloud/use-dify/build/version-control"},{"title":"スニペット","href":"/ja/cloud/use-dify/build/snippet"},{"group":"デバッグ","expanded":false,"pages":[{"title":"エラーの処理","href":"/ja/cloud/use-dify/build/predefined-error-handling-logic"},{"title":"単一ノード","href":"/ja/cloud/use-dify/debug/step-run"},{"title":"変数インスペクター","href":"/ja/cloud/use-dify/debug/variable-inspect"},{"title":"実行履歴","href":"/ja/cloud/use-dify/debug/history-and-logs"},{"title":"エラータイプ","href":"/ja/cloud/use-dify/debug/error-type"}]}]},{"group":"Agent","tag":"New","expanded":false,"pages":[{"title":"Agent","sidebarTitle":"概要","href":"/ja/cloud/use-dify/build/new-agent/overview"},{"title":"Agent の構築","sidebarTitle":"構築","href":"/ja/cloud/use-dify/build/new-agent/build"}]},{"group":"基本アプリ","expanded":false,"pages":[{"title":"Agent","tag":"Legacy","href":"/ja/cloud/use-dify/build/agent"},{"title":"チャットボット","sidebarTitle":"チャットボット","href":"/ja/cloud/use-dify/build/chatbot"},{"title":"テキストジェネレーター","sidebarTitle":"テキストジェネレーター","href":"/ja/cloud/use-dify/build/text-generator"}]},{"title":"アプリツールキット","href":"/ja/cloud/use-dify/build/additional-features"},{"title":"グローバル検索","href":"/ja/cloud/use-dify/build/goto-anything"}]},{"group":"公開","icon":"paper-plane","expanded":false,"pages":[{"title":"AI アプリの共有","href":"/ja/cloud/use-dify/publish/README"},{"title":"IP アクセス制御","href":"/ja/cloud/use-dify/publish/ip-access-control"},{"group":"Web アプリ","pages":[{"title":"Workflow Web アプリ","href":"/ja/cloud/use-dify/publish/webapp/workflow-webapp"},{"title":"チャット Web アプリ","href":"/ja/cloud/use-dify/publish/webapp/chatflow-webapp"},{"title":"設定","href":"/ja/cloud/use-dify/publish/webapp/web-app-settings"},{"title":"Web アプリの埋め込み","sidebarTitle":"埋め込み","href":"/ja/cloud/use-dify/publish/webapp/embedding-in-websites"}]},{"title":"MCP サーバー","href":"/ja/cloud/use-dify/publish/publish-mcp"},{"title":"アプリをマーケットプレイスに公開","sidebarTitle":"マーケットプレイス","href":"/ja/cloud/use-dify/publish/publish-to-marketplace"}]},{"group":"モニタリング","icon":"chart-line","expanded":false,"pages":[{"title":"ダッシュボード","href":"/ja/cloud/use-dify/monitor/analysis"},{"title":"ログ","href":"/ja/cloud/use-dify/monitor/logs"},{"title":"注釈システム","href":"/ja/cloud/use-dify/monitor/annotation-reply"},{"group":"インテグレーション","pages":[{"title":"LangSmith の統合","href":"/ja/cloud/use-dify/monitor/integrations/integrate-langsmith"},{"title":"Langfuse の統合","href":"/ja/cloud/use-dify/monitor/integrations/integrate-langfuse"},{"title":"Opik の統合","href":"/ja/cloud/use-dify/monitor/integrations/integrate-opik"},{"title":"W\u0026B Weave の統合","sidebarTitle":"W\u0026B Weave","href":"/ja/cloud/use-dify/monitor/integrations/integrate-weave"},{"title":"Arize の統合","href":"/ja/cloud/use-dify/monitor/integrations/integrate-arize"},{"title":"Phoenix の統合","href":"/ja/cloud/use-dify/monitor/integrations/integrate-phoenix"},{"title":"Alibaba Cloud Monitor の統合","href":"/ja/cloud/use-dify/monitor/integrations/integrate-aliyun"}]}]},{"group":"ナレッジ","icon":"book","expanded":false,"pages":[{"title":"ナレッジ","sidebarTitle":"概要","href":"/ja/cloud/use-dify/knowledge/overview"},{"group":"Agent ナレッジベース","tag":"New","expanded":false,"pages":[{"title":"Agent ナレッジベース","sidebarTitle":"概要","href":"/ja/cloud/use-dify/knowledge-base/overview"},{"title":"Agent ナレッジベースの作成","sidebarTitle":"作成","href":"/ja/cloud/use-dify/knowledge-base/create-knowledge-base"},{"title":"インデックス済みドキュメントの確認","sidebarTitle":"インデックスの確認","href":"/ja/cloud/use-dify/knowledge-base/review-indexed-documents"},{"title":"検索のテストとチューニング","sidebarTitle":"テストとチューニング","href":"/ja/cloud/use-dify/knowledge-base/test-and-tune"},{"title":"検索設定","sidebarTitle":"検索設定","href":"/ja/cloud/use-dify/knowledge-base/retrieval-settings"},{"title":"アプリ、Agent、コードへの接続","sidebarTitle":"接続","href":"/ja/cloud/use-dify/knowledge-base/use-knowledge-in-apps"},{"title":"マルチモーダル検索","sidebarTitle":"マルチモーダル検索","href":"/ja/cloud/use-dify/knowledge-base/multimodal-retrieval"},{"title":"Agent ナレッジベースのメンテナンス","sidebarTitle":"メンテナンス","href":"/ja/cloud/use-dify/knowledge-base/maintain-knowledge-base"},{"title":"従来型ナレッジベースから Agent ナレッジベースへのアップグレード","sidebarTitle":"従来型からのアップグレード","href":"/ja/cloud/use-dify/knowledge-base/upgrade-from-classic"}]},{"group":"従来型ナレッジベース","expanded":false,"pages":[{"title":"従来型ナレッジベース","sidebarTitle":"概要","href":"/ja/cloud/use-dify/knowledge/readme"},{"group":"作成","pages":[{"group":"すぐに使えるナレッジベースを作成","pages":[{"title":"すぐに使えるナレッジベースを作成","sidebarTitle":"概要","href":"/ja/cloud/use-dify/knowledge/create-knowledge/introduction"},{"group":"データのインポート","pages":[{"title":"ローカルファイルをアップロード","href":"/ja/cloud/use-dify/knowledge/create-knowledge/import-text-data/readme"},{"title":"Notion からデータを同期","href":"/ja/cloud/use-dify/knowledge/create-knowledge/import-text-data/sync-from-notion"},{"title":"Web サイトからデータをインポート","href":"/ja/cloud/use-dify/knowledge/create-knowledge/import-text-data/sync-from-website"}]},{"title":"チャンク設定","href":"/ja/cloud/use-dify/knowledge/create-knowledge/chunking-and-cleaning-text"},{"title":"インデックス方法と検索設定を指定","href":"/ja/cloud/use-dify/knowledge/create-knowledge/setting-indexing-methods"}]},{"group":"カスタムナレッジベースを構築","pages":[{"title":"カスタムナレッジベースを構築","sidebarTitle":"概要","href":"/ja/cloud/use-dify/knowledge/knowledge-pipeline/readme"},{"title":"ステップ 1:ナレッジパイプラインの作成","href":"/ja/cloud/use-dify/knowledge/knowledge-pipeline/create-knowledge-pipeline"},{"title":"ステップ 2:ナレッジパイプラインをオーケストレーションする","href":"/ja/cloud/use-dify/knowledge/knowledge-pipeline/knowledge-pipeline-orchestration"},{"title":"ステップ 3:ナレッジパイプラインの公開","href":"/ja/cloud/use-dify/knowledge/knowledge-pipeline/publish-knowledge-pipeline"},{"title":"ステップ 4:ファイルのアップロード","href":"/ja/cloud/use-dify/knowledge/knowledge-pipeline/upload-files"},{"title":"ステップ 5:ナレッジベースの管理と活用","href":"/ja/cloud/use-dify/knowledge/knowledge-pipeline/manage-knowledge-base"},{"title":"データソース認証","href":"/ja/cloud/use-dify/knowledge/knowledge-pipeline/authorize-data-source"}]},{"group":"外部ナレッジベースと連携","pages":[{"title":"外部ナレッジベースとの接続","sidebarTitle":"概要","href":"/ja/cloud/use-dify/knowledge/connect-external-knowledge-base"},{"title":"外部ナレッジベース API","href":"/ja/cloud/use-dify/knowledge/external-knowledge-api"}]}]},{"group":"管理","pages":[{"title":"ナレッジコンテンツの管理","sidebarTitle":"ドキュメントとチャンク","href":"/ja/cloud/use-dify/knowledge/manage-knowledge/maintain-knowledge-documents"},{"title":"ドキュメントのメタデータを管理","sidebarTitle":"メタデータ","href":"/ja/cloud/use-dify/knowledge/metadata"},{"title":"ナレッジ設定の管理","sidebarTitle":"設定","href":"/ja/cloud/use-dify/knowledge/manage-knowledge/introduction"}]},{"title":"ナレッジ検索テスト","sidebarTitle":"検索テスト","href":"/ja/cloud/use-dify/knowledge/test-retrieval"},{"title":"アプリ内でのナレッジベース統合","sidebarTitle":"アプリ内で統合","href":"/ja/cloud/use-dify/knowledge/integrate-knowledge-within-application"}]},{"title":"ナレッジベースのリクエストレート制限","sidebarTitle":"リクエストレート制限","href":"/ja/cloud/use-dify/knowledge/knowledge-request-rate-limit"},{"title":"ナレッジベースのストレージ容量とドキュメント数の上限","sidebarTitle":"ストレージとドキュメント数の上限","href":"/ja/cloud/use-dify/knowledge/knowledge-storage-limit"}]},{"group":"統合","icon":"plug","expanded":false,"pages":[{"title":"統合","sidebarTitle":"概要","href":"/ja/cloud/use-dify/workspace/plugins"},{"title":"モデルプロバイダー","href":"/ja/cloud/use-dify/workspace/model-providers"},{"title":"Dify ツール","sidebarTitle":"ツール","href":"/ja/cloud/use-dify/workspace/tools"},{"group":"カスタム API","pages":[{"title":"カスタム API","sidebarTitle":"概要","href":"/ja/cloud/use-dify/workspace/api-extension/api-extension"},{"title":"外部データツール","href":"/ja/cloud/use-dify/workspace/api-extension/external-data-tool-api-extension"},{"title":"センシティブコンテンツ審査","href":"/ja/cloud/use-dify/workspace/api-extension/moderation-api-extension"},{"title":"Cloudflare Workers を使用したカスタム API のデプロイ","href":"/ja/cloud/use-dify/workspace/api-extension/cloudflare-worker"}]}]},{"group":"ワークスペース","icon":"briefcase","expanded":false,"pages":[{"title":"概要","href":"/ja/cloud/use-dify/workspace/readme"},{"title":"アプリのエクスポートとインポート","sidebarTitle":"エクスポートとインポート","href":"/ja/cloud/use-dify/workspace/export-import-apps"},{"title":"メンバーの管理","href":"/ja/cloud/use-dify/workspace/team-members-management"},{"title":"個人設定","href":"/ja/cloud/use-dify/workspace/personal-account-management"},{"title":"請求","href":"/ja/cloud/use-dify/workspace/subscription-management"}]}]},{"tab":"学習","icon":"graduation-cap","pages":[{"title":"主要な概念","href":"/ja/learn/key-concepts"},{"group":"チュートリアル","pages":[{"title":"30 分間クイックスタート","href":"/ja/quick-start"},{"group":"ワークフロー 101","pages":[{"title":"レッスン 1:ワークフローとは?","href":"/ja/learn/tutorials/workflow-101/lesson-01"},{"title":"レッスン 2:フローの頭と尾(開始ノードと出力ノード)","sidebarTitle":"レッスン 2:フローの頭と尾","href":"/ja/learn/tutorials/workflow-101/lesson-02"},{"title":"レッスン 3:ワークフローの頭脳(LLM ノード)","sidebarTitle":"レッスン 3:ワークフローの頭脳","href":"/ja/learn/tutorials/workflow-101/lesson-03"},{"title":"レッスン 4:カンニングペーパー(ナレッジ検索)","sidebarTitle":"レッスン 4:カンニングペーパー","href":"/ja/learn/tutorials/workflow-101/lesson-04"},{"title":"レッスン 5:ワークフローの分岐点(分類と実行)","sidebarTitle":"レッスン 5:ワークフローの分岐点","href":"/ja/learn/tutorials/workflow-101/lesson-05"},{"title":"レッスン 6:複数のタスクを処理する(パラメータ抽出 \u0026 イテレーション)","sidebarTitle":"レッスン 6:複数のタスクを処理する","href":"/ja/learn/tutorials/workflow-101/lesson-06"},{"title":"レッスン 7:ワークフローを強化する(ツール)","sidebarTitle":"レッスン 7:ワークフローを強化する","href":"/ja/learn/tutorials/workflow-101/lesson-07"},{"title":"レッスン 8:エージェントノード","sidebarTitle":"レッスン 8:エージェントノード","href":"/ja/learn/tutorials/workflow-101/lesson-08"},{"title":"レッスン 9:レイアウトデザイナー(テンプレート)","sidebarTitle":"レッスン 9:レイアウトデザイナー","href":"/ja/learn/tutorials/workflow-101/lesson-09"},{"title":"レッスン 10:AI アプリを公開してモニタリングする","sidebarTitle":"レッスン 10:公開とモニタリング","href":"/ja/learn/tutorials/workflow-101/lesson-10"}]},{"title":"シンプルなチャットボット","href":"/ja/learn/tutorials/simple-chatbot"},{"title":"チャットストリームエージェントを使用した Twitter アカウントの分析方法","href":"/ja/learn/tutorials/twitter-chatflow"},{"title":"知識ベースを使用したカスタマーサービスボット","href":"/ja/learn/tutorials/customer-service-bot"},{"title":"ゼロから AI 画像生成アプリの構築方法","href":"/ja/learn/tutorials/build-ai-image-generation-app"},{"title":"ファイルアップロードを使用した記事理解アシスタントの構築方法","href":"/ja/learn/tutorials/article-reader"}]}]},{"tab":"開発者リソース","icon":"code","menu":[{"item":"API","icon":"code","groups":[{"group":"ガイド","pages":[{"title":"Dify API クイックスタート","sidebarTitle":"クイックスタート","href":"/ja/api-reference/guides/get-started"},{"group":"API 概要","expanded":true,"pages":[{"title":"Chatflow アプリ API","sidebarTitle":"Chatflow","href":"/ja/api-reference/guides/chatflow"},{"title":"Workflow アプリ API","sidebarTitle":"Workflow","href":"/ja/api-reference/guides/workflow"},{"title":"Agent API","sidebarTitle":"Agent","tag":"New","href":"/ja/api-reference/guides/agent"},{"group":"ナレッジベース","root":{"title":"ナレッジベース API","sidebarTitle":"ナレッジベース","href":"/ja/api-reference/guides/knowledge-base-api"},"pages":[{"title":"Agent ナレッジベース API","tag":"Cloud","sidebarTitle":"Agent ナレッジベース","href":"/ja/api-reference/guides/knowledge-base"},{"title":"従来型ナレッジベース API","sidebarTitle":"従来型ナレッジベース","href":"/ja/api-reference/guides/knowledge"}]},{"title":"チャットアプリ API","sidebarTitle":"Chatbotとレガシー Agent","href":"/ja/api-reference/guides/chat"},{"title":"テキストジェネレーターアプリ API","sidebarTitle":"テキストジェネレーター","href":"/ja/api-reference/guides/completion"}]},{"title":"ストリーミングレスポンスの処理","sidebarTitle":"SSE ストリーミング","href":"/ja/api-reference/guides/streaming"},{"title":"人間の入力 API 連携フロー","sidebarTitle":"人間の入力フロー","href":"/ja/api-reference/guides/human-input-flow"},{"title":"エンドユーザーの識別","sidebarTitle":"エンドユーザーの識別","href":"/ja/api-reference/guides/end-user-identity"},{"title":"エラーとレート制限の処理","sidebarTitle":"エラーとレート制限","href":"/ja/api-reference/guides/errors"}]},{"group":"アプリ API","pages":[{"group":"チャットメッセージ","pages":[{"title":"チャットメッセージを送信","deprecated":null,"version":null,"sidebarTitle":"チャットメッセージを送信","openapi":"/ja/api-reference/openapi_service.json post /chat-messages","href":"/ja/api-reference/chat-messages/send-chat-message"},{"title":"生成を停止","deprecated":null,"version":null,"sidebarTitle":"生成を停止","openapi":"/ja/api-reference/openapi_service.json post /chat-messages/{task_id}/stop","href":"/ja/api-reference/chat-messages/stop-chat-message-generation"},{"title":"次の推奨質問を取得","deprecated":null,"version":null,"sidebarTitle":"次の推奨質問を取得","openapi":"/ja/api-reference/openapi_service.json get /messages/{message_id}/suggested","href":"/ja/api-reference/chat-messages/get-next-suggested-questions"}]},{"group":"完了メッセージ","pages":[{"title":"完了メッセージを送信","deprecated":null,"version":null,"sidebarTitle":"完了メッセージを送信","openapi":"/ja/api-reference/openapi_service.json post /completion-messages","href":"/ja/api-reference/completion-messages/send-completion-message"},{"title":"生成を停止","deprecated":null,"version":null,"sidebarTitle":"生成を停止","openapi":"/ja/api-reference/openapi_service.json post /completion-messages/{task_id}/stop","href":"/ja/api-reference/completion-messages/stop-completion-message-generation"}]},{"group":"ワークフロー実行","pages":[{"title":"ワークフローを実行","deprecated":null,"version":null,"sidebarTitle":"ワークフローを実行","openapi":"/ja/api-reference/openapi_service.json post /workflows/run","href":"/ja/api-reference/workflow-runs/run-workflow"},{"title":"ID でワークフローを実行","deprecated":null,"version":null,"sidebarTitle":"ID でワークフローを実行","openapi":"/ja/api-reference/openapi_service.json post /workflows/{workflow_id}/run","href":"/ja/api-reference/workflow-runs/run-workflow-by-id"},{"title":"ワークフロータスクを停止","deprecated":null,"version":null,"sidebarTitle":"ワークフロータスクを停止","openapi":"/ja/api-reference/openapi_service.json post /workflows/tasks/{task_id}/stop","href":"/ja/api-reference/workflow-runs/stop-workflow-task"},{"title":"ワークフロー実行詳細を取得","deprecated":null,"version":null,"sidebarTitle":"ワークフロー実行詳細を取得","openapi":"/ja/api-reference/openapi_service.json get /workflows/run/{workflow_run_id}","href":"/ja/api-reference/workflow-runs/get-workflow-run-detail"},{"title":"ワークフローログ一覧を取得","deprecated":null,"version":null,"sidebarTitle":"ワークフローログ一覧を取得","openapi":"/ja/api-reference/openapi_service.json get /workflows/logs","href":"/ja/api-reference/workflow-runs/list-workflow-logs"},{"title":"ワークフローイベントをストリーム","deprecated":null,"version":null,"sidebarTitle":"ワークフローイベントをストリーム","openapi":"/ja/api-reference/openapi_service.json get /workflow/{workflow_run_id}/events","href":"/ja/api-reference/workflow-runs/stream-workflow-events"}]},{"group":"会話管理","pages":[{"title":"会話一覧を取得","deprecated":null,"version":null,"sidebarTitle":"会話一覧を取得","openapi":"/ja/api-reference/openapi_service.json get /conversations","href":"/ja/api-reference/conversations/list-conversations"},{"title":"会話履歴メッセージ一覧を取得","deprecated":null,"version":null,"sidebarTitle":"会話履歴メッセージ一覧を取得","openapi":"/ja/api-reference/openapi_service.json get /messages","href":"/ja/api-reference/conversations/list-conversation-messages"},{"title":"会話変数の取得","deprecated":null,"version":null,"sidebarTitle":"会話変数の取得","openapi":"/ja/api-reference/openapi_service.json get /conversations/{conversation_id}/variables","href":"/ja/api-reference/conversations/list-conversation-variables"},{"title":"会話の名前を変更","deprecated":null,"version":null,"sidebarTitle":"会話の名前を変更","openapi":"/ja/api-reference/openapi_service.json post /conversations/{conversation_id}/name","href":"/ja/api-reference/conversations/rename-conversation"},{"title":"会話変数を更新","deprecated":null,"version":null,"sidebarTitle":"会話変数を更新","openapi":"/ja/api-reference/openapi_service.json put /conversations/{conversation_id}/variables/{variable_id}","href":"/ja/api-reference/conversations/update-conversation-variable"},{"title":"会話を削除","deprecated":null,"version":null,"sidebarTitle":"会話を削除","openapi":"/ja/api-reference/openapi_service.json delete /conversations/{conversation_id}","href":"/ja/api-reference/conversations/delete-conversation"}]},{"group":"ファイル操作","pages":[{"title":"ファイルをアップロード","deprecated":null,"version":null,"sidebarTitle":"ファイルをアップロード","openapi":"/ja/api-reference/openapi_service.json post /files/upload","href":"/ja/api-reference/files/upload-file"},{"title":"ファイルをダウンロード","deprecated":null,"version":null,"sidebarTitle":"ファイルをダウンロード","openapi":"/ja/api-reference/openapi_service.json get /files/{file_id}/preview","href":"/ja/api-reference/files/download-file"}]},{"group":"音声・テキスト変換","pages":[{"title":"音声をテキストに変換","deprecated":null,"version":null,"sidebarTitle":"音声をテキストに変換","openapi":"/ja/api-reference/openapi_service.json post /audio-to-text","href":"/ja/api-reference/audio/convert-audio-to-text"},{"title":"テキストを音声に変換","deprecated":null,"version":null,"sidebarTitle":"テキストを音声に変換","openapi":"/ja/api-reference/openapi_service.json post /text-to-audio","href":"/ja/api-reference/audio/convert-text-to-audio"}]},{"group":"アプリケーション設定","pages":[{"title":"アプリケーションの基本情報を取得","deprecated":null,"version":null,"sidebarTitle":"アプリケーションの基本情報を取得","openapi":"/ja/api-reference/openapi_service.json get /info","href":"/ja/api-reference/applications/get-app-info"},{"title":"アプリケーションのパラメータ情報を取得","deprecated":null,"version":null,"sidebarTitle":"アプリケーションのパラメータ情報を取得","openapi":"/ja/api-reference/openapi_service.json get /parameters","href":"/ja/api-reference/applications/get-app-parameters"},{"title":"アプリケーションのメタ情報を取得","deprecated":null,"version":null,"sidebarTitle":"アプリケーションのメタ情報を取得","openapi":"/ja/api-reference/openapi_service.json get /meta","href":"/ja/api-reference/applications/get-app-meta"},{"title":"アプリの WebApp 設定を取得","deprecated":null,"version":null,"sidebarTitle":"アプリの WebApp 設定を取得","openapi":"/ja/api-reference/openapi_service.json get /site","href":"/ja/api-reference/applications/get-app-webapp-settings"}]},{"group":"メッセージフィードバック","pages":[{"title":"メッセージフィードバックを送信","deprecated":null,"version":null,"sidebarTitle":"メッセージフィードバックを送信","openapi":"/ja/api-reference/openapi_service.json post /messages/{message_id}/feedbacks","href":"/ja/api-reference/feedback/submit-message-feedback"},{"title":"アプリのフィードバック一覧を取得","deprecated":null,"version":null,"sidebarTitle":"アプリのフィードバック一覧を取得","openapi":"/ja/api-reference/openapi_service.json get /app/feedbacks","href":"/ja/api-reference/feedback/list-app-feedbacks"}]},{"group":"アノテーション管理","pages":[{"title":"アノテーションを作成","deprecated":null,"version":null,"sidebarTitle":"アノテーションを作成","openapi":"/ja/api-reference/openapi_service.json post /apps/annotations","href":"/ja/api-reference/annotations/create-annotation"},{"title":"アノテーションリストを取得","deprecated":null,"version":null,"sidebarTitle":"アノテーションリストを取得","openapi":"/ja/api-reference/openapi_service.json get /apps/annotations","href":"/ja/api-reference/annotations/list-annotations"},{"title":"アノテーションを更新","deprecated":null,"version":null,"sidebarTitle":"アノテーションを更新","openapi":"/ja/api-reference/openapi_service.json put /apps/annotations/{annotation_id}","href":"/ja/api-reference/annotations/update-annotation"},{"title":"アノテーションを削除","deprecated":null,"version":null,"sidebarTitle":"アノテーションを削除","openapi":"/ja/api-reference/openapi_service.json delete /apps/annotations/{annotation_id}","href":"/ja/api-reference/annotations/delete-annotation"},{"title":"アノテーション返信を設定","deprecated":null,"version":null,"sidebarTitle":"アノテーション返信を設定","openapi":"/ja/api-reference/openapi_service.json post /apps/annotation-reply/{action}","href":"/ja/api-reference/annotations/configure-annotation-reply"},{"title":"アノテーション返信の初期設定タスクステータスを取得","deprecated":null,"version":null,"sidebarTitle":"アノテーション返信の初期設定タスクステータスを取得","openapi":"/ja/api-reference/openapi_service.json get /apps/annotation-reply/{action}/status/{job_id}","href":"/ja/api-reference/annotations/get-annotation-reply-job-status"}]},{"group":"エンドユーザー","pages":[{"title":"エンドユーザー取得","deprecated":null,"version":null,"sidebarTitle":"エンドユーザー取得","openapi":"/ja/api-reference/openapi_service.json get /end-users/{end_user_id}","href":"/ja/api-reference/end-users/get-end-user-info"}]},{"group":"人間の入力","pages":[{"title":"人間の入力フォームを取得","deprecated":null,"version":null,"sidebarTitle":"人間の入力フォームを取得","openapi":"/ja/api-reference/openapi_service.json get /form/human_input/{form_token}","href":"/ja/api-reference/human-input/get-human-input-form"},{"title":"人間の入力フォームを送信","deprecated":null,"version":null,"sidebarTitle":"人間の入力フォームを送信","openapi":"/ja/api-reference/openapi_service.json post /form/human_input/{form_token}","href":"/ja/api-reference/human-input/submit-human-input-form"}]}]},{"group":"ナレッジ API","pages":[{"group":"Agent ナレッジベース","tag":"Cloud","pages":[{"group":"クエリ","pages":[{"title":"クエリトークンを作成","deprecated":null,"version":null,"sidebarTitle":"クエリトークンを作成","openapi":"/ja/api-reference/openapi_service.json post /knowledge-fs/spaces/{knowledge_base_id}/queries/admission","href":"/ja/api-reference/queries/create-query-token"},{"title":"クエリを実行","deprecated":null,"version":null,"sidebarTitle":"クエリを実行","openapi":"/ja/api-reference/openapi_service.json post /knowledge-fs/query-stream","href":"/ja/api-reference/queries/run-query"}]},{"group":"クエリ記録","pages":[{"title":"クエリ記録一覧を取得","deprecated":null,"version":null,"sidebarTitle":"クエリ記録一覧を取得","openapi":"/ja/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/traces","href":"/ja/api-reference/query-records/list-query-records"},{"title":"クエリ記録を取得","deprecated":null,"version":null,"sidebarTitle":"クエリ記録を取得","openapi":"/ja/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/traces/{query_record_id}","href":"/ja/api-reference/query-records/get-query-record"},{"title":"クエリのチャンク一覧を取得","deprecated":null,"version":null,"sidebarTitle":"クエリのチャンク一覧を取得","openapi":"/ja/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/traces/{query_record_id}/evidence","href":"/ja/api-reference/query-records/list-query-chunks"},{"title":"クエリの矛盾一覧を取得","deprecated":null,"version":null,"sidebarTitle":"クエリの矛盾一覧を取得","openapi":"/ja/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/traces/{query_record_id}/conflicts","href":"/ja/api-reference/query-records/list-query-conflicts"},{"title":"欠落チャンク一覧を取得","deprecated":null,"version":null,"sidebarTitle":"欠落チャンク一覧を取得","openapi":"/ja/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/traces/{query_record_id}/missing","href":"/ja/api-reference/query-records/list-missing-chunks"}]},{"group":"リサーチタスク","pages":[{"title":"リサーチタスク一覧を取得","deprecated":null,"version":null,"sidebarTitle":"リサーチタスク一覧を取得","openapi":"/ja/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/research-tasks","href":"/ja/api-reference/research-tasks/list-research-tasks"},{"title":"リサーチタスクを作成","deprecated":null,"version":null,"sidebarTitle":"リサーチタスクを作成","openapi":"/ja/api-reference/openapi_service.json post /knowledge-fs/spaces/{knowledge_base_id}/research-tasks","href":"/ja/api-reference/research-tasks/create-research-task"},{"title":"リサーチタスクを計画","deprecated":null,"version":null,"sidebarTitle":"リサーチタスクを計画","openapi":"/ja/api-reference/openapi_service.json post /knowledge-fs/spaces/{knowledge_base_id}/research-tasks/plan","href":"/ja/api-reference/research-tasks/plan-research-task"},{"title":"リサーチタスクを取得","deprecated":null,"version":null,"sidebarTitle":"リサーチタスクを取得","openapi":"/ja/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/research-tasks/{research_task_id}","href":"/ja/api-reference/research-tasks/get-research-task"},{"title":"リサーチタスクをキャンセル","deprecated":null,"version":null,"sidebarTitle":"リサーチタスクをキャンセル","openapi":"/ja/api-reference/openapi_service.json delete /knowledge-fs/spaces/{knowledge_base_id}/research-tasks/{research_task_id}","href":"/ja/api-reference/research-tasks/cancel-research-task"},{"title":"リサーチタスクの結果一覧を取得","deprecated":null,"version":null,"sidebarTitle":"リサーチタスクの結果一覧を取得","openapi":"/ja/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/research-tasks/{research_task_id}/partials","href":"/ja/api-reference/research-tasks/list-research-task-results"}]},{"group":"ドキュメントとチャンク","pages":[{"title":"ドキュメント一覧を取得","deprecated":null,"version":null,"sidebarTitle":"ドキュメント一覧を取得","openapi":"/ja/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/logical-documents","href":"/ja/api-reference/documents-and-chunks/list-documents"},{"title":"ドキュメントを取得","deprecated":null,"version":null,"sidebarTitle":"ドキュメントを取得","openapi":"/ja/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/logical-documents/{document_id}","href":"/ja/api-reference/documents-and-chunks/get-document"},{"title":"ドキュメントメタデータを更新","deprecated":null,"version":null,"sidebarTitle":"ドキュメントメタデータを更新","openapi":"/ja/api-reference/openapi_service.json patch /knowledge-fs/spaces/{knowledge_base_id}/documents/{document_file_id}","href":"/ja/api-reference/documents-and-chunks/update-document-metadata"},{"title":"ファイルからドキュメントを取得","deprecated":null,"version":null,"sidebarTitle":"ファイルからドキュメントを取得","openapi":"/ja/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/document-references/resolve","href":"/ja/api-reference/documents-and-chunks/get-document-by-file"},{"title":"ドキュメントファイル一覧を取得","deprecated":null,"version":null,"sidebarTitle":"ドキュメントファイル一覧を取得","openapi":"/ja/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/documents","href":"/ja/api-reference/documents-and-chunks/list-document-files"},{"title":"ドキュメントファイルを取得","deprecated":null,"version":null,"sidebarTitle":"ドキュメントファイルを取得","openapi":"/ja/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/documents/{document_file_id}","href":"/ja/api-reference/documents-and-chunks/get-document-file"},{"title":"ドキュメントファイルを削除","deprecated":null,"version":null,"sidebarTitle":"ドキュメントファイルを削除","openapi":"/ja/api-reference/openapi_service.json delete /knowledge-fs/spaces/{knowledge_base_id}/documents/{document_file_id}","href":"/ja/api-reference/documents-and-chunks/delete-document-file"},{"title":"ドキュメントのアウトラインを取得","deprecated":null,"version":null,"sidebarTitle":"ドキュメントのアウトラインを取得","openapi":"/ja/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/documents/{document_file_id}/outline","href":"/ja/api-reference/documents-and-chunks/get-document-outline"},{"title":"ドキュメントリビジョン一覧を取得","deprecated":null,"version":null,"sidebarTitle":"ドキュメントリビジョン一覧を取得","openapi":"/ja/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/documents/{document_id}/revisions","href":"/ja/api-reference/documents-and-chunks/list-document-revisions"},{"title":"チャンク一覧を取得","deprecated":null,"version":null,"sidebarTitle":"チャンク一覧を取得","openapi":"/ja/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/documents/{document_id}/revisions/{revision}/chunks","href":"/ja/api-reference/documents-and-chunks/list-chunks"},{"title":"チャンクを取得","deprecated":null,"version":null,"sidebarTitle":"チャンクを取得","openapi":"/ja/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/documents/{document_id}/revisions/{revision}/chunks/{chunk_id}","href":"/ja/api-reference/documents-and-chunks/get-chunk"},{"title":"ドキュメントファイルを一括削除","deprecated":null,"version":null,"sidebarTitle":"ドキュメントファイルを一括削除","openapi":"/ja/api-reference/openapi_service.json delete /knowledge-fs/spaces/{knowledge_base_id}/documents/bulk","href":"/ja/api-reference/documents-and-chunks/delete-document-files-in-batch"},{"title":"ドキュメントを再インデックス","deprecated":null,"version":null,"sidebarTitle":"ドキュメントを再インデックス","openapi":"/ja/api-reference/openapi_service.json post /knowledge-fs/spaces/{knowledge_base_id}/documents/reindex","href":"/ja/api-reference/documents-and-chunks/re-index-documents"}]},{"group":"インデックスタスク","pages":[{"title":"インデックスタスクを取得","deprecated":null,"version":null,"sidebarTitle":"インデックスタスクを取得","openapi":"/ja/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/jobs/{task_id}","href":"/ja/api-reference/indexing-tasks/get-indexing-task"},{"title":"インデックスタスクをキャンセル","deprecated":null,"version":null,"sidebarTitle":"インデックスタスクをキャンセル","openapi":"/ja/api-reference/openapi_service.json delete /knowledge-fs/spaces/{knowledge_base_id}/jobs/{task_id}","href":"/ja/api-reference/indexing-tasks/cancel-indexing-task"},{"title":"インデックスタスクを再試行","deprecated":null,"version":null,"sidebarTitle":"インデックスタスクを再試行","openapi":"/ja/api-reference/openapi_service.json post /knowledge-fs/spaces/{knowledge_base_id}/jobs/{task_id}/retry","href":"/ja/api-reference/indexing-tasks/retry-indexing-task"},{"title":"一括タスクを取得","deprecated":null,"version":null,"sidebarTitle":"一括タスクを取得","openapi":"/ja/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/bulk-jobs/{bulk_task_id}","href":"/ja/api-reference/indexing-tasks/get-bulk-task"},{"title":"ドキュメントのインデックスタスク一覧を取得","deprecated":null,"version":null,"sidebarTitle":"ドキュメントのインデックスタスク一覧を取得","openapi":"/ja/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/logical-documents/{document_id}/processing-tasks","href":"/ja/api-reference/indexing-tasks/list-document-indexing-tasks"},{"title":"ドキュメントのインデックスタスクを取得","deprecated":null,"version":null,"sidebarTitle":"ドキュメントのインデックスタスクを取得","openapi":"/ja/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/logical-documents/{document_id}/processing-tasks/{task_id}","href":"/ja/api-reference/indexing-tasks/get-document-indexing-task"},{"title":"バックグラウンドタスク一覧を取得","deprecated":null,"version":null,"sidebarTitle":"バックグラウンドタスク一覧を取得","openapi":"/ja/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/background-tasks","href":"/ja/api-reference/indexing-tasks/list-background-tasks"}]},{"group":"削除ジョブ","pages":[{"title":"削除ジョブを取得","deprecated":null,"version":null,"sidebarTitle":"削除ジョブを取得","openapi":"/ja/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/deletion-jobs/{deletion_job_id}","href":"/ja/api-reference/deletion-jobs/get-deletion-job"},{"title":"削除バッチを取得","deprecated":null,"version":null,"sidebarTitle":"削除バッチを取得","openapi":"/ja/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/deletion-batches/{deletion_batch_id}","href":"/ja/api-reference/deletion-jobs/get-deletion-batch"}]},{"group":"ソース","pages":[{"title":"ソースの接続一覧を取得","deprecated":null,"version":null,"sidebarTitle":"ソースの接続一覧を取得","openapi":"/ja/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/source-connections","href":"/ja/api-reference/sources/list-source-connections"},{"title":"ソースを作成","deprecated":null,"version":null,"sidebarTitle":"ソースを作成","openapi":"/ja/api-reference/openapi_service.json post /knowledge-fs/spaces/{knowledge_base_id}/sources","href":"/ja/api-reference/sources/create-source"},{"title":"ソース一覧を取得","deprecated":null,"version":null,"sidebarTitle":"ソース一覧を取得","openapi":"/ja/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/sources","href":"/ja/api-reference/sources/list-sources"},{"title":"ソースを取得","deprecated":null,"version":null,"sidebarTitle":"ソースを取得","openapi":"/ja/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/sources/{source_id}","href":"/ja/api-reference/sources/get-source"},{"title":"ソースを更新","deprecated":null,"version":null,"sidebarTitle":"ソースを更新","openapi":"/ja/api-reference/openapi_service.json patch /knowledge-fs/spaces/{knowledge_base_id}/sources/{source_id}","href":"/ja/api-reference/sources/update-source"},{"title":"ソースを削除","deprecated":null,"version":null,"sidebarTitle":"ソースを削除","openapi":"/ja/api-reference/openapi_service.json delete /knowledge-fs/spaces/{knowledge_base_id}/sources/{source_id}","href":"/ja/api-reference/sources/delete-source"},{"title":"ソースの認証情報をテスト","deprecated":null,"version":null,"sidebarTitle":"ソースの認証情報をテスト","openapi":"/ja/api-reference/openapi_service.json post /knowledge-fs/spaces/{knowledge_base_id}/sources/{source_id}/test","href":"/ja/api-reference/sources/test-source-credentials"},{"title":"ソースのページ一覧を取得","deprecated":null,"version":null,"sidebarTitle":"ソースのページ一覧を取得","openapi":"/ja/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/sources/{source_id}/pages","href":"/ja/api-reference/sources/list-source-pages"},{"title":"ソースのファイル一覧を取得","deprecated":null,"version":null,"sidebarTitle":"ソースのファイル一覧を取得","openapi":"/ja/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/sources/{source_id}/files","href":"/ja/api-reference/sources/list-source-files"},{"title":"同期ポリシーを取得","deprecated":null,"version":null,"sidebarTitle":"同期ポリシーを取得","openapi":"/ja/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/sources/{source_id}/sync-policy","href":"/ja/api-reference/sources/get-sync-policy"},{"title":"同期ポリシーを更新","deprecated":null,"version":null,"sidebarTitle":"同期ポリシーを更新","openapi":"/ja/api-reference/openapi_service.json put /knowledge-fs/spaces/{knowledge_base_id}/sources/{source_id}/sync-policy","href":"/ja/api-reference/sources/update-sync-policy"}]},{"group":"ソースの同期とインポート","pages":[{"title":"ソースを同期","deprecated":null,"version":null,"sidebarTitle":"ソースを同期","openapi":"/ja/api-reference/openapi_service.json post /knowledge-fs/spaces/{knowledge_base_id}/sources/{source_id}/sync","href":"/ja/api-reference/source-syncs-and-imports/sync-source"},{"title":"ウェブサイトのクロールをプレビュー","deprecated":null,"version":null,"sidebarTitle":"ウェブサイトのクロールをプレビュー","openapi":"/ja/api-reference/openapi_service.json post /knowledge-fs/spaces/{knowledge_base_id}/sources/{source_id}/crawl-preview","href":"/ja/api-reference/source-syncs-and-imports/preview-website-crawl"},{"title":"クロールプレビューのページ一覧を取得","deprecated":null,"version":null,"sidebarTitle":"クロールプレビューのページ一覧を取得","openapi":"/ja/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/source-workflows/{run_id}/pages","href":"/ja/api-reference/source-syncs-and-imports/list-crawl-preview-pages"},{"title":"選択したページをインポート","deprecated":null,"version":null,"sidebarTitle":"選択したページをインポート","openapi":"/ja/api-reference/openapi_service.json post /knowledge-fs/spaces/{knowledge_base_id}/source-workflows/{run_id}/selection","href":"/ja/api-reference/source-syncs-and-imports/import-selected-pages"},{"title":"ウェブサイトのページをインポート","deprecated":null,"version":null,"sidebarTitle":"ウェブサイトのページをインポート","openapi":"/ja/api-reference/openapi_service.json post /knowledge-fs/spaces/{knowledge_base_id}/sources/{source_id}/crawl-import","href":"/ja/api-reference/source-syncs-and-imports/import-website-pages"},{"title":"ソースのアイテムをインポート","deprecated":null,"version":null,"sidebarTitle":"ソースのアイテムをインポート","openapi":"/ja/api-reference/openapi_service.json post /knowledge-fs/spaces/{knowledge_base_id}/sources/{source_id}/workflow-imports","href":"/ja/api-reference/source-syncs-and-imports/import-source-items"},{"title":"ソースの実行一覧を取得","deprecated":null,"version":null,"sidebarTitle":"ソースの実行一覧を取得","openapi":"/ja/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/source-workflows","href":"/ja/api-reference/source-syncs-and-imports/list-source-runs"},{"title":"ソースの実行を取得","deprecated":null,"version":null,"sidebarTitle":"ソースの実行を取得","openapi":"/ja/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/source-workflows/{run_id}","href":"/ja/api-reference/source-syncs-and-imports/get-source-run"},{"title":"ソースの実行をキャンセル","deprecated":null,"version":null,"sidebarTitle":"ソースの実行をキャンセル","openapi":"/ja/api-reference/openapi_service.json post /knowledge-fs/spaces/{knowledge_base_id}/source-workflows/{run_id}/cancel","href":"/ja/api-reference/source-syncs-and-imports/cancel-source-run"},{"title":"ソースの実行を再試行","deprecated":null,"version":null,"sidebarTitle":"ソースの実行を再試行","openapi":"/ja/api-reference/openapi_service.json post /knowledge-fs/spaces/{knowledge_base_id}/source-workflows/{run_id}/retry","href":"/ja/api-reference/source-syncs-and-imports/retry-source-run"}]},{"group":"設定","pages":[{"title":"ナレッジベース設定を取得","deprecated":null,"version":null,"sidebarTitle":"ナレッジベース設定を取得","openapi":"/ja/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/settings","href":"/ja/api-reference/settings/get-knowledge-base-settings"},{"title":"ナレッジベース設定を更新","deprecated":null,"version":null,"sidebarTitle":"ナレッジベース設定を更新","openapi":"/ja/api-reference/openapi_service.json patch /knowledge-fs/spaces/{knowledge_base_id}/settings","href":"/ja/api-reference/settings/update-knowledge-base-settings"},{"title":"設定の移行を取得","deprecated":null,"version":null,"sidebarTitle":"設定の移行を取得","openapi":"/ja/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/settings/migrations/{migration_id}","href":"/ja/api-reference/settings/get-settings-migration"}]}]},{"group":"従来型ナレッジベース","pages":[{"group":"ナレッジベース","pages":[{"title":"空のナレッジベースを作成","deprecated":null,"version":null,"sidebarTitle":"空のナレッジベースを作成","openapi":"/ja/api-reference/openapi_service.json post /datasets","href":"/ja/api-reference/knowledge-bases/create-an-empty-knowledge-base"},{"title":"ナレッジベースリストを取得","deprecated":null,"version":null,"sidebarTitle":"ナレッジベースリストを取得","openapi":"/ja/api-reference/openapi_service.json get /datasets","href":"/ja/api-reference/knowledge-bases/list-knowledge-bases"},{"title":"ナレッジベース詳細を取得","deprecated":null,"version":null,"sidebarTitle":"ナレッジベース詳細を取得","openapi":"/ja/api-reference/openapi_service.json get /datasets/{dataset_id}","href":"/ja/api-reference/knowledge-bases/get-knowledge-base"},{"title":"ナレッジベースを更新","deprecated":null,"version":null,"sidebarTitle":"ナレッジベースを更新","openapi":"/ja/api-reference/openapi_service.json patch /datasets/{dataset_id}","href":"/ja/api-reference/knowledge-bases/update-knowledge-base"},{"title":"ナレッジベースを削除","deprecated":null,"version":null,"sidebarTitle":"ナレッジベースを削除","openapi":"/ja/api-reference/openapi_service.json delete /datasets/{dataset_id}","href":"/ja/api-reference/knowledge-bases/delete-knowledge-base"},{"title":"ナレッジベースからチャンクを取得 / テスト検索","deprecated":null,"version":null,"sidebarTitle":"ナレッジベースからチャンクを取得 / テスト検索","openapi":"/ja/api-reference/openapi_service.json post /datasets/{dataset_id}/retrieve","href":"/ja/api-reference/knowledge-bases/retrieve-chunks-from-a-knowledge-base-test-retrieval"}]},{"group":"ドキュメント","pages":[{"title":"テキストからドキュメントを作成","deprecated":null,"version":null,"sidebarTitle":"テキストからドキュメントを作成","openapi":"/ja/api-reference/openapi_service.json post /datasets/{dataset_id}/document/create-by-text","href":"/ja/api-reference/documents/create-document-by-text"},{"title":"ファイルからドキュメントを作成","deprecated":null,"version":null,"sidebarTitle":"ファイルからドキュメントを作成","openapi":"/ja/api-reference/openapi_service.json post /datasets/{dataset_id}/document/create-by-file","href":"/ja/api-reference/documents/create-document-by-file"},{"title":"ナレッジベースのドキュメントリストを取得","deprecated":null,"version":null,"sidebarTitle":"ナレッジベースのドキュメントリストを取得","openapi":"/ja/api-reference/openapi_service.json get /datasets/{dataset_id}/documents","href":"/ja/api-reference/documents/list-documents"},{"title":"ドキュメント詳細を取得","deprecated":null,"version":null,"sidebarTitle":"ドキュメント詳細を取得","openapi":"/ja/api-reference/openapi_service.json get /datasets/{dataset_id}/documents/{document_id}","href":"/ja/api-reference/documents/get-document"},{"title":"ドキュメントを削除","deprecated":null,"version":null,"sidebarTitle":"ドキュメントを削除","openapi":"/ja/api-reference/openapi_service.json delete /datasets/{dataset_id}/documents/{document_id}","href":"/ja/api-reference/documents/delete-document"},{"title":"ドキュメントを更新","deprecated":null,"version":null,"sidebarTitle":"ドキュメントを更新","openapi":"/ja/api-reference/openapi_service.json patch /datasets/{dataset_id}/documents/{document_id}","href":"/ja/api-reference/documents/update-document"},{"title":"ドキュメントをダウンロード","deprecated":null,"version":null,"sidebarTitle":"ドキュメントをダウンロード","openapi":"/ja/api-reference/openapi_service.json get /datasets/{dataset_id}/documents/{document_id}/download","href":"/ja/api-reference/documents/download-document"},{"title":"ドキュメント埋め込みステータス(進捗)を取得","deprecated":null,"version":null,"sidebarTitle":"ドキュメント埋め込みステータス(進捗)を取得","openapi":"/ja/api-reference/openapi_service.json get /datasets/{dataset_id}/documents/{batch}/indexing-status","href":"/ja/api-reference/documents/get-document-indexing-status"},{"title":"テキストでドキュメントを更新","deprecated":null,"version":null,"sidebarTitle":"テキストでドキュメントを更新","openapi":"/ja/api-reference/openapi_service.json post /datasets/{dataset_id}/documents/{document_id}/update-by-text","href":"/ja/api-reference/documents/update-document-by-text"},{"title":"ファイルでドキュメントを更新","deprecated":true,"version":null,"sidebarTitle":"ファイルでドキュメントを更新","openapi":"/ja/api-reference/openapi_service.json post /datasets/{dataset_id}/documents/{document_id}/update-by-file","href":"/ja/api-reference/documents/update-document-by-file"},{"title":"ドキュメントを一括ダウンロード(ZIP)","deprecated":null,"version":null,"sidebarTitle":"ドキュメントを一括ダウンロード(ZIP)","openapi":"/ja/api-reference/openapi_service.json post /datasets/{dataset_id}/documents/download-zip","href":"/ja/api-reference/documents/download-documents-as-zip"},{"title":"ドキュメントステータスを一括更新","deprecated":null,"version":null,"sidebarTitle":"ドキュメントステータスを一括更新","openapi":"/ja/api-reference/openapi_service.json patch /datasets/{dataset_id}/documents/status/{action}","href":"/ja/api-reference/documents/update-document-status-in-batch"}]},{"group":"チャンク","pages":[{"title":"ドキュメントにチャンクを追加","deprecated":null,"version":null,"sidebarTitle":"ドキュメントにチャンクを追加","openapi":"/ja/api-reference/openapi_service.json post /datasets/{dataset_id}/documents/{document_id}/segments","href":"/ja/api-reference/chunks/create-chunks"},{"title":"チャンク一覧を取得","deprecated":null,"version":null,"sidebarTitle":"チャンク一覧を取得","openapi":"/ja/api-reference/openapi_service.json get /datasets/{dataset_id}/documents/{document_id}/segments","href":"/ja/api-reference/chunks/list-chunks"},{"title":"ドキュメント内のチャンク詳細を取得","deprecated":null,"version":null,"sidebarTitle":"ドキュメント内のチャンク詳細を取得","openapi":"/ja/api-reference/openapi_service.json get /datasets/{dataset_id}/documents/{document_id}/segments/{segment_id}","href":"/ja/api-reference/chunks/get-chunk"},{"title":"ドキュメント内のチャンクを更新","deprecated":null,"version":null,"sidebarTitle":"ドキュメント内のチャンクを更新","openapi":"/ja/api-reference/openapi_service.json post /datasets/{dataset_id}/documents/{document_id}/segments/{segment_id}","href":"/ja/api-reference/chunks/update-chunk"},{"title":"ドキュメント内のチャンクを削除","deprecated":null,"version":null,"sidebarTitle":"ドキュメント内のチャンクを削除","openapi":"/ja/api-reference/openapi_service.json delete /datasets/{dataset_id}/documents/{document_id}/segments/{segment_id}","href":"/ja/api-reference/chunks/delete-chunk"},{"title":"子チャンクを作成","deprecated":null,"version":null,"sidebarTitle":"子チャンクを作成","openapi":"/ja/api-reference/openapi_service.json post /datasets/{dataset_id}/documents/{document_id}/segments/{segment_id}/child_chunks","href":"/ja/api-reference/chunks/create-child-chunk"},{"title":"子チャンク一覧を取得","deprecated":null,"version":null,"sidebarTitle":"子チャンク一覧を取得","openapi":"/ja/api-reference/openapi_service.json get /datasets/{dataset_id}/documents/{document_id}/segments/{segment_id}/child_chunks","href":"/ja/api-reference/chunks/list-child-chunks"},{"title":"子チャンクを更新","deprecated":null,"version":null,"sidebarTitle":"子チャンクを更新","openapi":"/ja/api-reference/openapi_service.json patch /datasets/{dataset_id}/documents/{document_id}/segments/{segment_id}/child_chunks/{child_chunk_id}","href":"/ja/api-reference/chunks/update-child-chunk"},{"title":"子チャンクを削除","deprecated":null,"version":null,"sidebarTitle":"子チャンクを削除","openapi":"/ja/api-reference/openapi_service.json delete /datasets/{dataset_id}/documents/{document_id}/segments/{segment_id}/child_chunks/{child_chunk_id}","href":"/ja/api-reference/chunks/delete-child-chunk"}]},{"group":"メタデータ","pages":[{"title":"メタデータフィールドを作成","deprecated":null,"version":null,"sidebarTitle":"メタデータフィールドを作成","openapi":"/ja/api-reference/openapi_service.json post /datasets/{dataset_id}/metadata","href":"/ja/api-reference/metadata/create-metadata-field"},{"title":"メタデータフィールドリストを取得","deprecated":null,"version":null,"sidebarTitle":"メタデータフィールドリストを取得","openapi":"/ja/api-reference/openapi_service.json get /datasets/{dataset_id}/metadata","href":"/ja/api-reference/metadata/list-metadata-fields"},{"title":"メタデータフィールドを更新","deprecated":null,"version":null,"sidebarTitle":"メタデータフィールドを更新","openapi":"/ja/api-reference/openapi_service.json patch /datasets/{dataset_id}/metadata/{metadata_id}","href":"/ja/api-reference/metadata/update-metadata-field"},{"title":"メタデータフィールドを削除","deprecated":null,"version":null,"sidebarTitle":"メタデータフィールドを削除","openapi":"/ja/api-reference/openapi_service.json delete /datasets/{dataset_id}/metadata/{metadata_id}","href":"/ja/api-reference/metadata/delete-metadata-field"},{"title":"組み込みメタデータフィールドを取得","deprecated":null,"version":null,"sidebarTitle":"組み込みメタデータフィールドを取得","openapi":"/ja/api-reference/openapi_service.json get /datasets/{dataset_id}/metadata/built-in","href":"/ja/api-reference/metadata/get-built-in-metadata-fields"},{"title":"組み込みメタデータフィールドを更新","deprecated":null,"version":null,"sidebarTitle":"組み込みメタデータフィールドを更新","openapi":"/ja/api-reference/openapi_service.json post /datasets/{dataset_id}/metadata/built-in/{action}","href":"/ja/api-reference/metadata/update-built-in-metadata-field"},{"title":"ドキュメントメタデータを一括更新","deprecated":null,"version":null,"sidebarTitle":"ドキュメントメタデータを一括更新","openapi":"/ja/api-reference/openapi_service.json post /datasets/{dataset_id}/documents/metadata","href":"/ja/api-reference/metadata/update-document-metadata-in-batch"}]},{"group":"タグ管理","pages":[{"title":"ナレッジベースタグを作成","deprecated":null,"version":null,"sidebarTitle":"ナレッジベースタグを作成","openapi":"/ja/api-reference/openapi_service.json post /datasets/tags","href":"/ja/api-reference/tags/create-knowledge-tag"},{"title":"ナレッジベースタグリストを取得","deprecated":null,"version":null,"sidebarTitle":"ナレッジベースタグリストを取得","openapi":"/ja/api-reference/openapi_service.json get /datasets/tags","href":"/ja/api-reference/tags/list-knowledge-tags"},{"title":"ナレッジベースタグを変更","deprecated":null,"version":null,"sidebarTitle":"ナレッジベースタグを変更","openapi":"/ja/api-reference/openapi_service.json patch /datasets/tags","href":"/ja/api-reference/tags/update-knowledge-tag"},{"title":"ナレッジベースタグを削除","deprecated":null,"version":null,"sidebarTitle":"ナレッジベースタグを削除","openapi":"/ja/api-reference/openapi_service.json delete /datasets/tags","href":"/ja/api-reference/tags/delete-knowledge-tag"},{"title":"タグをナレッジベースにバインド","deprecated":null,"version":null,"sidebarTitle":"タグをナレッジベースにバインド","openapi":"/ja/api-reference/openapi_service.json post /datasets/tags/binding","href":"/ja/api-reference/tags/create-tag-binding"},{"title":"タグとナレッジベースのバインドを解除","deprecated":null,"version":null,"sidebarTitle":"タグとナレッジベースのバインドを解除","openapi":"/ja/api-reference/openapi_service.json post /datasets/tags/unbinding","href":"/ja/api-reference/tags/delete-tag-binding"},{"title":"ナレッジベースにバインドされたタグを取得","deprecated":null,"version":null,"sidebarTitle":"ナレッジベースにバインドされたタグを取得","openapi":"/ja/api-reference/openapi_service.json get /datasets/{dataset_id}/tags","href":"/ja/api-reference/tags/get-knowledge-base-tags"}]},{"group":"モデル","pages":[{"title":"利用可能なモデルを取得","deprecated":null,"version":null,"sidebarTitle":"利用可能なモデルを取得","openapi":"/ja/api-reference/openapi_service.json get /workspaces/current/models/model-types/{model_type}","href":"/ja/api-reference/models/get-available-models"}]},{"group":"ナレッジパイプライン","pages":[{"title":"パイプラインファイルをアップロード","deprecated":null,"version":null,"sidebarTitle":"パイプラインファイルをアップロード","openapi":"/ja/api-reference/openapi_service.json post /datasets/pipeline/file-upload","href":"/ja/api-reference/knowledge-pipeline/upload-pipeline-file"},{"title":"データソースプラグインリストを取得","deprecated":null,"version":null,"sidebarTitle":"データソースプラグインリストを取得","openapi":"/ja/api-reference/openapi_service.json get /datasets/{dataset_id}/pipeline/datasource-plugins","href":"/ja/api-reference/knowledge-pipeline/list-datasource-plugins"},{"title":"データソースノードを実行","deprecated":null,"version":null,"sidebarTitle":"データソースノードを実行","openapi":"/ja/api-reference/openapi_service.json post /datasets/{dataset_id}/pipeline/datasource/nodes/{node_id}/run","href":"/ja/api-reference/knowledge-pipeline/run-datasource-node"},{"title":"パイプラインを実行","deprecated":null,"version":null,"sidebarTitle":"パイプラインを実行","openapi":"/ja/api-reference/openapi_service.json post /datasets/{dataset_id}/pipeline/run","href":"/ja/api-reference/knowledge-pipeline/run-pipeline"}]}]}]}]},{"item":"CLI","icon":"terminal","groups":[{"group":" ","expanded":true,"pages":[{"title":"概要","href":"/ja/cli/overview"},{"title":"クイックスタート","href":"/ja/cli/get-started"},{"title":"コマンドの検索と実行","href":"/ja/cli/find-and-run-commands"},{"group":"アプリの操作","expanded":true,"pages":[{"title":"アプリの構築","sidebarTitle":"構築","href":"/ja/cli/build-apps"},{"title":"アプリの実行","sidebarTitle":"実行","href":"/ja/cli/run-apps"},{"title":"DSL ファイルからのアプリの作成と更新","sidebarTitle":"DSL からの作成・更新","href":"/ja/cli/create-and-update-apps-from-dsl-files"},{"title":"CI と自動化での `difyctl` の使用","sidebarTitle":"CI と自動化","href":"/ja/cli/scripts-and-ci"}]},{"group":"difyctl の管理","expanded":true,"pages":[{"title":"サインインの管理","sidebarTitle":"サインインとセッション","href":"/ja/cli/manage-sign-in"},{"title":"difyctl のアップデートとアンインストール","sidebarTitle":"アップデートとアンインストール","href":"/ja/cli/update-or-uninstall"},{"title":"Dify 1.18.0 へのアップグレード","sidebarTitle":"1.18.0 へのアップグレード","href":"/ja/cli/upgrade-across-1-18"}]},{"group":"リファレンス","expanded":true,"pages":[{"title":"コマンド索引","href":"/ja/cli/reference/command-index"},{"title":"結果、エラー、終了コード","sidebarTitle":"結果とエラー","href":"/ja/cli/reference/results-errors-and-exit-codes"},{"title":"設定","href":"/ja/cli/reference/configuration"}]}]}]},{"item":"プラグイン開発","icon":"code-pull-request","pages":[{"group":"クイックスタート","icon":"rocket","pages":[{"title":"Dify プラグイン","href":"/ja/develop-plugin/getting-started/getting-started-dify-plugin"},{"title":"プラグインタイプの選択","href":"/ja/develop-plugin/getting-started/choose-plugin-type"},{"title":"Dify プラグイン CLI","href":"/ja/develop-plugin/getting-started/cli"}]},{"group":"特性と仕様","icon":"list-check","pages":[{"group":"プラグインタイプ","pages":[{"title":"一般仕様","href":"/ja/develop-plugin/features-and-specs/plugin-types/general-specifications"},{"title":"モデル仕様","href":"/ja/develop-plugin/features-and-specs/plugin-types/model-designing-rules"},{"title":"モデル API インターフェース","href":"/ja/develop-plugin/features-and-specs/plugin-types/model-schema"},{"title":"永続ストレージ","href":"/ja/develop-plugin/features-and-specs/plugin-types/persistent-storage-kv"},{"title":"ツールの戻り値","href":"/ja/develop-plugin/features-and-specs/plugin-types/tool"},{"title":"Manifest","href":"/ja/develop-plugin/features-and-specs/plugin-types/plugin-info-by-manifest"},{"title":"多言語 README","href":"/ja/develop-plugin/features-and-specs/plugin-types/multilingual-readme"},{"title":"プラグインのデバッグ","href":"/ja/develop-plugin/features-and-specs/plugin-types/remote-debug-a-plugin"},{"title":"プラグインのロギング","href":"/ja/develop-plugin/features-and-specs/plugin-types/plugin-logging"}]},{"group":"高度な開発","pages":[{"group":"リバース呼び出し","pages":[{"title":"Bundle プラグインパッケージ","href":"/ja/develop-plugin/features-and-specs/advanced-development/bundle"},{"title":"Dify サービスの逆呼び出し","href":"/ja/develop-plugin/features-and-specs/advanced-development/reverse-invocation"},{"title":"App","href":"/ja/develop-plugin/features-and-specs/advanced-development/reverse-invocation-app"},{"title":"モデルの逆呼び出し","href":"/ja/develop-plugin/features-and-specs/advanced-development/reverse-invocation-model"},{"title":"ツール","href":"/ja/develop-plugin/features-and-specs/advanced-development/reverse-invocation-tool"},{"title":"カスタムモデルの統合","href":"/ja/develop-plugin/features-and-specs/advanced-development/customizable-model"},{"title":"ノード","href":"/ja/develop-plugin/features-and-specs/advanced-development/reverse-invocation-node"}]}]}]},{"group":"開発ガイドとサンプル","icon":"code","pages":[{"title":"チートシート","href":"/ja/develop-plugin/dev-guides-and-walkthroughs/cheatsheet"},{"group":"プラグインタイプ別","pages":[{"title":"ツールプラグイン","href":"/ja/develop-plugin/dev-guides-and-walkthroughs/tool-plugin"},{"title":"Tool OAuth","href":"/ja/develop-plugin/dev-guides-and-walkthroughs/tool-oauth"},{"title":"モデルプロバイダープラグイン","href":"/ja/develop-plugin/dev-guides-and-walkthroughs/creating-new-model-provider"},{"title":"エージェント戦略プラグイン","href":"/ja/develop-plugin/dev-guides-and-walkthroughs/agent-strategy-plugin"},{"title":"データソースプラグイン","href":"/ja/develop-plugin/dev-guides-and-walkthroughs/datasource-plugin"},{"title":"トリガープラグイン","href":"/ja/develop-plugin/dev-guides-and-walkthroughs/trigger-plugin"},{"title":"Endpoint プラグイン","href":"/ja/develop-plugin/dev-guides-and-walkthroughs/endpoint"}]},{"group":"完全なサンプル","pages":[{"title":"Flomoツール(10分)","href":"/ja/develop-plugin/dev-guides-and-walkthroughs/develop-flomo-plugin"},{"title":"Slack Bot","href":"/ja/develop-plugin/dev-guides-and-walkthroughs/develop-a-slack-bot-plugin"},{"title":"Markdownエクスポーター","href":"/ja/develop-plugin/dev-guides-and-walkthroughs/develop-md-exporter"},{"title":"マルチモーダルツール","href":"/ja/develop-plugin/dev-guides-and-walkthroughs/develop-multimodal-data-processing-tool"}]}]},{"group":"公開","icon":"upload","pages":[{"title":"プラグインの公開","href":"/ja/develop-plugin/publishing/marketplace-listing/release-overview"},{"group":"標準","pages":[{"title":"プラグイン開発ガイドライン","href":"/ja/develop-plugin/publishing/standards/contributor-covenant-code-of-conduct"},{"title":"プライバシーポリシーガイドライン","href":"/ja/develop-plugin/publishing/standards/privacy-protection-guidelines"}]},{"title":"マーケットプレイスにプラグインを公開","sidebarTitle":"マーケットプレイス","href":"/ja/develop-plugin/publishing/marketplace-listing/submit-plugin-to-marketplace"},{"group":"GitHub リポジトリ","pages":[{"title":"個人 GitHub リポジトリへの公開","href":"/ja/develop-plugin/publishing/marketplace-listing/release-to-individual-github-repo"}]},{"group":"ローカルファイル","pages":[{"title":"ローカルファイルとしてパッケージ化して共有","href":"/ja/develop-plugin/publishing/marketplace-listing/release-by-file"},{"title":"サードパーティ署名検証用のプラグイン署名","href":"/ja/develop-plugin/publishing/standards/third-party-signature-verification"}]},{"title":"よくある質問","sidebarTitle":"よくある質問","href":"/ja/develop-plugin/publishing/faq/faq"}]}]}]}]},{"product":"セルフホスト","icon":"server","tabs":[{"tab":"デプロイ","icon":"server","pages":[{"title":"Dify のデプロイ","sidebarTitle":"概要","mode":"frame","href":"/ja/self-host/deploy/overview"},{"group":"クイックスタート","icon":"rocket","pages":[{"title":"Docker Compose で Dify をデプロイする","sidebarTitle":"Docker Compose","href":"/ja/self-host/deploy/quick-start/docker-compose"},{"title":"よくある質問","href":"/ja/self-host/deploy/quick-start/faqs"}]},{"group":"高度なデプロイ","icon":"server","pages":[{"title":"ローカルソースコードからの起動","href":"/ja/self-host/deploy/advanced-deployments/local-source-code"},{"title":"フロントコンテナ起動","href":"/ja/self-host/deploy/advanced-deployments/start-the-frontend-docker-container"}]},{"group":"設定","icon":"gear","pages":[{"title":"環境変数","href":"/ja/self-host/deploy/configuration/environments"}]},{"group":"プラットフォームガイド","icon":"map","pages":[{"title":"aaPanelでのデプロイ","href":"/ja/self-host/deploy/platform-guides/bt-panel"},{"title":"AWS 上の Dify Premium","href":"/ja/self-host/deploy/platform-guides/dify-premium"}]},{"group":"トラブルシューティング","icon":"wrench","pages":[{"title":"よくある問題","href":"/ja/self-host/deploy/troubleshooting/common-issues"},{"title":"Dockerの問題","href":"/ja/self-host/deploy/troubleshooting/docker-issues"},{"title":"サードパーティ統合","href":"/ja/self-host/deploy/troubleshooting/integrations"},{"title":"ストレージとマイグレーション","href":"/ja/self-host/deploy/troubleshooting/storage-and-migration"},{"title":"Weaviate 移行ガイド:クライアント v4 とサーバー 1.27+ へのアップグレード","href":"/ja/self-host/deploy/troubleshooting/weaviate-v4-migration"},{"title":"Weaviate サーバーのアップグレード経路","href":"/ja/self-host/deploy/troubleshooting/weaviate-server-migration-path"}]}]},{"tab":"使い方","icon":"book-open","pages":[{"title":"Dify の使い方","sidebarTitle":"概要","mode":"frame","href":"/ja/self-host/use-dify/getting-started/introduction"},{"group":"オーケストレーション","icon":"hammer","pages":[{"group":"Workflow と Chatflow","expanded":false,"pages":[{"title":"Workflow と Chatflow","sidebarTitle":"概要","href":"/ja/self-host/use-dify/build/workflow-chatflow"},{"title":"オーケストレーションロジック","href":"/ja/self-host/use-dify/build/orchestrate-node"},{"group":"ノード","expanded":false,"pages":[{"group":"開始","root":{"title":"開始ノード","href":"/ja/self-host/use-dify/nodes/start"},"pages":[{"title":"ユーザー入力","href":"/ja/self-host/use-dify/nodes/user-input"},{"group":"トリガー","root":{"title":"トリガー","sidebarTitle":"概要","href":"/ja/self-host/use-dify/nodes/trigger/overview"},"pages":[{"title":"スケジュールトリガー","href":"/ja/self-host/use-dify/nodes/trigger/schedule-trigger"},{"title":"インテグレーショントリガー","href":"/ja/self-host/use-dify/nodes/trigger/plugin-trigger"},{"title":"Webhook トリガー","href":"/ja/self-host/use-dify/nodes/trigger/webhook-trigger"}]}]},{"title":"LLM","href":"/ja/self-host/use-dify/nodes/llm"},{"title":"知識検索","href":"/ja/self-host/use-dify/nodes/knowledge-retrieval"},{"title":"答え","href":"/ja/self-host/use-dify/nodes/answer"},{"title":"出力","href":"/ja/self-host/use-dify/nodes/output"},{"title":"Agent","href":"/ja/self-host/use-dify/nodes/agent"},{"title":"質問分類器","href":"/ja/self-host/use-dify/nodes/question-classifier"},{"title":"If-Else","href":"/ja/self-host/use-dify/nodes/ifelse"},{"group":"人間の入力","root":{"title":"人間の入力","href":"/ja/self-host/use-dify/nodes/human-input"},"expanded":false,"pages":[]},{"title":"反復処理","href":"/ja/self-host/use-dify/nodes/iteration"},{"title":"ループ","href":"/ja/self-host/use-dify/nodes/loop"},{"title":"コード","href":"/ja/self-host/use-dify/nodes/code"},{"title":"テンプレート","href":"/ja/self-host/use-dify/nodes/template"},{"title":"変数集約器","href":"/ja/self-host/use-dify/nodes/variable-aggregator"},{"title":"テキスト抽出","href":"/ja/self-host/use-dify/nodes/doc-extractor"},{"title":"変数アサイナー","href":"/ja/self-host/use-dify/nodes/variable-assigner"},{"title":"パラメータ抽出器","href":"/ja/self-host/use-dify/nodes/parameter-extractor"},{"title":"HTTP リクエスト","href":"/ja/self-host/use-dify/nodes/http-request"},{"title":"リスト演算子","href":"/ja/self-host/use-dify/nodes/list-operator"},{"title":"ツールノード","sidebarTitle":"ツール","href":"/ja/self-host/use-dify/nodes/tools"}]},{"title":"ホットキー","href":"/ja/self-host/use-dify/build/shortcut-key"},{"title":"バージョン管理","href":"/ja/self-host/use-dify/build/version-control"},{"title":"スニペット","href":"/ja/self-host/use-dify/build/snippet"},{"title":"チームメンバーと共同作業","sidebarTitle":"コラボレーション","href":"/ja/self-host/use-dify/build/workflow-collaboration"},{"group":"デバッグ","expanded":false,"pages":[{"title":"エラーの処理","href":"/ja/self-host/use-dify/build/predefined-error-handling-logic"},{"title":"単一ノード","href":"/ja/self-host/use-dify/debug/step-run"},{"title":"変数インスペクター","href":"/ja/self-host/use-dify/debug/variable-inspect"},{"title":"実行履歴","href":"/ja/self-host/use-dify/debug/history-and-logs"},{"title":"エラータイプ","href":"/ja/self-host/use-dify/debug/error-type"}]}]},{"group":"Agent","tag":"New","expanded":false,"pages":[{"title":"Agent","sidebarTitle":"概要","href":"/ja/self-host/use-dify/build/new-agent/overview"},{"title":"Agent の構築","sidebarTitle":"構築","href":"/ja/self-host/use-dify/build/new-agent/build"}]},{"title":"Skills","sidebarTitle":"Skills","href":"/ja/self-host/use-dify/build/skills"},{"group":"基本アプリ","expanded":false,"pages":[{"title":"Agent","tag":"Legacy","href":"/ja/self-host/use-dify/build/agent"},{"title":"チャットボット","sidebarTitle":"チャットボット","href":"/ja/self-host/use-dify/build/chatbot"},{"title":"テキストジェネレーター","sidebarTitle":"テキストジェネレーター","href":"/ja/self-host/use-dify/build/text-generator"}]},{"title":"アプリツールキット","href":"/ja/self-host/use-dify/build/additional-features"},{"title":"グローバル検索","href":"/ja/self-host/use-dify/build/goto-anything"}]},{"group":"公開","icon":"paper-plane","expanded":false,"pages":[{"title":"AI アプリの共有","href":"/ja/self-host/use-dify/publish/README"},{"group":"Web アプリ","pages":[{"title":"Workflow Web アプリ","href":"/ja/self-host/use-dify/publish/webapp/workflow-webapp"},{"title":"チャット Web アプリ","href":"/ja/self-host/use-dify/publish/webapp/chatflow-webapp"},{"title":"設定","href":"/ja/self-host/use-dify/publish/webapp/web-app-settings"},{"title":"Web アプリの埋め込み","sidebarTitle":"埋め込み","href":"/ja/self-host/use-dify/publish/webapp/embedding-in-websites"}]},{"title":"MCP サーバー","href":"/ja/self-host/use-dify/publish/publish-mcp"},{"title":"アプリをマーケットプレイスに公開","sidebarTitle":"マーケットプレイス","href":"/ja/self-host/use-dify/publish/publish-to-marketplace"}]},{"group":"モニタリング","icon":"chart-line","expanded":false,"pages":[{"title":"ダッシュボード","href":"/ja/self-host/use-dify/monitor/analysis"},{"title":"ログ","href":"/ja/self-host/use-dify/monitor/logs"},{"title":"注釈システム","href":"/ja/self-host/use-dify/monitor/annotation-reply"},{"group":"インテグレーション","pages":[{"title":"LangSmith の統合","href":"/ja/self-host/use-dify/monitor/integrations/integrate-langsmith"},{"title":"Langfuse の統合","href":"/ja/self-host/use-dify/monitor/integrations/integrate-langfuse"},{"title":"Opik の統合","href":"/ja/self-host/use-dify/monitor/integrations/integrate-opik"},{"title":"W\u0026B Weave の統合","sidebarTitle":"W\u0026B Weave","href":"/ja/self-host/use-dify/monitor/integrations/integrate-weave"},{"title":"Arize の統合","href":"/ja/self-host/use-dify/monitor/integrations/integrate-arize"},{"title":"Phoenix の統合","href":"/ja/self-host/use-dify/monitor/integrations/integrate-phoenix"},{"title":"Alibaba Cloud Monitor の統合","href":"/ja/self-host/use-dify/monitor/integrations/integrate-aliyun"}]}]},{"group":"ナレッジ","icon":"book","expanded":false,"pages":[{"title":"ナレッジ","sidebarTitle":"概要","href":"/ja/self-host/use-dify/knowledge/readme"},{"group":"作成","pages":[{"group":"すぐに使えるナレッジベースを作成","pages":[{"title":"すぐに使えるナレッジベースを作成","sidebarTitle":"概要","href":"/ja/self-host/use-dify/knowledge/create-knowledge/introduction"},{"group":"データのインポート","pages":[{"title":"ローカルファイルをアップロード","href":"/ja/self-host/use-dify/knowledge/create-knowledge/import-text-data/readme"},{"title":"Notion からデータを同期","href":"/ja/self-host/use-dify/knowledge/create-knowledge/import-text-data/sync-from-notion"},{"title":"Web サイトからデータをインポート","href":"/ja/self-host/use-dify/knowledge/create-knowledge/import-text-data/sync-from-website"}]},{"title":"チャンク設定","href":"/ja/self-host/use-dify/knowledge/create-knowledge/chunking-and-cleaning-text"},{"title":"インデックス方法と検索設定を指定","href":"/ja/self-host/use-dify/knowledge/create-knowledge/setting-indexing-methods"}]},{"group":"カスタムナレッジベースを構築","pages":[{"title":"カスタムナレッジベースを構築","sidebarTitle":"概要","href":"/ja/self-host/use-dify/knowledge/knowledge-pipeline/readme"},{"title":"ステップ 1:ナレッジパイプラインの作成","href":"/ja/self-host/use-dify/knowledge/knowledge-pipeline/create-knowledge-pipeline"},{"title":"ステップ 2:ナレッジパイプラインをオーケストレーションする","href":"/ja/self-host/use-dify/knowledge/knowledge-pipeline/knowledge-pipeline-orchestration"},{"title":"ステップ 3:ナレッジパイプラインの公開","href":"/ja/self-host/use-dify/knowledge/knowledge-pipeline/publish-knowledge-pipeline"},{"title":"ステップ 4:ファイルのアップロード","href":"/ja/self-host/use-dify/knowledge/knowledge-pipeline/upload-files"},{"title":"ステップ 5:ナレッジベースの管理と活用","href":"/ja/self-host/use-dify/knowledge/knowledge-pipeline/manage-knowledge-base"},{"title":"データソース認証","href":"/ja/self-host/use-dify/knowledge/knowledge-pipeline/authorize-data-source"}]},{"group":"外部ナレッジベースと連携","pages":[{"title":"外部ナレッジベースとの接続","sidebarTitle":"概要","href":"/ja/self-host/use-dify/knowledge/connect-external-knowledge-base"},{"title":"外部ナレッジベース API","href":"/ja/self-host/use-dify/knowledge/external-knowledge-api"}]}]},{"group":"管理","pages":[{"title":"ナレッジコンテンツの管理","sidebarTitle":"ドキュメントとチャンク","href":"/ja/self-host/use-dify/knowledge/manage-knowledge/maintain-knowledge-documents"},{"title":"ドキュメントのメタデータを管理","sidebarTitle":"メタデータ","href":"/ja/self-host/use-dify/knowledge/metadata"},{"title":"ナレッジ設定の管理","sidebarTitle":"設定","href":"/ja/self-host/use-dify/knowledge/manage-knowledge/introduction"}]},{"title":"ナレッジ検索テスト","sidebarTitle":"検索テスト","href":"/ja/self-host/use-dify/knowledge/test-retrieval"},{"title":"アプリ内でのナレッジベース統合","sidebarTitle":"アプリ内で統合","href":"/ja/self-host/use-dify/knowledge/integrate-knowledge-within-application"}]},{"group":"統合","icon":"plug","expanded":false,"pages":[{"title":"統合","sidebarTitle":"概要","href":"/ja/self-host/use-dify/workspace/plugins"},{"title":"モデルプロバイダー","href":"/ja/self-host/use-dify/workspace/model-providers"},{"title":"Dify ツール","sidebarTitle":"ツール","href":"/ja/self-host/use-dify/workspace/tools"},{"group":"カスタム API","pages":[{"title":"カスタム API","sidebarTitle":"概要","href":"/ja/self-host/use-dify/workspace/api-extension/api-extension"},{"title":"外部データツール","href":"/ja/self-host/use-dify/workspace/api-extension/external-data-tool-api-extension"},{"title":"センシティブコンテンツ審査","href":"/ja/self-host/use-dify/workspace/api-extension/moderation-api-extension"},{"title":"Cloudflare Workers を使用したカスタム API のデプロイ","href":"/ja/self-host/use-dify/workspace/api-extension/cloudflare-worker"}]}]},{"group":"ワークスペース","icon":"briefcase","expanded":false,"pages":[{"title":"概要","href":"/ja/self-host/use-dify/workspace/readme"},{"title":"アプリのエクスポートとインポート","sidebarTitle":"エクスポートとインポート","href":"/ja/self-host/use-dify/workspace/export-import-apps"},{"title":"メンバーの管理","href":"/ja/self-host/use-dify/workspace/team-members-management"},{"title":"個人設定","href":"/ja/self-host/use-dify/workspace/personal-account-management"}]}]},{"tab":"学習","icon":"graduation-cap","pages":[{"title":"主要な概念","href":"/ja/learn/key-concepts"},{"group":"チュートリアル","pages":[{"title":"30 分間クイックスタート","href":"/ja/quick-start"},{"group":"ワークフロー 101","pages":[{"title":"レッスン 1:ワークフローとは?","href":"/ja/learn/tutorials/workflow-101/lesson-01"},{"title":"レッスン 2:フローの頭と尾(開始ノードと出力ノード)","sidebarTitle":"レッスン 2:フローの頭と尾","href":"/ja/learn/tutorials/workflow-101/lesson-02"},{"title":"レッスン 3:ワークフローの頭脳(LLM ノード)","sidebarTitle":"レッスン 3:ワークフローの頭脳","href":"/ja/learn/tutorials/workflow-101/lesson-03"},{"title":"レッスン 4:カンニングペーパー(ナレッジ検索)","sidebarTitle":"レッスン 4:カンニングペーパー","href":"/ja/learn/tutorials/workflow-101/lesson-04"},{"title":"レッスン 5:ワークフローの分岐点(分類と実行)","sidebarTitle":"レッスン 5:ワークフローの分岐点","href":"/ja/learn/tutorials/workflow-101/lesson-05"},{"title":"レッスン 6:複数のタスクを処理する(パラメータ抽出 \u0026 イテレーション)","sidebarTitle":"レッスン 6:複数のタスクを処理する","href":"/ja/learn/tutorials/workflow-101/lesson-06"},{"title":"レッスン 7:ワークフローを強化する(ツール)","sidebarTitle":"レッスン 7:ワークフローを強化する","href":"/ja/learn/tutorials/workflow-101/lesson-07"},{"title":"レッスン 8:エージェントノード","sidebarTitle":"レッスン 8:エージェントノード","href":"/ja/learn/tutorials/workflow-101/lesson-08"},{"title":"レッスン 9:レイアウトデザイナー(テンプレート)","sidebarTitle":"レッスン 9:レイアウトデザイナー","href":"/ja/learn/tutorials/workflow-101/lesson-09"},{"title":"レッスン 10:AI アプリを公開してモニタリングする","sidebarTitle":"レッスン 10:公開とモニタリング","href":"/ja/learn/tutorials/workflow-101/lesson-10"}]},{"title":"シンプルなチャットボット","href":"/ja/learn/tutorials/simple-chatbot"},{"title":"チャットストリームエージェントを使用した Twitter アカウントの分析方法","href":"/ja/learn/tutorials/twitter-chatflow"},{"title":"知識ベースを使用したカスタマーサービスボット","href":"/ja/learn/tutorials/customer-service-bot"},{"title":"ゼロから AI 画像生成アプリの構築方法","href":"/ja/learn/tutorials/build-ai-image-generation-app"},{"title":"ファイルアップロードを使用した記事理解アシスタントの構築方法","href":"/ja/learn/tutorials/article-reader"}]}]},{"tab":"開発者リソース","icon":"code","menu":[{"item":"API","icon":"code","groups":[{"group":"ガイド","pages":[{"title":"Dify API クイックスタート","sidebarTitle":"クイックスタート","href":"/ja/api-reference/guides/get-started"},{"group":"API 概要","expanded":true,"pages":[{"title":"Chatflow アプリ API","sidebarTitle":"Chatflow","href":"/ja/api-reference/guides/chatflow"},{"title":"Workflow アプリ API","sidebarTitle":"Workflow","href":"/ja/api-reference/guides/workflow"},{"title":"Agent API","sidebarTitle":"Agent","tag":"New","href":"/ja/api-reference/guides/agent"},{"group":"ナレッジベース","root":{"title":"ナレッジベース API","sidebarTitle":"ナレッジベース","href":"/ja/api-reference/guides/knowledge-base-api"},"pages":[{"title":"Agent ナレッジベース API","tag":"Cloud","sidebarTitle":"Agent ナレッジベース","href":"/ja/api-reference/guides/knowledge-base"},{"title":"従来型ナレッジベース API","sidebarTitle":"従来型ナレッジベース","href":"/ja/api-reference/guides/knowledge"}]},{"title":"チャットアプリ API","sidebarTitle":"Chatbotとレガシー Agent","href":"/ja/api-reference/guides/chat"},{"title":"テキストジェネレーターアプリ API","sidebarTitle":"テキストジェネレーター","href":"/ja/api-reference/guides/completion"}]},{"title":"ストリーミングレスポンスの処理","sidebarTitle":"SSE ストリーミング","href":"/ja/api-reference/guides/streaming"},{"title":"人間の入力 API 連携フロー","sidebarTitle":"人間の入力フロー","href":"/ja/api-reference/guides/human-input-flow"},{"title":"エンドユーザーの識別","sidebarTitle":"エンドユーザーの識別","href":"/ja/api-reference/guides/end-user-identity"},{"title":"エラーとレート制限の処理","sidebarTitle":"エラーとレート制限","href":"/ja/api-reference/guides/errors"}]},{"group":"アプリ API","pages":[{"group":"チャットメッセージ","pages":[{"title":"チャットメッセージを送信","deprecated":null,"version":null,"sidebarTitle":"チャットメッセージを送信","openapi":"/ja/api-reference/openapi_service.json post /chat-messages","href":"/ja/api-reference/chat-messages/send-chat-message"},{"title":"生成を停止","deprecated":null,"version":null,"sidebarTitle":"生成を停止","openapi":"/ja/api-reference/openapi_service.json post /chat-messages/{task_id}/stop","href":"/ja/api-reference/chat-messages/stop-chat-message-generation"},{"title":"次の推奨質問を取得","deprecated":null,"version":null,"sidebarTitle":"次の推奨質問を取得","openapi":"/ja/api-reference/openapi_service.json get /messages/{message_id}/suggested","href":"/ja/api-reference/chat-messages/get-next-suggested-questions"}]},{"group":"完了メッセージ","pages":[{"title":"完了メッセージを送信","deprecated":null,"version":null,"sidebarTitle":"完了メッセージを送信","openapi":"/ja/api-reference/openapi_service.json post /completion-messages","href":"/ja/api-reference/completion-messages/send-completion-message"},{"title":"生成を停止","deprecated":null,"version":null,"sidebarTitle":"生成を停止","openapi":"/ja/api-reference/openapi_service.json post /completion-messages/{task_id}/stop","href":"/ja/api-reference/completion-messages/stop-completion-message-generation"}]},{"group":"ワークフロー実行","pages":[{"title":"ワークフローを実行","deprecated":null,"version":null,"sidebarTitle":"ワークフローを実行","openapi":"/ja/api-reference/openapi_service.json post /workflows/run","href":"/ja/api-reference/workflow-runs/run-workflow"},{"title":"ID でワークフローを実行","deprecated":null,"version":null,"sidebarTitle":"ID でワークフローを実行","openapi":"/ja/api-reference/openapi_service.json post /workflows/{workflow_id}/run","href":"/ja/api-reference/workflow-runs/run-workflow-by-id"},{"title":"ワークフロータスクを停止","deprecated":null,"version":null,"sidebarTitle":"ワークフロータスクを停止","openapi":"/ja/api-reference/openapi_service.json post /workflows/tasks/{task_id}/stop","href":"/ja/api-reference/workflow-runs/stop-workflow-task"},{"title":"ワークフロー実行詳細を取得","deprecated":null,"version":null,"sidebarTitle":"ワークフロー実行詳細を取得","openapi":"/ja/api-reference/openapi_service.json get /workflows/run/{workflow_run_id}","href":"/ja/api-reference/workflow-runs/get-workflow-run-detail"},{"title":"ワークフローログ一覧を取得","deprecated":null,"version":null,"sidebarTitle":"ワークフローログ一覧を取得","openapi":"/ja/api-reference/openapi_service.json get /workflows/logs","href":"/ja/api-reference/workflow-runs/list-workflow-logs"},{"title":"ワークフローイベントをストリーム","deprecated":null,"version":null,"sidebarTitle":"ワークフローイベントをストリーム","openapi":"/ja/api-reference/openapi_service.json get /workflow/{workflow_run_id}/events","href":"/ja/api-reference/workflow-runs/stream-workflow-events"}]},{"group":"会話管理","pages":[{"title":"会話一覧を取得","deprecated":null,"version":null,"sidebarTitle":"会話一覧を取得","openapi":"/ja/api-reference/openapi_service.json get /conversations","href":"/ja/api-reference/conversations/list-conversations"},{"title":"会話履歴メッセージ一覧を取得","deprecated":null,"version":null,"sidebarTitle":"会話履歴メッセージ一覧を取得","openapi":"/ja/api-reference/openapi_service.json get /messages","href":"/ja/api-reference/conversations/list-conversation-messages"},{"title":"会話変数の取得","deprecated":null,"version":null,"sidebarTitle":"会話変数の取得","openapi":"/ja/api-reference/openapi_service.json get /conversations/{conversation_id}/variables","href":"/ja/api-reference/conversations/list-conversation-variables"},{"title":"会話の名前を変更","deprecated":null,"version":null,"sidebarTitle":"会話の名前を変更","openapi":"/ja/api-reference/openapi_service.json post /conversations/{conversation_id}/name","href":"/ja/api-reference/conversations/rename-conversation"},{"title":"会話変数を更新","deprecated":null,"version":null,"sidebarTitle":"会話変数を更新","openapi":"/ja/api-reference/openapi_service.json put /conversations/{conversation_id}/variables/{variable_id}","href":"/ja/api-reference/conversations/update-conversation-variable"},{"title":"会話を削除","deprecated":null,"version":null,"sidebarTitle":"会話を削除","openapi":"/ja/api-reference/openapi_service.json delete /conversations/{conversation_id}","href":"/ja/api-reference/conversations/delete-conversation"}]},{"group":"ファイル操作","pages":[{"title":"ファイルをアップロード","deprecated":null,"version":null,"sidebarTitle":"ファイルをアップロード","openapi":"/ja/api-reference/openapi_service.json post /files/upload","href":"/ja/api-reference/files/upload-file"},{"title":"ファイルをダウンロード","deprecated":null,"version":null,"sidebarTitle":"ファイルをダウンロード","openapi":"/ja/api-reference/openapi_service.json get /files/{file_id}/preview","href":"/ja/api-reference/files/download-file"}]},{"group":"音声・テキスト変換","pages":[{"title":"音声をテキストに変換","deprecated":null,"version":null,"sidebarTitle":"音声をテキストに変換","openapi":"/ja/api-reference/openapi_service.json post /audio-to-text","href":"/ja/api-reference/audio/convert-audio-to-text"},{"title":"テキストを音声に変換","deprecated":null,"version":null,"sidebarTitle":"テキストを音声に変換","openapi":"/ja/api-reference/openapi_service.json post /text-to-audio","href":"/ja/api-reference/audio/convert-text-to-audio"}]},{"group":"アプリケーション設定","pages":[{"title":"アプリケーションの基本情報を取得","deprecated":null,"version":null,"sidebarTitle":"アプリケーションの基本情報を取得","openapi":"/ja/api-reference/openapi_service.json get /info","href":"/ja/api-reference/applications/get-app-info"},{"title":"アプリケーションのパラメータ情報を取得","deprecated":null,"version":null,"sidebarTitle":"アプリケーションのパラメータ情報を取得","openapi":"/ja/api-reference/openapi_service.json get /parameters","href":"/ja/api-reference/applications/get-app-parameters"},{"title":"アプリケーションのメタ情報を取得","deprecated":null,"version":null,"sidebarTitle":"アプリケーションのメタ情報を取得","openapi":"/ja/api-reference/openapi_service.json get /meta","href":"/ja/api-reference/applications/get-app-meta"},{"title":"アプリの WebApp 設定を取得","deprecated":null,"version":null,"sidebarTitle":"アプリの WebApp 設定を取得","openapi":"/ja/api-reference/openapi_service.json get /site","href":"/ja/api-reference/applications/get-app-webapp-settings"}]},{"group":"メッセージフィードバック","pages":[{"title":"メッセージフィードバックを送信","deprecated":null,"version":null,"sidebarTitle":"メッセージフィードバックを送信","openapi":"/ja/api-reference/openapi_service.json post /messages/{message_id}/feedbacks","href":"/ja/api-reference/feedback/submit-message-feedback"},{"title":"アプリのフィードバック一覧を取得","deprecated":null,"version":null,"sidebarTitle":"アプリのフィードバック一覧を取得","openapi":"/ja/api-reference/openapi_service.json get /app/feedbacks","href":"/ja/api-reference/feedback/list-app-feedbacks"}]},{"group":"アノテーション管理","pages":[{"title":"アノテーションを作成","deprecated":null,"version":null,"sidebarTitle":"アノテーションを作成","openapi":"/ja/api-reference/openapi_service.json post /apps/annotations","href":"/ja/api-reference/annotations/create-annotation"},{"title":"アノテーションリストを取得","deprecated":null,"version":null,"sidebarTitle":"アノテーションリストを取得","openapi":"/ja/api-reference/openapi_service.json get /apps/annotations","href":"/ja/api-reference/annotations/list-annotations"},{"title":"アノテーションを更新","deprecated":null,"version":null,"sidebarTitle":"アノテーションを更新","openapi":"/ja/api-reference/openapi_service.json put /apps/annotations/{annotation_id}","href":"/ja/api-reference/annotations/update-annotation"},{"title":"アノテーションを削除","deprecated":null,"version":null,"sidebarTitle":"アノテーションを削除","openapi":"/ja/api-reference/openapi_service.json delete /apps/annotations/{annotation_id}","href":"/ja/api-reference/annotations/delete-annotation"},{"title":"アノテーション返信を設定","deprecated":null,"version":null,"sidebarTitle":"アノテーション返信を設定","openapi":"/ja/api-reference/openapi_service.json post /apps/annotation-reply/{action}","href":"/ja/api-reference/annotations/configure-annotation-reply"},{"title":"アノテーション返信の初期設定タスクステータスを取得","deprecated":null,"version":null,"sidebarTitle":"アノテーション返信の初期設定タスクステータスを取得","openapi":"/ja/api-reference/openapi_service.json get /apps/annotation-reply/{action}/status/{job_id}","href":"/ja/api-reference/annotations/get-annotation-reply-job-status"}]},{"group":"エンドユーザー","pages":[{"title":"エンドユーザー取得","deprecated":null,"version":null,"sidebarTitle":"エンドユーザー取得","openapi":"/ja/api-reference/openapi_service.json get /end-users/{end_user_id}","href":"/ja/api-reference/end-users/get-end-user-info"}]},{"group":"人間の入力","pages":[{"title":"人間の入力フォームを取得","deprecated":null,"version":null,"sidebarTitle":"人間の入力フォームを取得","openapi":"/ja/api-reference/openapi_service.json get /form/human_input/{form_token}","href":"/ja/api-reference/human-input/get-human-input-form"},{"title":"人間の入力フォームを送信","deprecated":null,"version":null,"sidebarTitle":"人間の入力フォームを送信","openapi":"/ja/api-reference/openapi_service.json post /form/human_input/{form_token}","href":"/ja/api-reference/human-input/submit-human-input-form"}]}]},{"group":"ナレッジ API","pages":[{"group":"Agent ナレッジベース","tag":"Cloud","pages":[{"group":"クエリ","pages":[{"title":"クエリトークンを作成","deprecated":null,"version":null,"sidebarTitle":"クエリトークンを作成","openapi":"/ja/api-reference/openapi_service.json post /knowledge-fs/spaces/{knowledge_base_id}/queries/admission","href":"/ja/api-reference/queries/create-query-token"},{"title":"クエリを実行","deprecated":null,"version":null,"sidebarTitle":"クエリを実行","openapi":"/ja/api-reference/openapi_service.json post /knowledge-fs/query-stream","href":"/ja/api-reference/queries/run-query"}]},{"group":"クエリ記録","pages":[{"title":"クエリ記録一覧を取得","deprecated":null,"version":null,"sidebarTitle":"クエリ記録一覧を取得","openapi":"/ja/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/traces","href":"/ja/api-reference/query-records/list-query-records"},{"title":"クエリ記録を取得","deprecated":null,"version":null,"sidebarTitle":"クエリ記録を取得","openapi":"/ja/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/traces/{query_record_id}","href":"/ja/api-reference/query-records/get-query-record"},{"title":"クエリのチャンク一覧を取得","deprecated":null,"version":null,"sidebarTitle":"クエリのチャンク一覧を取得","openapi":"/ja/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/traces/{query_record_id}/evidence","href":"/ja/api-reference/query-records/list-query-chunks"},{"title":"クエリの矛盾一覧を取得","deprecated":null,"version":null,"sidebarTitle":"クエリの矛盾一覧を取得","openapi":"/ja/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/traces/{query_record_id}/conflicts","href":"/ja/api-reference/query-records/list-query-conflicts"},{"title":"欠落チャンク一覧を取得","deprecated":null,"version":null,"sidebarTitle":"欠落チャンク一覧を取得","openapi":"/ja/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/traces/{query_record_id}/missing","href":"/ja/api-reference/query-records/list-missing-chunks"}]},{"group":"リサーチタスク","pages":[{"title":"リサーチタスク一覧を取得","deprecated":null,"version":null,"sidebarTitle":"リサーチタスク一覧を取得","openapi":"/ja/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/research-tasks","href":"/ja/api-reference/research-tasks/list-research-tasks"},{"title":"リサーチタスクを作成","deprecated":null,"version":null,"sidebarTitle":"リサーチタスクを作成","openapi":"/ja/api-reference/openapi_service.json post /knowledge-fs/spaces/{knowledge_base_id}/research-tasks","href":"/ja/api-reference/research-tasks/create-research-task"},{"title":"リサーチタスクを計画","deprecated":null,"version":null,"sidebarTitle":"リサーチタスクを計画","openapi":"/ja/api-reference/openapi_service.json post /knowledge-fs/spaces/{knowledge_base_id}/research-tasks/plan","href":"/ja/api-reference/research-tasks/plan-research-task"},{"title":"リサーチタスクを取得","deprecated":null,"version":null,"sidebarTitle":"リサーチタスクを取得","openapi":"/ja/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/research-tasks/{research_task_id}","href":"/ja/api-reference/research-tasks/get-research-task"},{"title":"リサーチタスクをキャンセル","deprecated":null,"version":null,"sidebarTitle":"リサーチタスクをキャンセル","openapi":"/ja/api-reference/openapi_service.json delete /knowledge-fs/spaces/{knowledge_base_id}/research-tasks/{research_task_id}","href":"/ja/api-reference/research-tasks/cancel-research-task"},{"title":"リサーチタスクの結果一覧を取得","deprecated":null,"version":null,"sidebarTitle":"リサーチタスクの結果一覧を取得","openapi":"/ja/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/research-tasks/{research_task_id}/partials","href":"/ja/api-reference/research-tasks/list-research-task-results"}]},{"group":"ドキュメントとチャンク","pages":[{"title":"ドキュメント一覧を取得","deprecated":null,"version":null,"sidebarTitle":"ドキュメント一覧を取得","openapi":"/ja/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/logical-documents","href":"/ja/api-reference/documents-and-chunks/list-documents"},{"title":"ドキュメントを取得","deprecated":null,"version":null,"sidebarTitle":"ドキュメントを取得","openapi":"/ja/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/logical-documents/{document_id}","href":"/ja/api-reference/documents-and-chunks/get-document"},{"title":"ドキュメントメタデータを更新","deprecated":null,"version":null,"sidebarTitle":"ドキュメントメタデータを更新","openapi":"/ja/api-reference/openapi_service.json patch /knowledge-fs/spaces/{knowledge_base_id}/documents/{document_file_id}","href":"/ja/api-reference/documents-and-chunks/update-document-metadata"},{"title":"ファイルからドキュメントを取得","deprecated":null,"version":null,"sidebarTitle":"ファイルからドキュメントを取得","openapi":"/ja/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/document-references/resolve","href":"/ja/api-reference/documents-and-chunks/get-document-by-file"},{"title":"ドキュメントファイル一覧を取得","deprecated":null,"version":null,"sidebarTitle":"ドキュメントファイル一覧を取得","openapi":"/ja/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/documents","href":"/ja/api-reference/documents-and-chunks/list-document-files"},{"title":"ドキュメントファイルを取得","deprecated":null,"version":null,"sidebarTitle":"ドキュメントファイルを取得","openapi":"/ja/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/documents/{document_file_id}","href":"/ja/api-reference/documents-and-chunks/get-document-file"},{"title":"ドキュメントファイルを削除","deprecated":null,"version":null,"sidebarTitle":"ドキュメントファイルを削除","openapi":"/ja/api-reference/openapi_service.json delete /knowledge-fs/spaces/{knowledge_base_id}/documents/{document_file_id}","href":"/ja/api-reference/documents-and-chunks/delete-document-file"},{"title":"ドキュメントのアウトラインを取得","deprecated":null,"version":null,"sidebarTitle":"ドキュメントのアウトラインを取得","openapi":"/ja/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/documents/{document_file_id}/outline","href":"/ja/api-reference/documents-and-chunks/get-document-outline"},{"title":"ドキュメントリビジョン一覧を取得","deprecated":null,"version":null,"sidebarTitle":"ドキュメントリビジョン一覧を取得","openapi":"/ja/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/documents/{document_id}/revisions","href":"/ja/api-reference/documents-and-chunks/list-document-revisions"},{"title":"チャンク一覧を取得","deprecated":null,"version":null,"sidebarTitle":"チャンク一覧を取得","openapi":"/ja/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/documents/{document_id}/revisions/{revision}/chunks","href":"/ja/api-reference/documents-and-chunks/list-chunks"},{"title":"チャンクを取得","deprecated":null,"version":null,"sidebarTitle":"チャンクを取得","openapi":"/ja/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/documents/{document_id}/revisions/{revision}/chunks/{chunk_id}","href":"/ja/api-reference/documents-and-chunks/get-chunk"},{"title":"ドキュメントファイルを一括削除","deprecated":null,"version":null,"sidebarTitle":"ドキュメントファイルを一括削除","openapi":"/ja/api-reference/openapi_service.json delete /knowledge-fs/spaces/{knowledge_base_id}/documents/bulk","href":"/ja/api-reference/documents-and-chunks/delete-document-files-in-batch"},{"title":"ドキュメントを再インデックス","deprecated":null,"version":null,"sidebarTitle":"ドキュメントを再インデックス","openapi":"/ja/api-reference/openapi_service.json post /knowledge-fs/spaces/{knowledge_base_id}/documents/reindex","href":"/ja/api-reference/documents-and-chunks/re-index-documents"}]},{"group":"インデックスタスク","pages":[{"title":"インデックスタスクを取得","deprecated":null,"version":null,"sidebarTitle":"インデックスタスクを取得","openapi":"/ja/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/jobs/{task_id}","href":"/ja/api-reference/indexing-tasks/get-indexing-task"},{"title":"インデックスタスクをキャンセル","deprecated":null,"version":null,"sidebarTitle":"インデックスタスクをキャンセル","openapi":"/ja/api-reference/openapi_service.json delete /knowledge-fs/spaces/{knowledge_base_id}/jobs/{task_id}","href":"/ja/api-reference/indexing-tasks/cancel-indexing-task"},{"title":"インデックスタスクを再試行","deprecated":null,"version":null,"sidebarTitle":"インデックスタスクを再試行","openapi":"/ja/api-reference/openapi_service.json post /knowledge-fs/spaces/{knowledge_base_id}/jobs/{task_id}/retry","href":"/ja/api-reference/indexing-tasks/retry-indexing-task"},{"title":"一括タスクを取得","deprecated":null,"version":null,"sidebarTitle":"一括タスクを取得","openapi":"/ja/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/bulk-jobs/{bulk_task_id}","href":"/ja/api-reference/indexing-tasks/get-bulk-task"},{"title":"ドキュメントのインデックスタスク一覧を取得","deprecated":null,"version":null,"sidebarTitle":"ドキュメントのインデックスタスク一覧を取得","openapi":"/ja/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/logical-documents/{document_id}/processing-tasks","href":"/ja/api-reference/indexing-tasks/list-document-indexing-tasks"},{"title":"ドキュメントのインデックスタスクを取得","deprecated":null,"version":null,"sidebarTitle":"ドキュメントのインデックスタスクを取得","openapi":"/ja/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/logical-documents/{document_id}/processing-tasks/{task_id}","href":"/ja/api-reference/indexing-tasks/get-document-indexing-task"},{"title":"バックグラウンドタスク一覧を取得","deprecated":null,"version":null,"sidebarTitle":"バックグラウンドタスク一覧を取得","openapi":"/ja/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/background-tasks","href":"/ja/api-reference/indexing-tasks/list-background-tasks"}]},{"group":"削除ジョブ","pages":[{"title":"削除ジョブを取得","deprecated":null,"version":null,"sidebarTitle":"削除ジョブを取得","openapi":"/ja/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/deletion-jobs/{deletion_job_id}","href":"/ja/api-reference/deletion-jobs/get-deletion-job"},{"title":"削除バッチを取得","deprecated":null,"version":null,"sidebarTitle":"削除バッチを取得","openapi":"/ja/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/deletion-batches/{deletion_batch_id}","href":"/ja/api-reference/deletion-jobs/get-deletion-batch"}]},{"group":"ソース","pages":[{"title":"ソースの接続一覧を取得","deprecated":null,"version":null,"sidebarTitle":"ソースの接続一覧を取得","openapi":"/ja/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/source-connections","href":"/ja/api-reference/sources/list-source-connections"},{"title":"ソースを作成","deprecated":null,"version":null,"sidebarTitle":"ソースを作成","openapi":"/ja/api-reference/openapi_service.json post /knowledge-fs/spaces/{knowledge_base_id}/sources","href":"/ja/api-reference/sources/create-source"},{"title":"ソース一覧を取得","deprecated":null,"version":null,"sidebarTitle":"ソース一覧を取得","openapi":"/ja/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/sources","href":"/ja/api-reference/sources/list-sources"},{"title":"ソースを取得","deprecated":null,"version":null,"sidebarTitle":"ソースを取得","openapi":"/ja/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/sources/{source_id}","href":"/ja/api-reference/sources/get-source"},{"title":"ソースを更新","deprecated":null,"version":null,"sidebarTitle":"ソースを更新","openapi":"/ja/api-reference/openapi_service.json patch /knowledge-fs/spaces/{knowledge_base_id}/sources/{source_id}","href":"/ja/api-reference/sources/update-source"},{"title":"ソースを削除","deprecated":null,"version":null,"sidebarTitle":"ソースを削除","openapi":"/ja/api-reference/openapi_service.json delete /knowledge-fs/spaces/{knowledge_base_id}/sources/{source_id}","href":"/ja/api-reference/sources/delete-source"},{"title":"ソースの認証情報をテスト","deprecated":null,"version":null,"sidebarTitle":"ソースの認証情報をテスト","openapi":"/ja/api-reference/openapi_service.json post /knowledge-fs/spaces/{knowledge_base_id}/sources/{source_id}/test","href":"/ja/api-reference/sources/test-source-credentials"},{"title":"ソースのページ一覧を取得","deprecated":null,"version":null,"sidebarTitle":"ソースのページ一覧を取得","openapi":"/ja/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/sources/{source_id}/pages","href":"/ja/api-reference/sources/list-source-pages"},{"title":"ソースのファイル一覧を取得","deprecated":null,"version":null,"sidebarTitle":"ソースのファイル一覧を取得","openapi":"/ja/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/sources/{source_id}/files","href":"/ja/api-reference/sources/list-source-files"},{"title":"同期ポリシーを取得","deprecated":null,"version":null,"sidebarTitle":"同期ポリシーを取得","openapi":"/ja/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/sources/{source_id}/sync-policy","href":"/ja/api-reference/sources/get-sync-policy"},{"title":"同期ポリシーを更新","deprecated":null,"version":null,"sidebarTitle":"同期ポリシーを更新","openapi":"/ja/api-reference/openapi_service.json put /knowledge-fs/spaces/{knowledge_base_id}/sources/{source_id}/sync-policy","href":"/ja/api-reference/sources/update-sync-policy"}]},{"group":"ソースの同期とインポート","pages":[{"title":"ソースを同期","deprecated":null,"version":null,"sidebarTitle":"ソースを同期","openapi":"/ja/api-reference/openapi_service.json post /knowledge-fs/spaces/{knowledge_base_id}/sources/{source_id}/sync","href":"/ja/api-reference/source-syncs-and-imports/sync-source"},{"title":"ウェブサイトのクロールをプレビュー","deprecated":null,"version":null,"sidebarTitle":"ウェブサイトのクロールをプレビュー","openapi":"/ja/api-reference/openapi_service.json post /knowledge-fs/spaces/{knowledge_base_id}/sources/{source_id}/crawl-preview","href":"/ja/api-reference/source-syncs-and-imports/preview-website-crawl"},{"title":"クロールプレビューのページ一覧を取得","deprecated":null,"version":null,"sidebarTitle":"クロールプレビューのページ一覧を取得","openapi":"/ja/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/source-workflows/{run_id}/pages","href":"/ja/api-reference/source-syncs-and-imports/list-crawl-preview-pages"},{"title":"選択したページをインポート","deprecated":null,"version":null,"sidebarTitle":"選択したページをインポート","openapi":"/ja/api-reference/openapi_service.json post /knowledge-fs/spaces/{knowledge_base_id}/source-workflows/{run_id}/selection","href":"/ja/api-reference/source-syncs-and-imports/import-selected-pages"},{"title":"ウェブサイトのページをインポート","deprecated":null,"version":null,"sidebarTitle":"ウェブサイトのページをインポート","openapi":"/ja/api-reference/openapi_service.json post /knowledge-fs/spaces/{knowledge_base_id}/sources/{source_id}/crawl-import","href":"/ja/api-reference/source-syncs-and-imports/import-website-pages"},{"title":"ソースのアイテムをインポート","deprecated":null,"version":null,"sidebarTitle":"ソースのアイテムをインポート","openapi":"/ja/api-reference/openapi_service.json post /knowledge-fs/spaces/{knowledge_base_id}/sources/{source_id}/workflow-imports","href":"/ja/api-reference/source-syncs-and-imports/import-source-items"},{"title":"ソースの実行一覧を取得","deprecated":null,"version":null,"sidebarTitle":"ソースの実行一覧を取得","openapi":"/ja/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/source-workflows","href":"/ja/api-reference/source-syncs-and-imports/list-source-runs"},{"title":"ソースの実行を取得","deprecated":null,"version":null,"sidebarTitle":"ソースの実行を取得","openapi":"/ja/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/source-workflows/{run_id}","href":"/ja/api-reference/source-syncs-and-imports/get-source-run"},{"title":"ソースの実行をキャンセル","deprecated":null,"version":null,"sidebarTitle":"ソースの実行をキャンセル","openapi":"/ja/api-reference/openapi_service.json post /knowledge-fs/spaces/{knowledge_base_id}/source-workflows/{run_id}/cancel","href":"/ja/api-reference/source-syncs-and-imports/cancel-source-run"},{"title":"ソースの実行を再試行","deprecated":null,"version":null,"sidebarTitle":"ソースの実行を再試行","openapi":"/ja/api-reference/openapi_service.json post /knowledge-fs/spaces/{knowledge_base_id}/source-workflows/{run_id}/retry","href":"/ja/api-reference/source-syncs-and-imports/retry-source-run"}]},{"group":"設定","pages":[{"title":"ナレッジベース設定を取得","deprecated":null,"version":null,"sidebarTitle":"ナレッジベース設定を取得","openapi":"/ja/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/settings","href":"/ja/api-reference/settings/get-knowledge-base-settings"},{"title":"ナレッジベース設定を更新","deprecated":null,"version":null,"sidebarTitle":"ナレッジベース設定を更新","openapi":"/ja/api-reference/openapi_service.json patch /knowledge-fs/spaces/{knowledge_base_id}/settings","href":"/ja/api-reference/settings/update-knowledge-base-settings"},{"title":"設定の移行を取得","deprecated":null,"version":null,"sidebarTitle":"設定の移行を取得","openapi":"/ja/api-reference/openapi_service.json get /knowledge-fs/spaces/{knowledge_base_id}/settings/migrations/{migration_id}","href":"/ja/api-reference/settings/get-settings-migration"}]}]},{"group":"従来型ナレッジベース","pages":[{"group":"ナレッジベース","pages":[{"title":"空のナレッジベースを作成","deprecated":null,"version":null,"sidebarTitle":"空のナレッジベースを作成","openapi":"/ja/api-reference/openapi_service.json post /datasets","href":"/ja/api-reference/knowledge-bases/create-an-empty-knowledge-base"},{"title":"ナレッジベースリストを取得","deprecated":null,"version":null,"sidebarTitle":"ナレッジベースリストを取得","openapi":"/ja/api-reference/openapi_service.json get /datasets","href":"/ja/api-reference/knowledge-bases/list-knowledge-bases"},{"title":"ナレッジベース詳細を取得","deprecated":null,"version":null,"sidebarTitle":"ナレッジベース詳細を取得","openapi":"/ja/api-reference/openapi_service.json get /datasets/{dataset_id}","href":"/ja/api-reference/knowledge-bases/get-knowledge-base"},{"title":"ナレッジベースを更新","deprecated":null,"version":null,"sidebarTitle":"ナレッジベースを更新","openapi":"/ja/api-reference/openapi_service.json patch /datasets/{dataset_id}","href":"/ja/api-reference/knowledge-bases/update-knowledge-base"},{"title":"ナレッジベースを削除","deprecated":null,"version":null,"sidebarTitle":"ナレッジベースを削除","openapi":"/ja/api-reference/openapi_service.json delete /datasets/{dataset_id}","href":"/ja/api-reference/knowledge-bases/delete-knowledge-base"},{"title":"ナレッジベースからチャンクを取得 / テスト検索","deprecated":null,"version":null,"sidebarTitle":"ナレッジベースからチャンクを取得 / テスト検索","openapi":"/ja/api-reference/openapi_service.json post /datasets/{dataset_id}/retrieve","href":"/ja/api-reference/knowledge-bases/retrieve-chunks-from-a-knowledge-base-test-retrieval"}]},{"group":"ドキュメント","pages":[{"title":"テキストからドキュメントを作成","deprecated":null,"version":null,"sidebarTitle":"テキストからドキュメントを作成","openapi":"/ja/api-reference/openapi_service.json post /datasets/{dataset_id}/document/create-by-text","href":"/ja/api-reference/documents/create-document-by-text"},{"title":"ファイルからドキュメントを作成","deprecated":null,"version":null,"sidebarTitle":"ファイルからドキュメントを作成","openapi":"/ja/api-reference/openapi_service.json post /datasets/{dataset_id}/document/create-by-file","href":"/ja/api-reference/documents/create-document-by-file"},{"title":"ナレッジベースのドキュメントリストを取得","deprecated":null,"version":null,"sidebarTitle":"ナレッジベースのドキュメントリストを取得","openapi":"/ja/api-reference/openapi_service.json get /datasets/{dataset_id}/documents","href":"/ja/api-reference/documents/list-documents"},{"title":"ドキュメント詳細を取得","deprecated":null,"version":null,"sidebarTitle":"ドキュメント詳細を取得","openapi":"/ja/api-reference/openapi_service.json get /datasets/{dataset_id}/documents/{document_id}","href":"/ja/api-reference/documents/get-document"},{"title":"ドキュメントを削除","deprecated":null,"version":null,"sidebarTitle":"ドキュメントを削除","openapi":"/ja/api-reference/openapi_service.json delete /datasets/{dataset_id}/documents/{document_id}","href":"/ja/api-reference/documents/delete-document"},{"title":"ドキュメントを更新","deprecated":null,"version":null,"sidebarTitle":"ドキュメントを更新","openapi":"/ja/api-reference/openapi_service.json patch /datasets/{dataset_id}/documents/{document_id}","href":"/ja/api-reference/documents/update-document"},{"title":"ドキュメントをダウンロード","deprecated":null,"version":null,"sidebarTitle":"ドキュメントをダウンロード","openapi":"/ja/api-reference/openapi_service.json get /datasets/{dataset_id}/documents/{document_id}/download","href":"/ja/api-reference/documents/download-document"},{"title":"ドキュメント埋め込みステータス(進捗)を取得","deprecated":null,"version":null,"sidebarTitle":"ドキュメント埋め込みステータス(進捗)を取得","openapi":"/ja/api-reference/openapi_service.json get /datasets/{dataset_id}/documents/{batch}/indexing-status","href":"/ja/api-reference/documents/get-document-indexing-status"},{"title":"テキストでドキュメントを更新","deprecated":null,"version":null,"sidebarTitle":"テキストでドキュメントを更新","openapi":"/ja/api-reference/openapi_service.json post /datasets/{dataset_id}/documents/{document_id}/update-by-text","href":"/ja/api-reference/documents/update-document-by-text"},{"title":"ファイルでドキュメントを更新","deprecated":true,"version":null,"sidebarTitle":"ファイルでドキュメントを更新","openapi":"/ja/api-reference/openapi_service.json post /datasets/{dataset_id}/documents/{document_id}/update-by-file","href":"/ja/api-reference/documents/update-document-by-file"},{"title":"ドキュメントを一括ダウンロード(ZIP)","deprecated":null,"version":null,"sidebarTitle":"ドキュメントを一括ダウンロード(ZIP)","openapi":"/ja/api-reference/openapi_service.json post /datasets/{dataset_id}/documents/download-zip","href":"/ja/api-reference/documents/download-documents-as-zip"},{"title":"ドキュメントステータスを一括更新","deprecated":null,"version":null,"sidebarTitle":"ドキュメントステータスを一括更新","openapi":"/ja/api-reference/openapi_service.json patch /datasets/{dataset_id}/documents/status/{action}","href":"/ja/api-reference/documents/update-document-status-in-batch"}]},{"group":"チャンク","pages":[{"title":"ドキュメントにチャンクを追加","deprecated":null,"version":null,"sidebarTitle":"ドキュメントにチャンクを追加","openapi":"/ja/api-reference/openapi_service.json post /datasets/{dataset_id}/documents/{document_id}/segments","href":"/ja/api-reference/chunks/create-chunks"},{"title":"チャンク一覧を取得","deprecated":null,"version":null,"sidebarTitle":"チャンク一覧を取得","openapi":"/ja/api-reference/openapi_service.json get /datasets/{dataset_id}/documents/{document_id}/segments","href":"/ja/api-reference/chunks/list-chunks"},{"title":"ドキュメント内のチャンク詳細を取得","deprecated":null,"version":null,"sidebarTitle":"ドキュメント内のチャンク詳細を取得","openapi":"/ja/api-reference/openapi_service.json get /datasets/{dataset_id}/documents/{document_id}/segments/{segment_id}","href":"/ja/api-reference/chunks/get-chunk"},{"title":"ドキュメント内のチャンクを更新","deprecated":null,"version":null,"sidebarTitle":"ドキュメント内のチャンクを更新","openapi":"/ja/api-reference/openapi_service.json post /datasets/{dataset_id}/documents/{document_id}/segments/{segment_id}","href":"/ja/api-reference/chunks/update-chunk"},{"title":"ドキュメント内のチャンクを削除","deprecated":null,"version":null,"sidebarTitle":"ドキュメント内のチャンクを削除","openapi":"/ja/api-reference/openapi_service.json delete /datasets/{dataset_id}/documents/{document_id}/segments/{segment_id}","href":"/ja/api-reference/chunks/delete-chunk"},{"title":"子チャンクを作成","deprecated":null,"version":null,"sidebarTitle":"子チャンクを作成","openapi":"/ja/api-reference/openapi_service.json post /datasets/{dataset_id}/documents/{document_id}/segments/{segment_id}/child_chunks","href":"/ja/api-reference/chunks/create-child-chunk"},{"title":"子チャンク一覧を取得","deprecated":null,"version":null,"sidebarTitle":"子チャンク一覧を取得","openapi":"/ja/api-reference/openapi_service.json get /datasets/{dataset_id}/documents/{document_id}/segments/{segment_id}/child_chunks","href":"/ja/api-reference/chunks/list-child-chunks"},{"title":"子チャンクを更新","deprecated":null,"version":null,"sidebarTitle":"子チャンクを更新","openapi":"/ja/api-reference/openapi_service.json patch /datasets/{dataset_id}/documents/{document_id}/segments/{segment_id}/child_chunks/{child_chunk_id}","href":"/ja/api-reference/chunks/update-child-chunk"},{"title":"子チャンクを削除","deprecated":null,"version":null,"sidebarTitle":"子チャンクを削除","openapi":"/ja/api-reference/openapi_service.json delete /datasets/{dataset_id}/documents/{document_id}/segments/{segment_id}/child_chunks/{child_chunk_id}","href":"/ja/api-reference/chunks/delete-child-chunk"}]},{"group":"メタデータ","pages":[{"title":"メタデータフィールドを作成","deprecated":null,"version":null,"sidebarTitle":"メタデータフィールドを作成","openapi":"/ja/api-reference/openapi_service.json post /datasets/{dataset_id}/metadata","href":"/ja/api-reference/metadata/create-metadata-field"},{"title":"メタデータフィールドリストを取得","deprecated":null,"version":null,"sidebarTitle":"メタデータフィールドリストを取得","openapi":"/ja/api-reference/openapi_service.json get /datasets/{dataset_id}/metadata","href":"/ja/api-reference/metadata/list-metadata-fields"},{"title":"メタデータフィールドを更新","deprecated":null,"version":null,"sidebarTitle":"メタデータフィールドを更新","openapi":"/ja/api-reference/openapi_service.json patch /datasets/{dataset_id}/metadata/{metadata_id}","href":"/ja/api-reference/metadata/update-metadata-field"},{"title":"メタデータフィールドを削除","deprecated":null,"version":null,"sidebarTitle":"メタデータフィールドを削除","openapi":"/ja/api-reference/openapi_service.json delete /datasets/{dataset_id}/metadata/{metadata_id}","href":"/ja/api-reference/metadata/delete-metadata-field"},{"title":"組み込みメタデータフィールドを取得","deprecated":null,"version":null,"sidebarTitle":"組み込みメタデータフィールドを取得","openapi":"/ja/api-reference/openapi_service.json get /datasets/{dataset_id}/metadata/built-in","href":"/ja/api-reference/metadata/get-built-in-metadata-fields"},{"title":"組み込みメタデータフィールドを更新","deprecated":null,"version":null,"sidebarTitle":"組み込みメタデータフィールドを更新","openapi":"/ja/api-reference/openapi_service.json post /datasets/{dataset_id}/metadata/built-in/{action}","href":"/ja/api-reference/metadata/update-built-in-metadata-field"},{"title":"ドキュメントメタデータを一括更新","deprecated":null,"version":null,"sidebarTitle":"ドキュメントメタデータを一括更新","openapi":"/ja/api-reference/openapi_service.json post /datasets/{dataset_id}/documents/metadata","href":"/ja/api-reference/metadata/update-document-metadata-in-batch"}]},{"group":"タグ管理","pages":[{"title":"ナレッジベースタグを作成","deprecated":null,"version":null,"sidebarTitle":"ナレッジベースタグを作成","openapi":"/ja/api-reference/openapi_service.json post /datasets/tags","href":"/ja/api-reference/tags/create-knowledge-tag"},{"title":"ナレッジベースタグリストを取得","deprecated":null,"version":null,"sidebarTitle":"ナレッジベースタグリストを取得","openapi":"/ja/api-reference/openapi_service.json get /datasets/tags","href":"/ja/api-reference/tags/list-knowledge-tags"},{"title":"ナレッジベースタグを変更","deprecated":null,"version":null,"sidebarTitle":"ナレッジベースタグを変更","openapi":"/ja/api-reference/openapi_service.json patch /datasets/tags","href":"/ja/api-reference/tags/update-knowledge-tag"},{"title":"ナレッジベースタグを削除","deprecated":null,"version":null,"sidebarTitle":"ナレッジベースタグを削除","openapi":"/ja/api-reference/openapi_service.json delete /datasets/tags","href":"/ja/api-reference/tags/delete-knowledge-tag"},{"title":"タグをナレッジベースにバインド","deprecated":null,"version":null,"sidebarTitle":"タグをナレッジベースにバインド","openapi":"/ja/api-reference/openapi_service.json post /datasets/tags/binding","href":"/ja/api-reference/tags/create-tag-binding"},{"title":"タグとナレッジベースのバインドを解除","deprecated":null,"version":null,"sidebarTitle":"タグとナレッジベースのバインドを解除","openapi":"/ja/api-reference/openapi_service.json post /datasets/tags/unbinding","href":"/ja/api-reference/tags/delete-tag-binding"},{"title":"ナレッジベースにバインドされたタグを取得","deprecated":null,"version":null,"sidebarTitle":"ナレッジベースにバインドされたタグを取得","openapi":"/ja/api-reference/openapi_service.json get /datasets/{dataset_id}/tags","href":"/ja/api-reference/tags/get-knowledge-base-tags"}]},{"group":"モデル","pages":[{"title":"利用可能なモデルを取得","deprecated":null,"version":null,"sidebarTitle":"利用可能なモデルを取得","openapi":"/ja/api-reference/openapi_service.json get /workspaces/current/models/model-types/{model_type}","href":"/ja/api-reference/models/get-available-models"}]},{"group":"ナレッジパイプライン","pages":[{"title":"パイプラインファイルをアップロード","deprecated":null,"version":null,"sidebarTitle":"パイプラインファイルをアップロード","openapi":"/ja/api-reference/openapi_service.json post /datasets/pipeline/file-upload","href":"/ja/api-reference/knowledge-pipeline/upload-pipeline-file"},{"title":"データソースプラグインリストを取得","deprecated":null,"version":null,"sidebarTitle":"データソースプラグインリストを取得","openapi":"/ja/api-reference/openapi_service.json get /datasets/{dataset_id}/pipeline/datasource-plugins","href":"/ja/api-reference/knowledge-pipeline/list-datasource-plugins"},{"title":"データソースノードを実行","deprecated":null,"version":null,"sidebarTitle":"データソースノードを実行","openapi":"/ja/api-reference/openapi_service.json post /datasets/{dataset_id}/pipeline/datasource/nodes/{node_id}/run","href":"/ja/api-reference/knowledge-pipeline/run-datasource-node"},{"title":"パイプラインを実行","deprecated":null,"version":null,"sidebarTitle":"パイプラインを実行","openapi":"/ja/api-reference/openapi_service.json post /datasets/{dataset_id}/pipeline/run","href":"/ja/api-reference/knowledge-pipeline/run-pipeline"}]}]}]}]},{"item":"CLI","icon":"terminal","groups":[{"group":" ","expanded":true,"pages":[{"title":"概要","href":"/ja/cli/overview"},{"title":"クイックスタート","href":"/ja/cli/get-started"},{"title":"コマンドの検索と実行","href":"/ja/cli/find-and-run-commands"},{"group":"アプリの操作","expanded":true,"pages":[{"title":"アプリの構築","sidebarTitle":"構築","href":"/ja/cli/build-apps"},{"title":"アプリの実行","sidebarTitle":"実行","href":"/ja/cli/run-apps"},{"title":"DSL ファイルからのアプリの作成と更新","sidebarTitle":"DSL からの作成・更新","href":"/ja/cli/create-and-update-apps-from-dsl-files"},{"title":"CI と自動化での `difyctl` の使用","sidebarTitle":"CI と自動化","href":"/ja/cli/scripts-and-ci"}]},{"group":"difyctl の管理","expanded":true,"pages":[{"title":"サインインの管理","sidebarTitle":"サインインとセッション","href":"/ja/cli/manage-sign-in"},{"title":"difyctl のアップデートとアンインストール","sidebarTitle":"アップデートとアンインストール","href":"/ja/cli/update-or-uninstall"},{"title":"Dify 1.18.0 へのアップグレード","sidebarTitle":"1.18.0 へのアップグレード","href":"/ja/cli/upgrade-across-1-18"}]},{"group":"リファレンス","expanded":true,"pages":[{"title":"コマンド索引","href":"/ja/cli/reference/command-index"},{"title":"結果、エラー、終了コード","sidebarTitle":"結果とエラー","href":"/ja/cli/reference/results-errors-and-exit-codes"},{"title":"設定","href":"/ja/cli/reference/configuration"}]}]}]},{"item":"プラグイン開発","icon":"code-pull-request","pages":[{"group":"クイックスタート","icon":"rocket","pages":[{"title":"Dify プラグイン","href":"/ja/develop-plugin/getting-started/getting-started-dify-plugin"},{"title":"プラグインタイプの選択","href":"/ja/develop-plugin/getting-started/choose-plugin-type"},{"title":"Dify プラグイン CLI","href":"/ja/develop-plugin/getting-started/cli"}]},{"group":"特性と仕様","icon":"list-check","pages":[{"group":"プラグインタイプ","pages":[{"title":"一般仕様","href":"/ja/develop-plugin/features-and-specs/plugin-types/general-specifications"},{"title":"モデル仕様","href":"/ja/develop-plugin/features-and-specs/plugin-types/model-designing-rules"},{"title":"モデル API インターフェース","href":"/ja/develop-plugin/features-and-specs/plugin-types/model-schema"},{"title":"永続ストレージ","href":"/ja/develop-plugin/features-and-specs/plugin-types/persistent-storage-kv"},{"title":"ツールの戻り値","href":"/ja/develop-plugin/features-and-specs/plugin-types/tool"},{"title":"Manifest","href":"/ja/develop-plugin/features-and-specs/plugin-types/plugin-info-by-manifest"},{"title":"多言語 README","href":"/ja/develop-plugin/features-and-specs/plugin-types/multilingual-readme"},{"title":"プラグインのデバッグ","href":"/ja/develop-plugin/features-and-specs/plugin-types/remote-debug-a-plugin"},{"title":"プラグインのロギング","href":"/ja/develop-plugin/features-and-specs/plugin-types/plugin-logging"}]},{"group":"高度な開発","pages":[{"group":"リバース呼び出し","pages":[{"title":"Bundle プラグインパッケージ","href":"/ja/develop-plugin/features-and-specs/advanced-development/bundle"},{"title":"Dify サービスの逆呼び出し","href":"/ja/develop-plugin/features-and-specs/advanced-development/reverse-invocation"},{"title":"App","href":"/ja/develop-plugin/features-and-specs/advanced-development/reverse-invocation-app"},{"title":"モデルの逆呼び出し","href":"/ja/develop-plugin/features-and-specs/advanced-development/reverse-invocation-model"},{"title":"ツール","href":"/ja/develop-plugin/features-and-specs/advanced-development/reverse-invocation-tool"},{"title":"カスタムモデルの統合","href":"/ja/develop-plugin/features-and-specs/advanced-development/customizable-model"},{"title":"ノード","href":"/ja/develop-plugin/features-and-specs/advanced-development/reverse-invocation-node"}]}]}]},{"group":"開発ガイドとサンプル","icon":"code","pages":[{"title":"チートシート","href":"/ja/develop-plugin/dev-guides-and-walkthroughs/cheatsheet"},{"group":"プラグインタイプ別","pages":[{"title":"ツールプラグイン","href":"/ja/develop-plugin/dev-guides-and-walkthroughs/tool-plugin"},{"title":"Tool OAuth","href":"/ja/develop-plugin/dev-guides-and-walkthroughs/tool-oauth"},{"title":"モデルプロバイダープラグイン","href":"/ja/develop-plugin/dev-guides-and-walkthroughs/creating-new-model-provider"},{"title":"エージェント戦略プラグイン","href":"/ja/develop-plugin/dev-guides-and-walkthroughs/agent-strategy-plugin"},{"title":"データソースプラグイン","href":"/ja/develop-plugin/dev-guides-and-walkthroughs/datasource-plugin"},{"title":"トリガープラグイン","href":"/ja/develop-plugin/dev-guides-and-walkthroughs/trigger-plugin"},{"title":"Endpoint プラグイン","href":"/ja/develop-plugin/dev-guides-and-walkthroughs/endpoint"}]},{"group":"完全なサンプル","pages":[{"title":"Flomoツール(10分)","href":"/ja/develop-plugin/dev-guides-and-walkthroughs/develop-flomo-plugin"},{"title":"Slack Bot","href":"/ja/develop-plugin/dev-guides-and-walkthroughs/develop-a-slack-bot-plugin"},{"title":"Markdownエクスポーター","href":"/ja/develop-plugin/dev-guides-and-walkthroughs/develop-md-exporter"},{"title":"マルチモーダルツール","href":"/ja/develop-plugin/dev-guides-and-walkthroughs/develop-multimodal-data-processing-tool"}]}]},{"group":"公開","icon":"upload","pages":[{"title":"プラグインの公開","href":"/ja/develop-plugin/publishing/marketplace-listing/release-overview"},{"group":"標準","pages":[{"title":"プラグイン開発ガイドライン","href":"/ja/develop-plugin/publishing/standards/contributor-covenant-code-of-conduct"},{"title":"プライバシーポリシーガイドライン","href":"/ja/develop-plugin/publishing/standards/privacy-protection-guidelines"}]},{"title":"マーケットプレイスにプラグインを公開","sidebarTitle":"マーケットプレイス","href":"/ja/develop-plugin/publishing/marketplace-listing/submit-plugin-to-marketplace"},{"group":"GitHub リポジトリ","pages":[{"title":"個人 GitHub リポジトリへの公開","href":"/ja/develop-plugin/publishing/marketplace-listing/release-to-individual-github-repo"}]},{"group":"ローカルファイル","pages":[{"title":"ローカルファイルとしてパッケージ化して共有","href":"/ja/develop-plugin/publishing/marketplace-listing/release-by-file"},{"title":"サードパーティ署名検証用のプラグイン署名","href":"/ja/develop-plugin/publishing/standards/third-party-signature-verification"}]},{"title":"よくある質問","sidebarTitle":"よくある質問","href":"/ja/develop-plugin/publishing/faq/faq"}]}]}]}]}]}]},"title":"Update Knowledge Base Settings - Dify Docs","buildId":"dpl_2oYXwqkEXirXBPk8wV1FtM5USFWi","deploymentId":"dpl_2oYXwqkEXirXBPk8wV1FtM5USFWi","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-WRhTSUDL.js","utils-ChMov4Kr.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-_REmC2bI.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-Bp6nVRCu.js","snippetPresets-DZadmXoU.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","Page-R3M_BF4L.js","ApiExamples-CY2WdoTl.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-DwYG-Q4l.js","shallow-BXQIGwv4.js","getApiPlaygroundDisplay-CK5nK5B9.js","CodeSnippet-TH4a2aGW.js","CodeSnippets-DwsQiOFS.js","getPastedJson-DD7kUzi_.js","icon-holE3QoJ.js","MethodPill-DUW0T8us.js","DuplicateIcon-CI_p4be-.js","createIcon-BdbRvavb.js","DynamicMarkdown-DN96a4Ur.js","SectionHeading-SCu36A9d.js","axios-vUo_bRtp.js","Markdown-CCeGv-zI.js","clsx-BGBGWFTt.js","lib--scc4DXi.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-Cv_O2fky.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-2C5OB2eV.js"]}