{ "object": "knowledge_base_source", "id": "0d1f6a3e-5b2c-4e8f-9a7d-3c6b1e2f4a5d", "agent": { "id": "3132353852", "type": "ai_agent", "name": "Support agent" }, "type": "link", "status": "pending", "error": "<string>", "characters": 123, "resync_pending": true, "last_synced_at": "2023-11-07T05:31:56Z", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z", "link": { "url": "https://example.com/pricing", "title": "Pricing", "auto_sync": "never", "next_sync_at": "2023-11-07T05:31:56Z", "exclude_classes": [ "<string>" ], "exclude_ids": [ "<string>" ], "content": "# Pricing\n\nThe Pro plan is $20 a month." }, "text": { "preview": "<string>", "content": "<string>" }, "faq": { "question": "Do you ship internationally?", "answer": "Yes, to over **40 countries**." }, "document": { "filename": "Handbook.pdf", "size": 482133, "content_type": "application/pdf", "content": "Employee handbook\n\n1. Working hours\nOur office is open 9 to 5." }, "zoho": { "title": "Returns policy", "url": "https://support.example.com/hc/articles/360001", "auto_sync": "never", "next_sync_at": "2023-11-07T05:31:56Z", "content": "# Team handbook\n\nWelcome to the team." }, "zendesk": { "title": "Returns policy", "url": "https://support.example.com/hc/articles/360001", "auto_sync": "never", "next_sync_at": "2023-11-07T05:31:56Z", "content": "# Team handbook\n\nWelcome to the team." }, "notion": { "title": "Returns policy", "url": "https://support.example.com/hc/articles/360001", "auto_sync": "never", "next_sync_at": "2023-11-07T05:31:56Z", "content": "# Team handbook\n\nWelcome to the team." }, "sharepoint": { "filename": "Onboarding.docx", "path": "/Shared Documents/HR", "url": "https://example.sharepoint.com/sites/hr/Shared%20Documents/HR/Onboarding.docx", "size": 58211, "content_type": "application/vnd.openxmlformats-officedocument.wordprocessingml.document", "auto_sync": "never", "next_sync_at": "2023-11-07T05:31:56Z", "content": "Onboarding\n\nYour first week." }}
{
"error": {
"type": "authentication_error",
"code": "invalid_api_key",
"message": "The API key is invalid or has been revoked.",
"param": null,
"request_id": "req_8Fq2kLm9TzX4vB7nC1dR5sYw"
}
}
{
"error": {
"type": "permission_error",
"code": "resync_credits_exhausted",
"message": "This project doesn't have enough resync credits left to train this source again. Upgrade to get more.",
"param": null,
"request_id": "req_8Fq2kLm9TzX4vB7nC1dR5sYw"
}
}
{
"error": {
"type": "not_found_error",
"code": "resource_not_found",
"message": "No knowledge base source with this ID exists, or this API key can't access it.",
"param": null,
"request_id": "req_8Fq2kLm9TzX4vB7nC1dR5sYw"
}
}
{
"error": {
"type": "invalid_request_error",
"code": "source_not_ready",
"message": "This source is still being trained. Change it once its status is processed or failed.",
"param": null,
"request_id": "req_8Fq2kLm9TzX4vB7nC1dR5sYw"
}
}
{
"error": {
"type": "invalid_request_error",
"code": "validation_failed",
"message": "The name field is required.",
"param": "name",
"request_id": "req_8Fq2kLm9TzX4vB7nC1dR5sYw",
"errors": [
{
"param": "name",
"message": "The name field is required."
}
]
}
}
Updates the auto-sync of a link or connected source, or the content of a text or FAQ source. Changing auto-sync doesn’t retrain the source.
New content retrains the source in the background and uses resync credits when training finishes, so the project needs enough credits, and the source must be processed or failed. An FAQ keeps the question or answer you don’t pass.
Documents can’t be updated. Delete the source and add the new file instead. Sources added through a connection only take auto_sync. To change their content, edit the original article, page, or file, then resync the source.
{ "object": "knowledge_base_source", "id": "0d1f6a3e-5b2c-4e8f-9a7d-3c6b1e2f4a5d", "agent": { "id": "3132353852", "type": "ai_agent", "name": "Support agent" }, "type": "link", "status": "pending", "error": "<string>", "characters": 123, "resync_pending": true, "last_synced_at": "2023-11-07T05:31:56Z", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z", "link": { "url": "https://example.com/pricing", "title": "Pricing", "auto_sync": "never", "next_sync_at": "2023-11-07T05:31:56Z", "exclude_classes": [ "<string>" ], "exclude_ids": [ "<string>" ], "content": "# Pricing\n\nThe Pro plan is $20 a month." }, "text": { "preview": "<string>", "content": "<string>" }, "faq": { "question": "Do you ship internationally?", "answer": "Yes, to over **40 countries**." }, "document": { "filename": "Handbook.pdf", "size": 482133, "content_type": "application/pdf", "content": "Employee handbook\n\n1. Working hours\nOur office is open 9 to 5." }, "zoho": { "title": "Returns policy", "url": "https://support.example.com/hc/articles/360001", "auto_sync": "never", "next_sync_at": "2023-11-07T05:31:56Z", "content": "# Team handbook\n\nWelcome to the team." }, "zendesk": { "title": "Returns policy", "url": "https://support.example.com/hc/articles/360001", "auto_sync": "never", "next_sync_at": "2023-11-07T05:31:56Z", "content": "# Team handbook\n\nWelcome to the team." }, "notion": { "title": "Returns policy", "url": "https://support.example.com/hc/articles/360001", "auto_sync": "never", "next_sync_at": "2023-11-07T05:31:56Z", "content": "# Team handbook\n\nWelcome to the team." }, "sharepoint": { "filename": "Onboarding.docx", "path": "/Shared Documents/HR", "url": "https://example.sharepoint.com/sites/hr/Shared%20Documents/HR/Onboarding.docx", "size": 58211, "content_type": "application/vnd.openxmlformats-officedocument.wordprocessingml.document", "auto_sync": "never", "next_sync_at": "2023-11-07T05:31:56Z", "content": "Onboarding\n\nYour first week." }}
{
"error": {
"type": "authentication_error",
"code": "invalid_api_key",
"message": "The API key is invalid or has been revoked.",
"param": null,
"request_id": "req_8Fq2kLm9TzX4vB7nC1dR5sYw"
}
}
{
"error": {
"type": "permission_error",
"code": "resync_credits_exhausted",
"message": "This project doesn't have enough resync credits left to train this source again. Upgrade to get more.",
"param": null,
"request_id": "req_8Fq2kLm9TzX4vB7nC1dR5sYw"
}
}
{
"error": {
"type": "not_found_error",
"code": "resource_not_found",
"message": "No knowledge base source with this ID exists, or this API key can't access it.",
"param": null,
"request_id": "req_8Fq2kLm9TzX4vB7nC1dR5sYw"
}
}
{
"error": {
"type": "invalid_request_error",
"code": "source_not_ready",
"message": "This source is still being trained. Change it once its status is processed or failed.",
"param": null,
"request_id": "req_8Fq2kLm9TzX4vB7nC1dR5sYw"
}
}
{
"error": {
"type": "invalid_request_error",
"code": "validation_failed",
"message": "The name field is required.",
"param": "name",
"request_id": "req_8Fq2kLm9TzX4vB7nC1dR5sYw",
"errors": [
{
"param": "name",
"message": "The name field is required."
}
]
}
}
Pass only the object for the source's type. A link's URL can't change, so delete the source and add the new URL instead. Zoho Desk, Zendesk, Notion, and SharePoint sources only take auto_sync.
link
object
Show child attributes
text
object
Show child attributes
faq
object
The question and answer can be up to 8,000 characters together, not counting formatting.
Show child attributes
zoho
object
Show child attributes
zendesk
object
Show child attributes
notion
object
Show child attributes
sharepoint
object
Show child attributes
Response
The source, with resync_pending: true if its content changed.
object
any
required
id
string
required
Example:
"0d1f6a3e-5b2c-4e8f-9a7d-3c6b1e2f4a5d"
agent
object
required
The agent this belongs to.
Show child attributes
type
enum<string>
required
link is a web page, fetched when the source trains. text and faq are content you send. document is a file you upload first with Create a document upload. zoho, zendesk, notion, and sharepoint are Zoho Desk articles, Zendesk articles, Notion pages, and SharePoint files, added in the dashboard through a connection. The API can list, resync, and delete them, and change their auto_sync, but can't add them or change their content.
Available options:
link,
text,
faq,
document,
zoho,
zendesk,
notion,
sharepoint
status
enum<string>
required
pending sources are waiting to train, processing sources are training, processed sources are used in replies, and failed sources couldn't be trained. For failed sources, error says why.
Available options:
pending,
processing,
processed,
failed
error
string | null
required
Why training failed, if status is failed.
characters
integer | null
required
The number of the plan's knowledge base characters the source uses. For links, documents, and connected sources, known once the source is trained.
resync_pending
boolean
required
Whether the source is queued to retrain after a resync, edit, or auto-sync.
last_synced_at
string<date-time> | null
required
Time at which the source was last trained.
created_at
string<date-time> | null
required
updated_at
string<date-time> | null
required
link
object
Only for link sources.
Show child attributes
text
object
Only for text sources.
Show child attributes
faq
object
Only for faq sources.
Show child attributes
document
object
Only for document sources.
Show child attributes
zoho
object
Only for zoho sources.
Show child attributes
zendesk
object
Only for zendesk sources.
Show child attributes
notion
object
Only for notion sources.
Show child attributes
sharepoint
object
Only for sharepoint sources.
Show child attributes
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Chatling Documentation","colors":{"primary":"#0D9373","light":"#07C983","dark":"#0D9373"},"logo":{"light":"https://mintcdn.com/chatling-21192973/28-2rxbvH5ywRTMu/logo/chatling-logo.svg?fit=max\u0026auto=format\u0026n=28-2rxbvH5ywRTMu\u0026q=85\u0026s=b2dff50e5e554f9a1821ad6c4e86b8cd","dark":"https://mintcdn.com/chatling-21192973/28-2rxbvH5ywRTMu/logo/chatling-logo-white.svg?fit=max\u0026auto=format\u0026n=28-2rxbvH5ywRTMu\u0026q=85\u0026s=7139297f08e04dea3d5f04e8ff00e18b"},"favicon":"https://mintcdn.com/chatling-21192973/28-2rxbvH5ywRTMu/favicon.svg?fit=max\u0026auto=format\u0026n=28-2rxbvH5ywRTMu\u0026q=85\u0026s=f0289a5a055de1338da1c4cd5d297893","api":{"playground":{"display":"simple"},"mdx":{"auth":{"method":"bearer"},"server":"https://api.chatling.ai/v3"}},"navbar":{"links":[{"href":"https://app.chatling.ai","label":"Dashboard"}]},"footer":{"socials":{"x":"https://twitter.com/chatlingai","linkedin":"https://www.linkedin.com/company/chatlingai"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"chatling-21192973","hasAudioNarration":false,"actualSubdomain":"chatling-21192973","customDomains":["docs.chatling.ai"],"gitSource":{"type":"github","owner":"ahm750","repo":"documentation","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6b0cf4ae9508b2d5f2b65fff","clientVersion":"0.0.4347","searchFilterCounts":[{"language":"default","tag":"Documentation","count":160},{"language":"default","tag":"API Reference","count":92},{"language":"default","tag":"Reference","count":87},{"language":"default","tag":"Chatbot","count":60},{"language":"default","tag":"Builder","count":50},{"language":"default","tag":"Blocks","count":35},{"language":"default","tag":"AI Agent","count":23},{"language":"default","tag":"Web Widget","count":23},{"language":"default","tag":"Conversations","count":15},{"language":"default","tag":"Live Chat","count":13}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"api-reference/v3/knowledge-base/update-knowledge-base-source","slug":"/api-reference/v3/knowledge-base/update-knowledge-base-source","pageMetadata":{"title":"Update a knowledge base source","description":"Updates the auto-sync of a link or connected source, or the content of a text or FAQ source. Changing auto-sync doesn't retrain the source.\n\nNew content retrains the source in the background and uses resync credits when training finishes, so the project needs enough credits, and the source must be `processed` or `failed`. An FAQ keeps the question or answer you don't pass.\n\nDocuments can't be updated. Delete the source and add the new file instead. Sources added through a connection only take `auto_sync`. To change their content, edit the original article, page, or file, then resync the source.","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json patch /knowledge-base/sources/{source}","href":"/api-reference/v3/knowledge-base/update-knowledge-base-source","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 code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"Updates the auto-sync of a link or connected source, or the content of a text or FAQ source. Changing auto-sync doesn’t retrain the source.\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"New content retrains the source in the background and uses resync credits when training finishes, so the project needs enough credits, and the source must be \", _jsx(_components.code, {\n children: \"processed\"\n }), \" or \", _jsx(_components.code, {\n children: \"failed\"\n }), \". An FAQ keeps the question or answer you don’t pass.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Documents can’t be updated. Delete the source and add the new file instead. Sources added through a connection only take \", _jsx(_components.code, {\n children: \"auto_sync\"\n }), \". To change their content, edit the original article, page, or file, then resync the source.\"]\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 a knowledge base source","description":"Updates the auto-sync of a link or connected source, or the content of a text or FAQ source. Changing auto-sync doesn't retrain the source.\n\nNew content retrains the source in the background and uses resync credits when training finishes, so the project needs enough credits, and the source must be `processed` or `failed`. An FAQ keeps the question or answer you don't pass.\n\nDocuments can't be updated. Delete the source and add the new file instead. Sources added through a connection only take `auto_sync`. To change their content, edit the original article, page, or file, then resync the source.","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json patch /knowledge-base/sources/{source}","href":"/api-reference/v3/knowledge-base/update-knowledge-base-source","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"updateKnowledgeBaseSource","tags":["Knowledge base"],"summary":"Update a knowledge base source","description":"Updates the auto-sync of a link or connected source, or the content of a text or FAQ source. Changing auto-sync doesn't retrain the source.\n\nNew content retrains the source in the background and uses resync credits when training finishes, so the project needs enough credits, and the source must be `processed` or `failed`. An FAQ keeps the question or answer you don't pass.\n\nDocuments can't be updated. Delete the source and add the new file instead. Sources added through a connection only take `auto_sync`. To change their content, edit the original article, page, or file, then resync the source.","x-chatling-permission":{"group":"knowledge_base","access":"update"},"x-chatling-project-wide":false,"x-chatling-agent-types":["ai_agent","chatbot"],"requestBody":"20de1ebe-d412-44e5-b505-e4f4ed1f97ec","responses":{"200":"16e2d344-f0fd-47a0-acd4-f040b45acd80","401":"abb65bde-062d-40ba-b4b6-52c80d2c06ee","403":"8f3f35db-91ff-4d46-8f57-e192684cf033","404":"0a2c85b1-a0f7-4206-b436-6a70b3285661","409":"dda2fe14-7a63-449d-b5f7-18b534f0fb82","422":"6053abbc-f0d9-4259-955b-f86b8ce71ce5","429":"de6a6842-5caa-4207-8783-0f18bc099319"},"method":"patch","type":"path","servers":["16086fde-3c32-456e-b395-21dafcd77092"],"security":["8529c987-60c7-4138-9cff-c6fa1c1f2729"],"path":"/knowledge-base/sources/{source}","baseUrlOptions":["https://api.chatling.ai/v3"],"title":"Update a knowledge base source","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"d58ed436-fe55-4952-bd73-e62e4bca2557":{"name":"source","in":"path","required":true,"description":"ID of the source.","schema":{"type":"string","isRequired":true,"description":"ID of the source.","uniqueKey":"","typeLabel":"string"},"example":"0d1f6a3e-5b2c-4e8f-9a7d-3c6b1e2f4a5d"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"description":"Pass only the object for the source's type. A link's URL can't change, so delete the source and add the new URL instead. Zoho Desk, Zendesk, Notion, and SharePoint sources only take `auto_sync`.","properties":{"link":{"type":"object","additionalProperties":false,"properties":{"auto_sync":{"type":"string","enum":["never","daily","weekly","monthly"],"description":"How often the source is fetched and retrained. Each option except `never` must be on the plan. Auto-syncs use resync credits.","uniqueKey":"link.auto_sync","typeLabel":"enum\u003cstring>"}},"uniqueKey":"link","typeLabel":"object"},"text":{"type":"object","additionalProperties":false,"properties":{"content":{"type":"string","maxLength":1000000,"description":"Markdown (GitHub-flavored, with tables). Up to 100,000 characters of text, not counting formatting. Single line breaks are kept.","uniqueKey":"text.content","typeLabel":"string"}},"uniqueKey":"text","typeLabel":"object"},"faq":{"type":"object","additionalProperties":false,"description":"The question and answer can be up to 8,000 characters together, not counting formatting.","properties":{"question":{"type":"string","maxLength":8000,"description":"Plain text. HTML tags are removed.","uniqueKey":"faq.question","typeLabel":"string"},"answer":{"type":"string","maxLength":1000000,"description":"Markdown (GitHub-flavored, with tables).","uniqueKey":"faq.answer","typeLabel":"string"}},"uniqueKey":"faq","typeLabel":"object"},"zoho":{"type":"object","additionalProperties":false,"properties":{"auto_sync":{"type":"string","enum":["never","daily","weekly","monthly"],"description":"How often the source is fetched and retrained. Each option except `never` must be on the plan. Auto-syncs use resync credits.","uniqueKey":"zoho.auto_sync","typeLabel":"enum\u003cstring>"}},"uniqueKey":"zoho","typeLabel":"object"},"zendesk":{"type":"object","additionalProperties":false,"properties":{"auto_sync":{"type":"string","enum":["never","daily","weekly","monthly"],"description":"How often the source is fetched and retrained. Each option except `never` must be on the plan. Auto-syncs use resync credits.","uniqueKey":"zendesk.auto_sync","typeLabel":"enum\u003cstring>"}},"uniqueKey":"zendesk","typeLabel":"object"},"notion":{"type":"object","additionalProperties":false,"properties":{"auto_sync":{"type":"string","enum":["never","daily","weekly","monthly"],"description":"How often the source is fetched and retrained. Each option except `never` must be on the plan. Auto-syncs use resync credits.","uniqueKey":"notion.auto_sync","typeLabel":"enum\u003cstring>"}},"uniqueKey":"notion","typeLabel":"object"},"sharepoint":{"type":"object","additionalProperties":false,"properties":{"auto_sync":{"type":"string","enum":["never","daily","weekly","monthly"],"description":"How often the source is fetched and retrained. Each option except `never` must be on the plan. Auto-syncs use resync credits.","uniqueKey":"sharepoint.auto_sync","typeLabel":"enum\u003cstring>"}},"uniqueKey":"sharepoint","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"faq":{"answer":"Yes, to over **50 countries**."}},"examples":{"Example":{"title":"Example","value":{"faq":{"answer":"Yes, to over **50 countries**."}}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"16e2d344-f0fd-47a0-acd4-f040b45acd80":{"description":"The source, with `resync_pending: true` if its content changed.","content":{"application/json":{"schema":{"type":"object","required":["object","id","agent","type","status","error","characters","resync_pending","last_synced_at","created_at","updated_at"],"properties":{"object":{"const":"knowledge_base_source","isRequired":true,"uniqueKey":"object","typeLabel":"any"},"id":{"type":"string","example":"0d1f6a3e-5b2c-4e8f-9a7d-3c6b1e2f4a5d","isRequired":true,"uniqueKey":"id","typeLabel":"string"},"agent":{"type":"object","description":"The agent this belongs to.","required":["id","type","name"],"properties":{"id":{"type":"string","description":"ID of the agent, as passed in `agent_id`.","example":"3132353852","isRequired":true,"uniqueKey":"agent.id","typeLabel":"string"},"type":{"type":"string","enum":["ai_agent","chatbot"],"description":"`ai_agent` for an AI agent, at `/agents`, or `chatbot` for a flow-builder chatbot, at `/chatbots`.","isRequired":true,"uniqueKey":"agent.type","typeLabel":"enum\u003cstring>"},"name":{"type":"string","example":"Support agent","isRequired":true,"uniqueKey":"agent.name","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent","typeLabel":"object"},"type":{"type":"string","enum":["link","text","faq","document","zoho","zendesk","notion","sharepoint"],"description":"`link` is a web page, fetched when the source trains. `text` and `faq` are content you send. `document` is a file you upload first with [Create a document upload](/api-reference/v3/knowledge-base/create-knowledge-base-upload). `zoho`, `zendesk`, `notion`, and `sharepoint` are Zoho Desk articles, Zendesk articles, Notion pages, and SharePoint files, added in the dashboard through a connection. The API can list, resync, and delete them, and change their `auto_sync`, but can't add them or change their content.","isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"status":{"type":"string","enum":["pending","processing","processed","failed"],"description":"`pending` sources are waiting to train, `processing` sources are training, `processed` sources are used in replies, and `failed` sources couldn't be trained. For `failed` sources, `error` says why.","isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"error":{"oneOf":[{"type":"string","description":"Why training failed, if `status` is `failed`.","isRequired":true,"uniqueKey":"error.oneOf.0","typeLabel":"string"},{"type":"null","description":"Why training failed, if `status` is `failed`.","isRequired":true,"uniqueKey":"error.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error","typeLabel":"string | null"},"characters":{"oneOf":[{"type":"integer","description":"The number of the plan's knowledge base characters the source uses. For links, documents, and connected sources, known once the source is trained.","isRequired":true,"uniqueKey":"characters.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The number of the plan's knowledge base characters the source uses. For links, documents, and connected sources, known once the source is trained.","isRequired":true,"uniqueKey":"characters.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"characters","typeLabel":"integer | null"},"resync_pending":{"type":"boolean","description":"Whether the source is queued to retrain after a resync, edit, or auto-sync.","isRequired":true,"uniqueKey":"resync_pending","typeLabel":"boolean"},"last_synced_at":{"oneOf":[{"type":"string","format":"date-time","description":"Time at which the source was last trained.","isRequired":true,"uniqueKey":"last_synced_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"Time at which the source was last trained.","isRequired":true,"uniqueKey":"last_synced_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"last_synced_at","typeLabel":"string\u003cdate-time> | null"},"created_at":{"oneOf":[{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"created_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","isRequired":true,"uniqueKey":"created_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"created_at","typeLabel":"string\u003cdate-time> | null"},"updated_at":{"oneOf":[{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"updated_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","isRequired":true,"uniqueKey":"updated_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"updated_at","typeLabel":"string\u003cdate-time> | null"},"link":{"type":"object","required":["url","title","auto_sync","next_sync_at","exclude_classes","exclude_ids"],"properties":{"url":{"type":"string","format":"uri","example":"https://example.com/pricing","isRequired":true,"uniqueKey":"link.url","typeLabel":"string\u003curi>"},"title":{"oneOf":[{"type":"string","description":"The page's title, once fetched.","example":"Pricing","isRequired":true,"uniqueKey":"link.title.oneOf.0","typeLabel":"string"},{"type":"null","description":"The page's title, once fetched.","example":"Pricing","isRequired":true,"uniqueKey":"link.title.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"link.title","typeLabel":"string | null"},"auto_sync":{"type":"string","enum":["never","daily","weekly","monthly"],"description":"How often the source is fetched and retrained. Each option except `never` must be on the plan. Auto-syncs use resync credits.","isRequired":true,"uniqueKey":"link.auto_sync","typeLabel":"enum\u003cstring>"},"next_sync_at":{"oneOf":[{"type":"string","format":"date-time","description":"Time at which the page next syncs automatically, if scheduled.","isRequired":true,"uniqueKey":"link.next_sync_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"Time at which the page next syncs automatically, if scheduled.","isRequired":true,"uniqueKey":"link.next_sync_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"link.next_sync_at","typeLabel":"string\u003cdate-time> | null"},"exclude_classes":{"type":"array","items":{"type":"string","uniqueKey":"link.exclude_classes.items.[INDEX]","typeLabel":"string"},"description":"HTML classes whose elements are excluded from the page.","isRequired":true,"uniqueKey":"link.exclude_classes","typeLabel":"string[]"},"exclude_ids":{"type":"array","items":{"type":"string","uniqueKey":"link.exclude_ids.items.[INDEX]","typeLabel":"string"},"description":"HTML IDs whose elements are excluded from the page.","isRequired":true,"uniqueKey":"link.exclude_ids","typeLabel":"string[]"},"content":{"oneOf":[{"type":"string","description":"The page as training read it, in Markdown. `null` until the source is trained, and briefly while it retrains. Only returned when retrieving a source, not in lists.","example":"# Pricing\n\nThe Pro plan is $20 a month.","uniqueKey":"link.content.oneOf.0","typeLabel":"string"},{"type":"null","description":"The page as training read it, in Markdown. `null` until the source is trained, and briefly while it retrains. Only returned when retrieving a source, not in lists.","example":"# Pricing\n\nThe Pro plan is $20 a month.","uniqueKey":"link.content.oneOf.1","typeLabel":"null"}],"uniqueKey":"link.content","typeLabel":"string | null"}},"description":"Only for `link` sources.","uniqueKey":"link","typeLabel":"object"},"text":{"type":"object","required":["preview"],"properties":{"preview":{"type":"string","description":"The start of the text, without formatting, up to 200 characters.","isRequired":true,"uniqueKey":"text.preview","typeLabel":"string"},"content":{"type":"string","description":"The text, in Markdown. Not included in lists unless `include` has `content`.","uniqueKey":"text.content","typeLabel":"string"}},"description":"Only for `text` sources.","uniqueKey":"text","typeLabel":"object"},"faq":{"type":"object","required":["question","answer"],"properties":{"question":{"type":"string","example":"Do you ship internationally?","isRequired":true,"uniqueKey":"faq.question","typeLabel":"string"},"answer":{"type":"string","description":"In Markdown.","example":"Yes, to over **40 countries**.","isRequired":true,"uniqueKey":"faq.answer","typeLabel":"string"}},"description":"Only for `faq` sources.","uniqueKey":"faq","typeLabel":"object"},"document":{"type":"object","required":["filename","size","content_type"],"properties":{"filename":{"type":"string","example":"Handbook.pdf","isRequired":true,"uniqueKey":"document.filename","typeLabel":"string"},"size":{"oneOf":[{"type":"integer","description":"The size in bytes.","example":482133,"isRequired":true,"uniqueKey":"document.size.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The size in bytes.","example":482133,"isRequired":true,"uniqueKey":"document.size.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"document.size","typeLabel":"integer | null"},"content_type":{"oneOf":[{"type":"string","example":"application/pdf","isRequired":true,"uniqueKey":"document.content_type.oneOf.0","typeLabel":"string"},{"type":"null","example":"application/pdf","isRequired":true,"uniqueKey":"document.content_type.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"document.content_type","typeLabel":"string | null"},"content":{"oneOf":[{"type":"string","description":"The text training extracted from the file, as plain text. `null` until the source is trained, and briefly while it retrains. Only returned when retrieving a source, not in lists.","example":"Employee handbook\n\n1. Working hours\nOur office is open 9 to 5.","uniqueKey":"document.content.oneOf.0","typeLabel":"string"},{"type":"null","description":"The text training extracted from the file, as plain text. `null` until the source is trained, and briefly while it retrains. Only returned when retrieving a source, not in lists.","example":"Employee handbook\n\n1. Working hours\nOur office is open 9 to 5.","uniqueKey":"document.content.oneOf.1","typeLabel":"null"}],"uniqueKey":"document.content","typeLabel":"string | null"}},"description":"Only for `document` sources.","uniqueKey":"document","typeLabel":"object"},"zoho":{"type":"object","description":"Only for `zoho` sources.","required":["title","url","auto_sync","next_sync_at"],"properties":{"title":{"oneOf":[{"type":"string","example":"Returns policy","isRequired":true,"uniqueKey":"zoho.title.oneOf.0","typeLabel":"string"},{"type":"null","example":"Returns policy","isRequired":true,"uniqueKey":"zoho.title.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"zoho.title","typeLabel":"string | null"},"url":{"oneOf":[{"type":"string","description":"Where the article or page is published, if known.","example":"https://support.example.com/hc/articles/360001","isRequired":true,"uniqueKey":"zoho.url.oneOf.0","typeLabel":"string"},{"type":"null","description":"Where the article or page is published, if known.","example":"https://support.example.com/hc/articles/360001","isRequired":true,"uniqueKey":"zoho.url.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"zoho.url","typeLabel":"string | null"},"auto_sync":{"type":"string","enum":["never","daily","weekly","monthly"],"description":"How often the source is fetched and retrained. Each option except `never` must be on the plan. Auto-syncs use resync credits.","isRequired":true,"uniqueKey":"zoho.auto_sync","typeLabel":"enum\u003cstring>"},"next_sync_at":{"oneOf":[{"type":"string","format":"date-time","description":"Time at which the source next syncs automatically, if scheduled.","isRequired":true,"uniqueKey":"zoho.next_sync_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"Time at which the source next syncs automatically, if scheduled.","isRequired":true,"uniqueKey":"zoho.next_sync_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"zoho.next_sync_at","typeLabel":"string\u003cdate-time> | null"},"content":{"oneOf":[{"type":"string","description":"What training read. For Notion pages, the page in Markdown. Zoho Desk and Zendesk articles aren't kept after training, so theirs is always `null`. `null` until the source is trained, and briefly while it retrains. Only returned when retrieving a source, not in lists.","example":"# Team handbook\n\nWelcome to the team.","uniqueKey":"zoho.content.oneOf.0","typeLabel":"string"},{"type":"null","description":"What training read. For Notion pages, the page in Markdown. Zoho Desk and Zendesk articles aren't kept after training, so theirs is always `null`. `null` until the source is trained, and briefly while it retrains. Only returned when retrieving a source, not in lists.","example":"# Team handbook\n\nWelcome to the team.","uniqueKey":"zoho.content.oneOf.1","typeLabel":"null"}],"uniqueKey":"zoho.content","typeLabel":"string | null"}},"uniqueKey":"zoho","typeLabel":"object"},"zendesk":{"type":"object","description":"Only for `zendesk` sources.","required":["title","url","auto_sync","next_sync_at"],"properties":{"title":{"oneOf":[{"type":"string","example":"Returns policy","isRequired":true,"uniqueKey":"zendesk.title.oneOf.0","typeLabel":"string"},{"type":"null","example":"Returns policy","isRequired":true,"uniqueKey":"zendesk.title.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"zendesk.title","typeLabel":"string | null"},"url":{"oneOf":[{"type":"string","description":"Where the article or page is published, if known.","example":"https://support.example.com/hc/articles/360001","isRequired":true,"uniqueKey":"zendesk.url.oneOf.0","typeLabel":"string"},{"type":"null","description":"Where the article or page is published, if known.","example":"https://support.example.com/hc/articles/360001","isRequired":true,"uniqueKey":"zendesk.url.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"zendesk.url","typeLabel":"string | null"},"auto_sync":{"type":"string","enum":["never","daily","weekly","monthly"],"description":"How often the source is fetched and retrained. Each option except `never` must be on the plan. Auto-syncs use resync credits.","isRequired":true,"uniqueKey":"zendesk.auto_sync","typeLabel":"enum\u003cstring>"},"next_sync_at":{"oneOf":[{"type":"string","format":"date-time","description":"Time at which the source next syncs automatically, if scheduled.","isRequired":true,"uniqueKey":"zendesk.next_sync_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"Time at which the source next syncs automatically, if scheduled.","isRequired":true,"uniqueKey":"zendesk.next_sync_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"zendesk.next_sync_at","typeLabel":"string\u003cdate-time> | null"},"content":{"oneOf":[{"type":"string","description":"What training read. For Notion pages, the page in Markdown. Zoho Desk and Zendesk articles aren't kept after training, so theirs is always `null`. `null` until the source is trained, and briefly while it retrains. Only returned when retrieving a source, not in lists.","example":"# Team handbook\n\nWelcome to the team.","uniqueKey":"zendesk.content.oneOf.0","typeLabel":"string"},{"type":"null","description":"What training read. For Notion pages, the page in Markdown. Zoho Desk and Zendesk articles aren't kept after training, so theirs is always `null`. `null` until the source is trained, and briefly while it retrains. Only returned when retrieving a source, not in lists.","example":"# Team handbook\n\nWelcome to the team.","uniqueKey":"zendesk.content.oneOf.1","typeLabel":"null"}],"uniqueKey":"zendesk.content","typeLabel":"string | null"}},"uniqueKey":"zendesk","typeLabel":"object"},"notion":{"type":"object","description":"Only for `notion` sources.","required":["title","url","auto_sync","next_sync_at"],"properties":{"title":{"oneOf":[{"type":"string","example":"Returns policy","isRequired":true,"uniqueKey":"notion.title.oneOf.0","typeLabel":"string"},{"type":"null","example":"Returns policy","isRequired":true,"uniqueKey":"notion.title.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"notion.title","typeLabel":"string | null"},"url":{"oneOf":[{"type":"string","description":"Where the article or page is published, if known.","example":"https://support.example.com/hc/articles/360001","isRequired":true,"uniqueKey":"notion.url.oneOf.0","typeLabel":"string"},{"type":"null","description":"Where the article or page is published, if known.","example":"https://support.example.com/hc/articles/360001","isRequired":true,"uniqueKey":"notion.url.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"notion.url","typeLabel":"string | null"},"auto_sync":{"type":"string","enum":["never","daily","weekly","monthly"],"description":"How often the source is fetched and retrained. Each option except `never` must be on the plan. Auto-syncs use resync credits.","isRequired":true,"uniqueKey":"notion.auto_sync","typeLabel":"enum\u003cstring>"},"next_sync_at":{"oneOf":[{"type":"string","format":"date-time","description":"Time at which the source next syncs automatically, if scheduled.","isRequired":true,"uniqueKey":"notion.next_sync_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"Time at which the source next syncs automatically, if scheduled.","isRequired":true,"uniqueKey":"notion.next_sync_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"notion.next_sync_at","typeLabel":"string\u003cdate-time> | null"},"content":{"oneOf":[{"type":"string","description":"What training read. For Notion pages, the page in Markdown. Zoho Desk and Zendesk articles aren't kept after training, so theirs is always `null`. `null` until the source is trained, and briefly while it retrains. Only returned when retrieving a source, not in lists.","example":"# Team handbook\n\nWelcome to the team.","uniqueKey":"notion.content.oneOf.0","typeLabel":"string"},{"type":"null","description":"What training read. For Notion pages, the page in Markdown. Zoho Desk and Zendesk articles aren't kept after training, so theirs is always `null`. `null` until the source is trained, and briefly while it retrains. Only returned when retrieving a source, not in lists.","example":"# Team handbook\n\nWelcome to the team.","uniqueKey":"notion.content.oneOf.1","typeLabel":"null"}],"uniqueKey":"notion.content","typeLabel":"string | null"}},"uniqueKey":"notion","typeLabel":"object"},"sharepoint":{"type":"object","description":"Only for `sharepoint` sources.","required":["filename","path","url","size","content_type","auto_sync","next_sync_at"],"properties":{"filename":{"type":"string","example":"Onboarding.docx","isRequired":true,"uniqueKey":"sharepoint.filename","typeLabel":"string"},"path":{"oneOf":[{"type":"string","description":"The file's folder in its drive.","example":"/Shared Documents/HR","isRequired":true,"uniqueKey":"sharepoint.path.oneOf.0","typeLabel":"string"},{"type":"null","description":"The file's folder in its drive.","example":"/Shared Documents/HR","isRequired":true,"uniqueKey":"sharepoint.path.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"sharepoint.path","typeLabel":"string | null"},"url":{"oneOf":[{"type":"string","description":"The file's URL in SharePoint.","example":"https://example.sharepoint.com/sites/hr/Shared%20Documents/HR/Onboarding.docx","isRequired":true,"uniqueKey":"sharepoint.url.oneOf.0","typeLabel":"string"},{"type":"null","description":"The file's URL in SharePoint.","example":"https://example.sharepoint.com/sites/hr/Shared%20Documents/HR/Onboarding.docx","isRequired":true,"uniqueKey":"sharepoint.url.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"sharepoint.url","typeLabel":"string | null"},"size":{"oneOf":[{"type":"integer","description":"The size in bytes.","example":58211,"isRequired":true,"uniqueKey":"sharepoint.size.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The size in bytes.","example":58211,"isRequired":true,"uniqueKey":"sharepoint.size.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"sharepoint.size","typeLabel":"integer | null"},"content_type":{"oneOf":[{"type":"string","example":"application/vnd.openxmlformats-officedocument.wordprocessingml.document","isRequired":true,"uniqueKey":"sharepoint.content_type.oneOf.0","typeLabel":"string"},{"type":"null","example":"application/vnd.openxmlformats-officedocument.wordprocessingml.document","isRequired":true,"uniqueKey":"sharepoint.content_type.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"sharepoint.content_type","typeLabel":"string | null"},"auto_sync":{"type":"string","enum":["never","daily","weekly","monthly"],"description":"How often the source is fetched and retrained. Each option except `never` must be on the plan. Auto-syncs use resync credits.","isRequired":true,"uniqueKey":"sharepoint.auto_sync","typeLabel":"enum\u003cstring>"},"next_sync_at":{"oneOf":[{"type":"string","format":"date-time","description":"Time at which the file next syncs automatically, if scheduled.","isRequired":true,"uniqueKey":"sharepoint.next_sync_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"Time at which the file next syncs automatically, if scheduled.","isRequired":true,"uniqueKey":"sharepoint.next_sync_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"sharepoint.next_sync_at","typeLabel":"string\u003cdate-time> | null"},"content":{"oneOf":[{"type":"string","description":"The text training extracted from the file, as plain text. `null` until the source is trained, and briefly while it retrains. Only returned when retrieving a source, not in lists.","example":"Onboarding\n\nYour first week.","uniqueKey":"sharepoint.content.oneOf.0","typeLabel":"string"},{"type":"null","description":"The text training extracted from the file, as plain text. `null` until the source is trained, and briefly while it retrains. Only returned when retrieving a source, not in lists.","example":"Onboarding\n\nYour first week.","uniqueKey":"sharepoint.content.oneOf.1","typeLabel":"null"}],"uniqueKey":"sharepoint.content","typeLabel":"string | null"}},"uniqueKey":"sharepoint","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"object":"knowledge_base_source","id":"0d1f6a3e-5b2c-4e8f-9a7d-3c6b1e2f4a5d","agent":{"id":"3132353852","type":"ai_agent","name":"Support agent"},"type":"link","status":"pending","error":"\u003cstring>","characters":123,"resync_pending":true,"last_synced_at":"2023-11-07T05:31:56Z","created_at":"2023-11-07T05:31:56Z","updated_at":"2023-11-07T05:31:56Z","link":{"url":"https://example.com/pricing","title":"Pricing","auto_sync":"never","next_sync_at":"2023-11-07T05:31:56Z","exclude_classes":["\u003cstring>"],"exclude_ids":["\u003cstring>"],"content":"# Pricing\n\nThe Pro plan is $20 a month."},"text":{"preview":"\u003cstring>","content":"\u003cstring>"},"faq":{"question":"Do you ship internationally?","answer":"Yes, to over **40 countries**."},"document":{"filename":"Handbook.pdf","size":482133,"content_type":"application/pdf","content":"Employee handbook\n\n1. Working hours\nOur office is open 9 to 5."},"zoho":{"title":"Returns policy","url":"https://support.example.com/hc/articles/360001","auto_sync":"never","next_sync_at":"2023-11-07T05:31:56Z","content":"# Team handbook\n\nWelcome to the team."},"zendesk":{"title":"Returns policy","url":"https://support.example.com/hc/articles/360001","auto_sync":"never","next_sync_at":"2023-11-07T05:31:56Z","content":"# Team handbook\n\nWelcome to the team."},"notion":{"title":"Returns policy","url":"https://support.example.com/hc/articles/360001","auto_sync":"never","next_sync_at":"2023-11-07T05:31:56Z","content":"# Team handbook\n\nWelcome to the team."},"sharepoint":{"filename":"Onboarding.docx","path":"/Shared Documents/HR","url":"https://example.sharepoint.com/sites/hr/Shared%20Documents/HR/Onboarding.docx","size":58211,"content_type":"application/vnd.openxmlformats-officedocument.wordprocessingml.document","auto_sync":"never","next_sync_at":"2023-11-07T05:31:56Z","content":"Onboarding\n\nYour first week."}}}},"exampleType":"generated"}},"exampleType":"generated"},"abb65bde-062d-40ba-b4b6-52c80d2c06ee":{"description":"`missing_api_key`, `invalid_api_key`, or `api_key_expired`.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["type","code","message","param","request_id"],"properties":{"type":{"type":"string","enum":["authentication_error","permission_error","not_found_error","invalid_request_error","idempotency_error","rate_limit_error","api_error"],"description":"The type of error returned.","isRequired":true,"uniqueKey":"error.type","typeLabel":"enum\u003cstring>"},"code":{"type":"string","description":"A short string identifying the error. Codes are stable, so handle errors by `code`. New codes may be added.","examples":["validation_failed","insufficient_permission","resource_not_found"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"A human-readable message with more details about the error. The wording can change, so don't parse it.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"param":{"oneOf":[{"type":"string","description":"If the error is parameter-specific, the parameter related to the error, in dot notation for nested fields, such as `member_ids.1`. For `validation_failed`, the first entry of `errors`.","isRequired":true,"uniqueKey":"error.param.oneOf.0","typeLabel":"string"},{"type":"null","description":"If the error is parameter-specific, the parameter related to the error, in dot notation for nested fields, such as `member_ids.1`. For `validation_failed`, the first entry of `errors`.","isRequired":true,"uniqueKey":"error.param.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error.param","typeLabel":"string | null"},"request_id":{"type":"string","description":"The ID of the request, also returned in the `X-Request-Id` header. Include it when you contact support.","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"},"errors":{"type":"array","description":"For `validation_failed` only: every invalid parameter. The top-level `param` and `message` match the first entry.","items":{"type":"object","required":["param","message"],"properties":{"param":{"type":"string","description":"The invalid parameter, in dot notation for nested fields.","isRequired":true,"uniqueKey":"error.errors.items.[INDEX].param","typeLabel":"string"},"message":{"type":"string","description":"A human-readable message about the problem. The wording can change.","isRequired":true,"uniqueKey":"error.errors.items.[INDEX].message","typeLabel":"string"}},"uniqueKey":"error.errors.items.[INDEX]","typeLabel":"object"},"uniqueKey":"error.errors","typeLabel":"object[]"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":{"type":"authentication_error","code":"invalid_api_key","message":"The API key is invalid or has been revoked.","param":null,"request_id":"req_8Fq2kLm9TzX4vB7nC1dR5sYw"}},"examples":{"Example":{"title":"Example","value":{"error":{"type":"authentication_error","code":"invalid_api_key","message":"The API key is invalid or has been revoked.","param":null,"request_id":"req_8Fq2kLm9TzX4vB7nC1dR5sYw"}}}},"exampleType":"examples"}},"exampleType":"examples"},"8f3f35db-91ff-4d46-8f57-e192684cf033":{"description":"`insufficient_permission`, `agent_suspended`, `project_suspended`, `plan_feature_unavailable`, `knowledge_base_limit_reached`, or `resync_credits_exhausted`. `plan_feature_unavailable` means the plan doesn't include API access or the chosen auto-sync. `knowledge_base_limit_reached` means the new content has more characters than the plan has left.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["type","code","message","param","request_id"],"properties":{"type":{"type":"string","enum":["authentication_error","permission_error","not_found_error","invalid_request_error","idempotency_error","rate_limit_error","api_error"],"description":"The type of error returned.","isRequired":true,"uniqueKey":"error.type","typeLabel":"enum\u003cstring>"},"code":{"type":"string","description":"A short string identifying the error. Codes are stable, so handle errors by `code`. New codes may be added.","examples":["validation_failed","insufficient_permission","resource_not_found"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"A human-readable message with more details about the error. The wording can change, so don't parse it.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"param":{"oneOf":[{"type":"string","description":"If the error is parameter-specific, the parameter related to the error, in dot notation for nested fields, such as `member_ids.1`. For `validation_failed`, the first entry of `errors`.","isRequired":true,"uniqueKey":"error.param.oneOf.0","typeLabel":"string"},{"type":"null","description":"If the error is parameter-specific, the parameter related to the error, in dot notation for nested fields, such as `member_ids.1`. For `validation_failed`, the first entry of `errors`.","isRequired":true,"uniqueKey":"error.param.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error.param","typeLabel":"string | null"},"request_id":{"type":"string","description":"The ID of the request, also returned in the `X-Request-Id` header. Include it when you contact support.","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"},"errors":{"type":"array","description":"For `validation_failed` only: every invalid parameter. The top-level `param` and `message` match the first entry.","items":{"type":"object","required":["param","message"],"properties":{"param":{"type":"string","description":"The invalid parameter, in dot notation for nested fields.","isRequired":true,"uniqueKey":"error.errors.items.[INDEX].param","typeLabel":"string"},"message":{"type":"string","description":"A human-readable message about the problem. The wording can change.","isRequired":true,"uniqueKey":"error.errors.items.[INDEX].message","typeLabel":"string"}},"uniqueKey":"error.errors.items.[INDEX]","typeLabel":"object"},"uniqueKey":"error.errors","typeLabel":"object[]"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":{"type":"permission_error","code":"resync_credits_exhausted","message":"This project doesn't have enough resync credits left to train this source again. Upgrade to get more.","param":null,"request_id":"req_8Fq2kLm9TzX4vB7nC1dR5sYw"}},"examples":{"Example":{"title":"Example","value":{"error":{"type":"permission_error","code":"resync_credits_exhausted","message":"This project doesn't have enough resync credits left to train this source again. Upgrade to get more.","param":null,"request_id":"req_8Fq2kLm9TzX4vB7nC1dR5sYw"}}}},"exampleType":"examples"}},"exampleType":"examples"},"0a2c85b1-a0f7-4206-b436-6a70b3285661":{"description":"`resource_not_found`: No source with this ID exists in the project, or the key can't access its agent.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["type","code","message","param","request_id"],"properties":{"type":{"type":"string","enum":["authentication_error","permission_error","not_found_error","invalid_request_error","idempotency_error","rate_limit_error","api_error"],"description":"The type of error returned.","isRequired":true,"uniqueKey":"error.type","typeLabel":"enum\u003cstring>"},"code":{"type":"string","description":"A short string identifying the error. Codes are stable, so handle errors by `code`. New codes may be added.","examples":["validation_failed","insufficient_permission","resource_not_found"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"A human-readable message with more details about the error. The wording can change, so don't parse it.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"param":{"oneOf":[{"type":"string","description":"If the error is parameter-specific, the parameter related to the error, in dot notation for nested fields, such as `member_ids.1`. For `validation_failed`, the first entry of `errors`.","isRequired":true,"uniqueKey":"error.param.oneOf.0","typeLabel":"string"},{"type":"null","description":"If the error is parameter-specific, the parameter related to the error, in dot notation for nested fields, such as `member_ids.1`. For `validation_failed`, the first entry of `errors`.","isRequired":true,"uniqueKey":"error.param.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error.param","typeLabel":"string | null"},"request_id":{"type":"string","description":"The ID of the request, also returned in the `X-Request-Id` header. Include it when you contact support.","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"},"errors":{"type":"array","description":"For `validation_failed` only: every invalid parameter. The top-level `param` and `message` match the first entry.","items":{"type":"object","required":["param","message"],"properties":{"param":{"type":"string","description":"The invalid parameter, in dot notation for nested fields.","isRequired":true,"uniqueKey":"error.errors.items.[INDEX].param","typeLabel":"string"},"message":{"type":"string","description":"A human-readable message about the problem. The wording can change.","isRequired":true,"uniqueKey":"error.errors.items.[INDEX].message","typeLabel":"string"}},"uniqueKey":"error.errors.items.[INDEX]","typeLabel":"object"},"uniqueKey":"error.errors","typeLabel":"object[]"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":{"type":"not_found_error","code":"resource_not_found","message":"No knowledge base source with this ID exists, or this API key can't access it.","param":null,"request_id":"req_8Fq2kLm9TzX4vB7nC1dR5sYw"}},"examples":{"Example":{"title":"Example","value":{"error":{"type":"not_found_error","code":"resource_not_found","message":"No knowledge base source with this ID exists, or this API key can't access it.","param":null,"request_id":"req_8Fq2kLm9TzX4vB7nC1dR5sYw"}}}},"exampleType":"examples"}},"exampleType":"examples"},"dda2fe14-7a63-449d-b5f7-18b534f0fb82":{"description":"- `knowledge_base_linked`: The agent uses another agent's knowledge base and has no sources of its own.\n- `source_not_ready`: The source is still training.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["type","code","message","param","request_id"],"properties":{"type":{"type":"string","enum":["authentication_error","permission_error","not_found_error","invalid_request_error","idempotency_error","rate_limit_error","api_error"],"description":"The type of error returned.","isRequired":true,"uniqueKey":"error.type","typeLabel":"enum\u003cstring>"},"code":{"type":"string","description":"A short string identifying the error. Codes are stable, so handle errors by `code`. New codes may be added.","examples":["validation_failed","insufficient_permission","resource_not_found"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"A human-readable message with more details about the error. The wording can change, so don't parse it.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"param":{"oneOf":[{"type":"string","description":"If the error is parameter-specific, the parameter related to the error, in dot notation for nested fields, such as `member_ids.1`. For `validation_failed`, the first entry of `errors`.","isRequired":true,"uniqueKey":"error.param.oneOf.0","typeLabel":"string"},{"type":"null","description":"If the error is parameter-specific, the parameter related to the error, in dot notation for nested fields, such as `member_ids.1`. For `validation_failed`, the first entry of `errors`.","isRequired":true,"uniqueKey":"error.param.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error.param","typeLabel":"string | null"},"request_id":{"type":"string","description":"The ID of the request, also returned in the `X-Request-Id` header. Include it when you contact support.","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"},"errors":{"type":"array","description":"For `validation_failed` only: every invalid parameter. The top-level `param` and `message` match the first entry.","items":{"type":"object","required":["param","message"],"properties":{"param":{"type":"string","description":"The invalid parameter, in dot notation for nested fields.","isRequired":true,"uniqueKey":"error.errors.items.[INDEX].param","typeLabel":"string"},"message":{"type":"string","description":"A human-readable message about the problem. The wording can change.","isRequired":true,"uniqueKey":"error.errors.items.[INDEX].message","typeLabel":"string"}},"uniqueKey":"error.errors.items.[INDEX]","typeLabel":"object"},"uniqueKey":"error.errors","typeLabel":"object[]"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":{"type":"invalid_request_error","code":"source_not_ready","message":"This source is still being trained. Change it once its status is processed or failed.","param":null,"request_id":"req_8Fq2kLm9TzX4vB7nC1dR5sYw"}},"examples":{"Example":{"title":"Example","value":{"error":{"type":"invalid_request_error","code":"source_not_ready","message":"This source is still being trained. Change it once its status is processed or failed.","param":null,"request_id":"req_8Fq2kLm9TzX4vB7nC1dR5sYw"}}}},"exampleType":"examples"}},"exampleType":"examples"},"6053abbc-f0d9-4259-955b-f86b8ce71ce5":{"description":"`validation_failed`, or `invalid_cursor` for lists.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["type","code","message","param","request_id"],"properties":{"type":{"type":"string","enum":["authentication_error","permission_error","not_found_error","invalid_request_error","idempotency_error","rate_limit_error","api_error"],"description":"The type of error returned.","isRequired":true,"uniqueKey":"error.type","typeLabel":"enum\u003cstring>"},"code":{"type":"string","description":"A short string identifying the error. Codes are stable, so handle errors by `code`. New codes may be added.","examples":["validation_failed","insufficient_permission","resource_not_found"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"A human-readable message with more details about the error. The wording can change, so don't parse it.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"param":{"oneOf":[{"type":"string","description":"If the error is parameter-specific, the parameter related to the error, in dot notation for nested fields, such as `member_ids.1`. For `validation_failed`, the first entry of `errors`.","isRequired":true,"uniqueKey":"error.param.oneOf.0","typeLabel":"string"},{"type":"null","description":"If the error is parameter-specific, the parameter related to the error, in dot notation for nested fields, such as `member_ids.1`. For `validation_failed`, the first entry of `errors`.","isRequired":true,"uniqueKey":"error.param.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error.param","typeLabel":"string | null"},"request_id":{"type":"string","description":"The ID of the request, also returned in the `X-Request-Id` header. Include it when you contact support.","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"},"errors":{"type":"array","description":"For `validation_failed` only: every invalid parameter. The top-level `param` and `message` match the first entry.","items":{"type":"object","required":["param","message"],"properties":{"param":{"type":"string","description":"The invalid parameter, in dot notation for nested fields.","isRequired":true,"uniqueKey":"error.errors.items.[INDEX].param","typeLabel":"string"},"message":{"type":"string","description":"A human-readable message about the problem. The wording can change.","isRequired":true,"uniqueKey":"error.errors.items.[INDEX].message","typeLabel":"string"}},"uniqueKey":"error.errors.items.[INDEX]","typeLabel":"object"},"uniqueKey":"error.errors","typeLabel":"object[]"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":{"type":"invalid_request_error","code":"validation_failed","message":"The name field is required.","param":"name","request_id":"req_8Fq2kLm9TzX4vB7nC1dR5sYw","errors":[{"param":"name","message":"The name field is required."}]}},"examples":{"Example":{"title":"Example","value":{"error":{"type":"invalid_request_error","code":"validation_failed","message":"The name field is required.","param":"name","request_id":"req_8Fq2kLm9TzX4vB7nC1dR5sYw","errors":[{"param":"name","message":"The name field is required."}]}}}},"exampleType":"examples"}},"exampleType":"examples"},"de6a6842-5caa-4207-8783-0f18bc099319":{"description":"`rate_limit_exceeded`.","headers":{"Retry-After":{"description":"The number of seconds to wait before retrying.","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["type","code","message","param","request_id"],"properties":{"type":{"type":"string","enum":["authentication_error","permission_error","not_found_error","invalid_request_error","idempotency_error","rate_limit_error","api_error"],"description":"The type of error returned.","isRequired":true,"uniqueKey":"error.type","typeLabel":"enum\u003cstring>"},"code":{"type":"string","description":"A short string identifying the error. Codes are stable, so handle errors by `code`. New codes may be added.","examples":["validation_failed","insufficient_permission","resource_not_found"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"A human-readable message with more details about the error. The wording can change, so don't parse it.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"param":{"oneOf":[{"type":"string","description":"If the error is parameter-specific, the parameter related to the error, in dot notation for nested fields, such as `member_ids.1`. For `validation_failed`, the first entry of `errors`.","isRequired":true,"uniqueKey":"error.param.oneOf.0","typeLabel":"string"},{"type":"null","description":"If the error is parameter-specific, the parameter related to the error, in dot notation for nested fields, such as `member_ids.1`. For `validation_failed`, the first entry of `errors`.","isRequired":true,"uniqueKey":"error.param.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error.param","typeLabel":"string | null"},"request_id":{"type":"string","description":"The ID of the request, also returned in the `X-Request-Id` header. Include it when you contact support.","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"},"errors":{"type":"array","description":"For `validation_failed` only: every invalid parameter. The top-level `param` and `message` match the first entry.","items":{"type":"object","required":["param","message"],"properties":{"param":{"type":"string","description":"The invalid parameter, in dot notation for nested fields.","isRequired":true,"uniqueKey":"error.errors.items.[INDEX].param","typeLabel":"string"},"message":{"type":"string","description":"A human-readable message about the problem. The wording can change.","isRequired":true,"uniqueKey":"error.errors.items.[INDEX].message","typeLabel":"string"}},"uniqueKey":"error.errors.items.[INDEX]","typeLabel":"object"},"uniqueKey":"error.errors","typeLabel":"object[]"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"type":"authentication_error","code":"validation_failed","message":"\u003cstring>","param":"\u003cstring>","request_id":"\u003cstring>","errors":[{"param":"\u003cstring>","message":"\u003cstring>"}]}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"8529c987-60c7-4138-9cff-c6fa1c1f2729":{"apiKey":{"type":"http","scheme":"bearer","description":"A project API key, created in the dashboard.","scopes":[],"schemeName":"apiKey"}}},"servers":{"16086fde-3c32-456e-b395-21dafcd77092":{"url":"https://api.chatling.ai/v3"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"A project API key, created in the dashboard.","scopes":[],"schemeName":"apiKey"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"A project API key, created in the dashboard.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"apiKey","name":"Authorization"}],"title":"apiKey"}]},"originalFileLocation":"api-reference/v3/openapi.json"},"subdomain":"chatling-21192973","siteName":"Chatling Documentation","title":"Update a knowledge base source - Chatling Documentation","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-30T03:59:48.499Z","originalFileLocation":"api-reference/v3/knowledge-base/update-knowledge-base-source.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Updates the auto-sync of a link or connected source, or the content of a text or FAQ source. Changing auto-sync doesn\u0026#x27;t retrain the source. New content retrains the source in the background and uses resync credits when training finishes, so the project needs enough credits, and the source must be processed or failed. An FAQ keeps the question or answer you don\u0026#x27;t pass. Documents can\u0026#x27;t be updated. Delete the source and add the new file instead. Sources added through a connection only take auto_sync. To change their content, edit the original article, page, or file, then resync the source.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Chatling Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/chatling-21192973/I8bfejheDKLkYdJT/_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/chatling-21192973/I8bfejheDKLkYdJT/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/chatling-21192973/I8bfejheDKLkYdJT/_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/chatling-21192973/I8bfejheDKLkYdJT/_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/chatling-21192973/I8bfejheDKLkYdJT/_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/chatling-21192973/I8bfejheDKLkYdJT/_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/chatling-21192973/I8bfejheDKLkYdJT/_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/chatling-21192973/I8bfejheDKLkYdJT/_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/chatling-21192973/I8bfejheDKLkYdJT/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Update a knowledge base source - Chatling Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Updates the auto-sync of a link or connected source, or the content of a text or FAQ source. Changing auto-sync doesn\u0026#x27;t retrain the source. New content retrains the source in the background and uses resync credits when training finishes, so the project needs enough credits, and the source must be processed or failed. An FAQ keeps the question or answer you don\u0026#x27;t pass. Documents can\u0026#x27;t be updated. Delete the source and add the new file instead. Sources added through a connection only take auto_sync. To change their content, edit the original article, page, or file, then resync the source.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Chatling Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.chatling.ai/api-reference/v3/knowledge-base/update-knowledge-base-source\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://chatling-21192973.mintlify.site/_mintlify/api/og/v2?division=Knowledge+base\u0026amp;title=Update+a+knowledge+base+source\u0026amp;description=Updates+the+auto-sync+of+a+link+or+connected+source%2C+or+the+content+of+a+text+or+FAQ+source.+Changing+auto-sync+doesn%27t+retrain+the+source.%0A%0ANew+content+retrain\u0026amp;theme=ab88d30c4ba459aae5018e6e\u0026amp;signature=0a303c434cf905634259c428556e5872bfe0dc9966c812fa823a96761fc7eaca\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Update a knowledge base source - Chatling Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Updates the auto-sync of a link or connected source, or the content of a text or FAQ source. Changing auto-sync doesn\u0026#x27;t retrain the source. New content retrains the source in the background and uses resync credits when training finishes, so the project needs enough credits, and the source must be processed or failed. An FAQ keeps the question or answer you don\u0026#x27;t pass. Documents can\u0026#x27;t be updated. Delete the source and add the new file instead. Sources added through a connection only take auto_sync. To change their content, edit the original article, page, or file, then resync the source.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://chatling-21192973.mintlify.site/_mintlify/api/og/v2?division=Knowledge+base\u0026amp;title=Update+a+knowledge+base+source\u0026amp;description=Updates+the+auto-sync+of+a+link+or+connected+source%2C+or+the+content+of+a+text+or+FAQ+source.+Changing+auto-sync+doesn%27t+retrain+the+source.%0A%0ANew+content+retrain\u0026amp;theme=ab88d30c4ba459aae5018e6e\u0026amp;signature=0a303c434cf905634259c428556e5872bfe0dc9966c812fa823a96761fc7eaca\">\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/chatling-21192973/I8bfejheDKLkYdJT/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Chatling Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0D9373\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.chatling.ai/api-reference/v3/knowledge-base/update-knowledge-base-source\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/v3/knowledge-base/update-knowledge-base-source.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.chatling.ai/#organization\",\"name\":\"Chatling Documentation\",\"url\":\"https://docs.chatling.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/chatling-21192973/28-2rxbvH5ywRTMu/logo/chatling-logo.svg?fit=max\u0026auto=format\u0026n=28-2rxbvH5ywRTMu\u0026q=85\u0026s=b2dff50e5e554f9a1821ad6c4e86b8cd\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.chatling.ai#website\",\"name\":\"Chatling Documentation\",\"url\":\"https://docs.chatling.ai\",\"publisher\":{\"@id\":\"https://docs.chatling.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.chatling.ai/api-reference/v3/knowledge-base/update-knowledge-base-source#webpage\",\"url\":\"https://docs.chatling.ai/api-reference/v3/knowledge-base/update-knowledge-base-source\",\"name\":\"Update a knowledge base source\",\"description\":\"Updates the auto-sync of a link or connected source, or the content of a text or FAQ source. Changing auto-sync doesn't retrain the source. New content retrains the source in the background and uses resync credits when training finishes, so the project needs enough credits, and the source must be processed or failed. An FAQ keeps the question or answer you don't pass. Documents can't be updated. Delete the source and add the new file instead. Sources added through a connection only take auto_sync. To change their content, edit the original article, page, or file, then resync the source.\",\"dateModified\":\"2026-11-30T03:59:48.499Z\",\"isPartOf\":{\"@id\":\"https://docs.chatling.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.chatling.ai/api-reference/v3/knowledge-base/update-knowledge-base-source#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.chatling.ai/api-reference/v3/knowledge-base/update-knowledge-base-source#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Reference\",\"item\":\"https://docs.chatling.ai/api-reference/v3/api-key/get-current-api-key\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Knowledge base\",\"item\":\"https://docs.chatling.ai/api-reference/v3/knowledge-base/get-knowledge-base-summary\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Update a knowledge base source\",\"item\":\"https://docs.chatling.ai/api-reference/v3/knowledge-base/update-knowledge-base-source\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.chatling.ai/api-reference/v3/knowledge-base/update-knowledge-base-source#apireference\",\"headline\":\"Update a knowledge base source\",\"name\":\"Update a knowledge base source\",\"description\":\"Updates the auto-sync of a link or connected source, or the content of a text or FAQ source. Changing auto-sync doesn't retrain the source. New content retrains the source in the background and uses resync credits when training finishes, so the project needs enough credits, and the source must be processed or failed. An FAQ keeps the question or answer you don't pass. Documents can't be updated. Delete the source and add the new file instead. Sources added through a connection only take auto_sync. To change their content, edit the original article, page, or file, then resync the source.\",\"url\":\"https://docs.chatling.ai/api-reference/v3/knowledge-base/update-knowledge-base-source\",\"mainEntityOfPage\":{\"@id\":\"https://docs.chatling.ai/api-reference/v3/knowledge-base/update-knowledge-base-source#webpage\"},\"dateModified\":\"2026-11-30T03:59:48.499Z\",\"publisher\":{\"@id\":\"https://docs.chatling.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.chatling.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Chatling Documentation\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Chatling Documentation\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/v3/knowledge-base/update-knowledge-base-source.md","siteName":"Chatling Documentation","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"API Reference","groups":[{"group":"Get started","pages":[{"title":"Introduction","sidebarTitle":"Introduction","href":"/api-reference/v3/introduction"},{"title":"Authentication","href":"/api-reference/v3/authentication"},{"title":"Errors","href":"/api-reference/v3/errors"},{"title":"Pagination","href":"/api-reference/v3/pagination"},{"title":"MCP server","href":"/api-reference/v3/mcp"}]},{"group":"Reference","pages":[{"group":"API key","pages":[{"title":"Retrieve the current API key","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json get /me","href":"/api-reference/v3/api-key/get-current-api-key"}]},{"group":"Project","pages":[{"title":"Retrieve the project","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json get /project","href":"/api-reference/v3/project/get-project"},{"title":"Update the project","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json patch /project","href":"/api-reference/v3/project/update-project"},{"title":"Retrieve usage","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json get /usage","href":"/api-reference/v3/project/get-usage"}]},{"group":"Members","pages":[{"title":"List members","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json get /members","href":"/api-reference/v3/members/list-members"}]},{"group":"AI models","pages":[{"title":"List AI models","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json get /models","href":"/api-reference/v3/ai-models/list-models"}]},{"group":"Agents","pages":[{"title":"List AI agents","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json get /agents","href":"/api-reference/v3/agents/list-agents"},{"title":"Create an AI agent","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json post /agents","href":"/api-reference/v3/agents/create-agent"},{"title":"Retrieve an AI agent","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json get /agents/{agent}","href":"/api-reference/v3/agents/get-agent"},{"title":"Delete an AI agent","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json delete /agents/{agent}","href":"/api-reference/v3/agents/delete-agent"},{"title":"Update an AI agent","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json patch /agents/{agent}","href":"/api-reference/v3/agents/update-agent"},{"title":"Duplicate an AI agent","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json post /agents/{agent}/duplicate","href":"/api-reference/v3/agents/duplicate-agent"}]},{"group":"Chatbots","pages":[{"title":"List chatbots","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json get /chatbots","href":"/api-reference/v3/chatbots/list-chatbots"},{"title":"Create a chatbot","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json post /chatbots","href":"/api-reference/v3/chatbots/create-chatbot"},{"title":"List chatbot templates","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json get /chatbots/templates","href":"/api-reference/v3/chatbots/list-chatbot-templates"},{"title":"Retrieve a chatbot","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json get /chatbots/{chatbot}","href":"/api-reference/v3/chatbots/get-chatbot"},{"title":"Delete a chatbot","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json delete /chatbots/{chatbot}","href":"/api-reference/v3/chatbots/delete-chatbot"},{"title":"Update a chatbot","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json patch /chatbots/{chatbot}","href":"/api-reference/v3/chatbots/update-chatbot"},{"title":"Duplicate a chatbot","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json post /chatbots/{chatbot}/duplicate","href":"/api-reference/v3/chatbots/duplicate-chatbot"}]},{"group":"Analytics","pages":[{"title":"Get the analytics overview","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json get /analytics/overview","href":"/api-reference/v3/analytics/get-analytics-overview"},{"title":"List countries","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json get /analytics/countries","href":"/api-reference/v3/analytics/list-analytics-countries"},{"title":"List channels","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json get /analytics/channels","href":"/api-reference/v3/analytics/list-analytics-channels"},{"title":"List pages","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json get /analytics/pages","href":"/api-reference/v3/analytics/list-analytics-pages"},{"title":"List topics by conversations","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json get /analytics/topics","href":"/api-reference/v3/analytics/list-analytics-topics"},{"title":"List busiest hours","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json get /analytics/hours","href":"/api-reference/v3/analytics/list-analytics-hours"}]},{"group":"Channels","pages":[{"title":"List channels","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json get /channels","href":"/api-reference/v3/channels/list-channels"},{"title":"Update a channel's settings","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json patch /channels/{channel}","href":"/api-reference/v3/channels/update-channel"}]},{"group":"WhatsApp","pages":[{"title":"List WhatsApp templates","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json get /whatsapp/templates","href":"/api-reference/v3/whatsapp/list-whatsapp-templates"},{"title":"Refresh WhatsApp templates","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json post /whatsapp/templates/refresh","href":"/api-reference/v3/whatsapp/refresh-whatsapp-templates"},{"title":"Retrieve a WhatsApp template","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json get /whatsapp/templates/{template}","href":"/api-reference/v3/whatsapp/get-whatsapp-template"},{"title":"Delete a WhatsApp template","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json delete /whatsapp/templates/{template}","href":"/api-reference/v3/whatsapp/delete-whatsapp-template"},{"title":"Send a WhatsApp template","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json post /whatsapp/messages","href":"/api-reference/v3/whatsapp/send-whatsapp-template"}]},{"group":"Conversations","pages":[{"title":"List conversations","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json get /conversations","href":"/api-reference/v3/conversations/list-conversations"},{"title":"Start a conversation","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json post /conversations","href":"/api-reference/v3/conversations/start-conversation"},{"title":"Retrieve a conversation","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json get /conversations/{conversation}","href":"/api-reference/v3/conversations/get-conversation"},{"title":"Delete a conversation","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json delete /conversations/{conversation}","href":"/api-reference/v3/conversations/delete-conversation"},{"title":"Update a conversation","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json patch /conversations/{conversation}","href":"/api-reference/v3/conversations/update-conversation"},{"title":"Retrieve a conversation's usage","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json get /conversations/{conversation}/usage","href":"/api-reference/v3/conversations/get-conversation-usage"},{"title":"List the messages of a conversation","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json get /conversations/{conversation}/messages","href":"/api-reference/v3/conversations/list-conversation-messages"},{"title":"Send a user message","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json post /conversations/{conversation}/messages","href":"/api-reference/v3/conversations/send-user-message"},{"title":"Update a message","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json patch /conversations/{conversation}/messages/{message}","href":"/api-reference/v3/conversations/update-message"},{"title":"Send a reply","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json post /conversations/{conversation}/replies","href":"/api-reference/v3/conversations/send-reply"},{"title":"Add a note","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json post /conversations/{conversation}/notes","href":"/api-reference/v3/conversations/send-note"},{"title":"End a conversation","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json post /conversations/{conversation}/end","href":"/api-reference/v3/conversations/end-conversation"},{"title":"Upload an attachment","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json post /conversations/{conversation}/attachments","href":"/api-reference/v3/conversations/upload-attachment"},{"title":"Delete an attachment","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json delete /conversations/{conversation}/attachments/{attachment}","href":"/api-reference/v3/conversations/delete-attachment"},{"title":"Download a message attachment","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json get /conversations/{conversation}/messages/{message}/attachments/{attachment}","href":"/api-reference/v3/conversations/download-message-attachment"}]},{"group":"Contacts","pages":[{"title":"List contacts","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json get /contacts","href":"/api-reference/v3/contacts/list-contacts"},{"title":"Create a contact","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json post /contacts","href":"/api-reference/v3/contacts/create-contact"},{"title":"Retrieve a contact","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json get /contacts/{contact}","href":"/api-reference/v3/contacts/get-contact"},{"title":"Delete a contact","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json delete /contacts/{contact}","href":"/api-reference/v3/contacts/delete-contact"},{"title":"Update a contact","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json patch /contacts/{contact}","href":"/api-reference/v3/contacts/update-contact"}]},{"group":"Knowledge base","pages":[{"title":"Get a knowledge base summary","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json get /knowledge-base/summary","href":"/api-reference/v3/knowledge-base/get-knowledge-base-summary"},{"title":"List knowledge base sources","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json get /knowledge-base/sources","href":"/api-reference/v3/knowledge-base/list-knowledge-base-sources"},{"title":"Add a knowledge base source","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json post /knowledge-base/sources","href":"/api-reference/v3/knowledge-base/create-knowledge-base-source"},{"title":"Create a document upload","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json post /knowledge-base/uploads","href":"/api-reference/v3/knowledge-base/create-knowledge-base-upload"},{"title":"Add knowledge base sources in bulk","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json post /knowledge-base/sources/batch","href":"/api-reference/v3/knowledge-base/create-knowledge-base-sources"},{"title":"Retrieve a knowledge base source","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json get /knowledge-base/sources/{source}","href":"/api-reference/v3/knowledge-base/get-knowledge-base-source"},{"title":"Delete a knowledge base source","description":"Permanently deletes a source from the knowledge base. It can't be undone.","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json delete /knowledge-base/sources/{source}","href":"/api-reference/v3/knowledge-base/delete-knowledge-base-source"},{"title":"Update a knowledge base source","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json patch /knowledge-base/sources/{source}","href":"/api-reference/v3/knowledge-base/update-knowledge-base-source"},{"title":"Delete knowledge base sources in bulk","description":"Deletes up to 100 sources, each like [Delete a knowledge base source](/api-reference/v3/knowledge-base/delete-knowledge-base-source). Each source is deleted independently, and the result for each ID says whether it was deleted or why not. A missing source, or a source of a suspended agent, doesn't stop the rest.\n\nThe whole request fails only if the key can't delete sources or the request is invalid, for example if an ID appears twice.","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json post /knowledge-base/sources/batch-delete","href":"/api-reference/v3/knowledge-base/delete-knowledge-base-sources"},{"title":"Resync a knowledge base source","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json post /knowledge-base/sources/{source}/resync","href":"/api-reference/v3/knowledge-base/resync-knowledge-base-source"},{"title":"Resync knowledge base sources in bulk","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json post /knowledge-base/sources/batch-resync","href":"/api-reference/v3/knowledge-base/resync-knowledge-base-sources"}]},{"group":"Labels","pages":[{"title":"List labels","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json get /labels","href":"/api-reference/v3/labels/list-labels"},{"title":"Create a label","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json post /labels","href":"/api-reference/v3/labels/create-label"},{"title":"Retrieve a label","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json get /labels/{label}","href":"/api-reference/v3/labels/get-label"},{"title":"Delete a label","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json delete /labels/{label}","href":"/api-reference/v3/labels/delete-label"},{"title":"Update a label","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json patch /labels/{label}","href":"/api-reference/v3/labels/update-label"}]},{"group":"Teams","pages":[{"title":"List teams","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json get /teams","href":"/api-reference/v3/teams/list-teams"},{"title":"Create a team","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json post /teams","href":"/api-reference/v3/teams/create-team"},{"title":"Retrieve a team","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json get /teams/{team}","href":"/api-reference/v3/teams/get-team"},{"title":"Delete a team","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json delete /teams/{team}","href":"/api-reference/v3/teams/delete-team"},{"title":"Update a team","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json patch /teams/{team}","href":"/api-reference/v3/teams/update-team"},{"title":"Add a team member","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json put /teams/{team}/members/{account}","href":"/api-reference/v3/teams/add-team-member"},{"title":"Remove a team member","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json delete /teams/{team}/members/{account}","href":"/api-reference/v3/teams/remove-team-member"}]},{"group":"Topics","pages":[{"title":"List topics","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json get /topics","href":"/api-reference/v3/topics/list-topics"}]},{"group":"Variables","pages":[{"title":"List variables","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json get /variables","href":"/api-reference/v3/variables/list-variables"},{"title":"Create a variable","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json post /variables","href":"/api-reference/v3/variables/create-variable"},{"title":"Retrieve a variable","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json get /variables/{variable}","href":"/api-reference/v3/variables/get-variable"},{"title":"Delete a variable","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json delete /variables/{variable}","href":"/api-reference/v3/variables/delete-variable"},{"title":"Update a variable","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json patch /variables/{variable}","href":"/api-reference/v3/variables/update-variable"}]},{"group":"Workflows","pages":[{"title":"List workflows","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json get /workflows","href":"/api-reference/v3/workflows/list-workflows"},{"title":"Retrieve the workflow catalog","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json get /workflows/catalog","href":"/api-reference/v3/workflows/get-workflow-catalog"},{"title":"Retrieve a workflow","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json get /workflows/{workflow}","href":"/api-reference/v3/workflows/get-workflow"},{"title":"Update a workflow","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json patch /workflows/{workflow}","href":"/api-reference/v3/workflows/update-workflow"},{"title":"List workflow runs","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json get /workflows/{workflow}/runs","href":"/api-reference/v3/workflows/list-workflow-runs"},{"title":"Retrieve a workflow run","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json get /workflows/{workflow}/runs/{run}","href":"/api-reference/v3/workflows/get-workflow-run"}]}]}]}]},"basePath":"","title":"Update a knowledge base source - Chatling Documentation","deploymentId":"dpl_6UE2cqB47X6P7P3F2hD3UphW6ijc","buildId":"dpl_6UE2cqB47X6P7P3F2hD3UphW6ijc","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-BMn8tSe3.js","snippetPresets-Dl5ZrD9W.js","utils-CddEzDcs.js","style-to-object-BY3JEAdk.js","utils-Dym31Pnf.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-ZiqR8hPK.js","conditional-requirements-CFM0id0Q.js","cloneDeep-D3fPbylz.js","_Uint8Array-BcNtDki0.js","isObject-FP1Yky1u.js","ApiExamples-4Sf3CFhl.js","usePlaygroundInputsStore-Ck91l6q0.js","shallow-DapBSR9G.js","isEqual-Clu_sGzx.js","CodeSnippets-DAVHdSX2.js","CodeSnippet-Be6AcO_D.js","use-playground-group-access-CteWws2O.js","Page-_aL_PM_2.js","api-description-markdown-BPoPkVJQ.js","DynamicMarkdown-QJ7LkRm3.js","SectionHeading-DyxPTJti.js","MethodPill-CGjK-dNY.js","getPastedJson-C4YIGTOJ.js","Check2Icon-B7COpIZE.js","axios-CsQoIw0U.js","Markdown-Bquzb4Gw.js","AssistantPageLink-wSgGy_i5.js","dist-Bg48sGSz.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}