All of WotNot's APIs use Bearer token authentication. Send your account token as Bearer <token>. You can find it in Settings > Account Settings > Developer. Keep it on your server: anyone who has it can call the API as your account.
When the knowledge base was last trained, in the format YYYY-MM-DD HH:MM:SS.ffffff, for example 2024-12-27 09:13:26.905000.
Example:
"2024-12-27 09:13:26.905000"
Last modified on October 23, 2026
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"WotNot","description":"Official WotNot documentation. WotNot is a no-code platform for automating customer conversations with AI Agents on Websites, WhatsApp, Instagram, Email, Mobile apps, and Voice.","colors":{"primary":"#141414","light":"#D4D4D4","dark":"#141414"},"logo":{"light":"https://mintcdn.com/wotnot/o37K8lyT2Z_o0x92/images/fullblack.svg?fit=max\u0026auto=format\u0026n=o37K8lyT2Z_o0x92\u0026q=85\u0026s=4dfa08701dcc20afca4595cbfb547804","dark":"https://mintcdn.com/wotnot/o37K8lyT2Z_o0x92/images/fullwhite.svg?fit=max\u0026auto=format\u0026n=o37K8lyT2Z_o0x92\u0026q=85\u0026s=3bfcd2981bfc3a8eab403f5f4d527244","href":"https://wotnot.io"},"favicon":{"light":"https://mintcdn.com/wotnot/o37K8lyT2Z_o0x92/images/icon.svg?fit=max\u0026auto=format\u0026n=o37K8lyT2Z_o0x92\u0026q=85\u0026s=5e8a7f6f7b7d15e3af99771027edba5d","dark":"https://mintcdn.com/wotnot/o37K8lyT2Z_o0x92/images/icon.svg?fit=max\u0026auto=format\u0026n=o37K8lyT2Z_o0x92\u0026q=85\u0026s=5e8a7f6f7b7d15e3af99771027edba5d"},"navbar":{"links":[{"href":"mailto:support@wotnot.io","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.wotnot.io"}},"footer":{"socials":{"x":"https://x.com/wotnot_io","linkedin":"https://www.linkedin.com/company/wotnot-io","youtube":"https://www.youtube.com/c/WotNot-io","website":"https://wotnot.io"}},"fonts":{"family":"Inter"},"integrations":{"posthog":{"apiKey":"phc_qpdLU97h6kaY5SAAvjZi9FeFyrnSX3twYoaFQQoptzdF","apiHost":"https://analytics.wotnot.io","sessionRecording":false}},"metadata":{"timestamp":true},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Changelog","icon":"book-open-cover","href":"https://product.wotnot.io/docs"},{"anchor":"Chatbot Tutorials","icon":"youtube","href":"https://www.youtube.com/playlist?list=PLGWj1ASfMDAE"},{"anchor":"Platform Tutorial","icon":"newspaper","href":"https://www.youtube.com/playlist?list=PLkWf3r2dTB-LeKqNZZgoJG_FTNYMUqnMw"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"wotnot","hasAudioNarration":false,"actualSubdomain":"wotnot","customDomains":["help.wotnot.io"],"gitSource":{"type":"github","owner":"hardikmakadia1001","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6adf184f9fac823faefcf6a2","collectionId":"a89bcdcf-1604-45f3-ae29-2c077df27773","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6adf184f9fac823faefcf6a2"},"feedback":{"thumbs":true},"entitlements":{},"buildId":"6aede8fe27d3b48d167b52a8","clientVersion":"0.0.4074","searchFilterCounts":[{"language":"default","tag":"Documentation","count":95},{"language":"default","tag":"Build","count":58},{"language":"default","tag":"Action blocks","count":36},{"language":"default","tag":"API Reference","count":25},{"language":"default","tag":"Whitelabel","count":22},{"language":"default","tag":"Integrations","count":20},{"language":"default","tag":"Deploy","count":15},{"language":"default","tag":"Setting Up","count":15},{"language":"default","tag":"Channels","count":14},{"language":"default","tag":"Account management","count":11}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","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":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/fetch-kb","slug":"/api-reference/fetch-kb","pageMetadata":{"title":"Get knowledge base","openapi":"GET /v1/ai/knowledge-base/{knowledge_base_id}","description":"Returns a knowledge base's details and its data sources, one page at a time.","href":"/api-reference/fetch-kb"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Returns a knowledge base’s details and its data sources, one page at a time.\"\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":"Get knowledge base","openapi":"GET /v1/ai/knowledge-base/{knowledge_base_id}","description":"Returns a knowledge base's details and its data sources, one page at a time.","href":"/api-reference/fetch-kb"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Get knowledge base","description":"Returns a knowledge base's details and its data sources, one page at a time.","operationId":"getKnowledgeBase","parameters":["332c9e7b-bdba-48ed-96b0-5ee78420f0e8"],"requestBody":"fe10c599-111b-4338-beca-ce97fdbba0b7","responses":{"200":"c9c79ac3-7d20-4cb8-b923-fbad36fcf727","404":"ae0a3222-46d9-493d-8eec-e91c7649057f"},"method":"get","type":"path","servers":["2eba89d2-e680-46be-a371-cc5a9d6ddd73"],"security":["44b0b298-c5e4-4f9a-889f-92890108249a"],"path":"/v1/ai/knowledge-base/{knowledge_base_id}","baseUrlOptions":["https://api.wotnot.io"],"title":"Get knowledge base","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"332c9e7b-bdba-48ed-96b0-5ee78420f0e8":{"name":"knowledge_base_id","in":"path","required":true,"description":"The ID of the knowledge base you want to fetch.","schema":{"type":"string","isRequired":true,"description":"The ID of the knowledge base you want to fetch.","uniqueKey":"","typeLabel":"string"}}},"requestBody":{"required":true,"description":"Which page of data sources to return.","content":{"application/json":{"schema":{"type":"object","required":["limit","offset"],"properties":{"limit":{"type":"integer","description":"How many data sources to return in one page, for example `100`.","example":100,"isRequired":true,"uniqueKey":"limit","typeLabel":"integer"},"offset":{"type":"integer","description":"Where to start in the list of data sources, for example `1`.","example":1,"isRequired":true,"uniqueKey":"offset","typeLabel":"integer"}},"uniqueKey":"","typeLabel":"object"},"example":{"limit":100,"offset":1},"examples":{"Example":{"title":"Example","value":{"limit":100,"offset":1}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"c9c79ac3-7d20-4cb8-b923-fbad36fcf727":{"description":"Returns the knowledge base's details, one page of its data sources in `data_source`, and `pagination` to help you fetch the rest.","content":{"application/json":{"schema":{"type":"object","required":["ok","id","name","total_tokens","total_data_sources","data_source","domains","pagination","last_trained_at"],"properties":{"ok":{"type":"boolean","description":"`true` when the request worked. Errors return `false`.","example":true,"isRequired":true,"uniqueKey":"ok","typeLabel":"boolean"},"id":{"type":"integer","description":"The knowledge base's ID.","example":2451,"isRequired":true,"uniqueKey":"id","typeLabel":"integer"},"name":{"type":"string","description":"The knowledge base's name.","example":"KNOWLEDGE_BASE_NAME","isRequired":true,"uniqueKey":"name","typeLabel":"string"},"total_tokens":{"type":"integer","description":"The total number of tokens used in the knowledge base.","example":18450,"isRequired":true,"uniqueKey":"total_tokens","typeLabel":"integer"},"total_data_sources":{"type":"integer","description":"How many data sources the knowledge base has in total.","example":12,"isRequired":true,"uniqueKey":"total_data_sources","typeLabel":"integer"},"data_source":{"type":"array","description":"One page of the knowledge base's data sources. Use `pagination` to get the others.","items":{"type":"object","required":["id","name","source","token","domain_id","refresh_frequency","last_trained_at","status","failed_reason","type","created_at","created_by","user_name"],"properties":{"id":{"type":"integer","description":"The data source's ID.","example":88213,"isRequired":true,"uniqueKey":"data_source.items.[INDEX].id","typeLabel":"integer"},"name":{"type":"string","description":"The data source's name.","example":"DATA_SOURCE_NAME","isRequired":true,"uniqueKey":"data_source.items.[INDEX].name","typeLabel":"string"},"source":{"type":"string","description":"The URL the data source came from, or its content if it was added as text.","example":"DATA_SOURCE_URL_OR_CONTENT","isRequired":true,"uniqueKey":"data_source.items.[INDEX].source","typeLabel":"string"},"token":{"type":"integer","description":"The number of tokens used in this data source.","example":1540,"isRequired":true,"uniqueKey":"data_source.items.[INDEX].token","typeLabel":"integer"},"domain_id":{"type":"integer","description":"The ID of the domain the data source belongs to.","example":3107,"isRequired":true,"uniqueKey":"data_source.items.[INDEX].domain_id","typeLabel":"integer"},"refresh_frequency":{"oneOf":[{"type":"string","description":"How often the data source is refreshed. `null` in the example.","example":null,"isRequired":true,"uniqueKey":"data_source.items.[INDEX].refresh_frequency.oneOf.0","typeLabel":"string"},{"type":"null","description":"How often the data source is refreshed. `null` in the example.","example":null,"isRequired":true,"uniqueKey":"data_source.items.[INDEX].refresh_frequency.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data_source.items.[INDEX].refresh_frequency","typeLabel":"string | null"},"last_trained_at":{"oneOf":[{"type":"string","description":"When the data source was last trained, in the format `YYYY-MM-DD HH:MM:SS.ffffff`, for example `2024-12-27 09:10:11.870000`.","example":"2024-12-27 09:10:11.870000","isRequired":true,"uniqueKey":"data_source.items.[INDEX].last_trained_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"When the data source was last trained, in the format `YYYY-MM-DD HH:MM:SS.ffffff`, for example `2024-12-27 09:10:11.870000`.","example":"2024-12-27 09:10:11.870000","isRequired":true,"uniqueKey":"data_source.items.[INDEX].last_trained_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data_source.items.[INDEX].last_trained_at","typeLabel":"string | null"},"status":{"type":"string","description":"Where the data source is in training: `in-progress`, `trained` or `failed`.","example":"trained","isRequired":true,"uniqueKey":"data_source.items.[INDEX].status","typeLabel":"string"},"failed_reason":{"oneOf":[{"type":"string","description":"Why training failed. `null` when it didn't fail.","example":null,"isRequired":true,"uniqueKey":"data_source.items.[INDEX].failed_reason.oneOf.0","typeLabel":"string"},{"type":"null","description":"Why training failed. `null` when it didn't fail.","example":null,"isRequired":true,"uniqueKey":"data_source.items.[INDEX].failed_reason.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data_source.items.[INDEX].failed_reason","typeLabel":"string | null"},"type":{"type":"string","description":"The data source type, for example `url`.","example":"url","isRequired":true,"uniqueKey":"data_source.items.[INDEX].type","typeLabel":"string"},"created_at":{"type":"string","description":"When the data source was added, in the format `YYYY-MM-DD HH:MM:SS.ffffff`, for example `2024-12-27 09:10:02.411000`.","example":"2024-12-27 09:10:02.411000","isRequired":true,"uniqueKey":"data_source.items.[INDEX].created_at","typeLabel":"string"},"created_by":{"type":"integer","description":"The ID of the user who added the data source.","example":5521,"isRequired":true,"uniqueKey":"data_source.items.[INDEX].created_by","typeLabel":"integer"},"user_name":{"type":"string","description":"The name of the user who added the data source.","example":"USER_NAME","isRequired":true,"uniqueKey":"data_source.items.[INDEX].user_name","typeLabel":"string"}},"uniqueKey":"data_source.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"data_source","typeLabel":"object[]"},"domains":{"type":"array","description":"The domains added to the knowledge base. Empty (`[]`) in the example.","items":{"type":"object","description":"One domain added to the knowledge base with Add domain data source.","additionalProperties":true,"uniqueKey":"domains.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"domains","typeLabel":"object[]"},"pagination":{"type":"object","description":"Where this page sits in the full list of data sources.","required":["limit","offset","total"],"properties":{"limit":{"type":"integer","description":"The `limit` used for this page.","example":100,"isRequired":true,"uniqueKey":"pagination.limit","typeLabel":"integer"},"offset":{"type":"integer","description":"The `offset` used for this page.","example":1,"isRequired":true,"uniqueKey":"pagination.offset","typeLabel":"integer"},"total":{"type":"integer","description":"The total number of data sources.","example":12,"isRequired":true,"uniqueKey":"pagination.total","typeLabel":"integer"}},"isRequired":true,"uniqueKey":"pagination","typeLabel":"object"},"last_trained_at":{"type":"string","description":"When the knowledge base was last trained, in the format `YYYY-MM-DD HH:MM:SS.ffffff`, for example `2024-12-27 09:13:26.905000`.","example":"2024-12-27 09:13:26.905000","isRequired":true,"uniqueKey":"last_trained_at","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"ok":true,"id":2451,"name":"KNOWLEDGE_BASE_NAME","total_tokens":18450,"total_data_sources":12,"data_source":[{"id":88213,"name":"DATA_SOURCE_NAME","source":"DATA_SOURCE_URL_OR_CONTENT","token":1540,"domain_id":3107,"refresh_frequency":null,"last_trained_at":"2024-12-27 09:10:11.870000","status":"trained","failed_reason":null,"type":"url","created_at":"2024-12-27 09:10:02.411000","created_by":5521,"user_name":"USER_NAME"}],"domains":[],"pagination":{"limit":100,"offset":1,"total":12},"last_trained_at":"2024-12-27 09:13:26.905000"},"examples":{"Example":{"title":"Example","value":{"ok":true,"id":2451,"name":"KNOWLEDGE_BASE_NAME","total_tokens":18450,"total_data_sources":12,"data_source":[{"id":88213,"name":"DATA_SOURCE_NAME","source":"DATA_SOURCE_URL_OR_CONTENT","token":1540,"domain_id":3107,"refresh_frequency":null,"last_trained_at":"2024-12-27 09:10:11.870000","status":"trained","failed_reason":null,"type":"url","created_at":"2024-12-27 09:10:02.411000","created_by":5521,"user_name":"USER_NAME"}],"domains":[],"pagination":{"limit":100,"offset":1,"total":12},"last_trained_at":"2024-12-27 09:13:26.905000"}}},"exampleType":"examples"}},"exampleType":"examples"},"ae0a3222-46d9-493d-8eec-e91c7649057f":{"description":"The knowledge base wasn't found. Check the `knowledge_base_id`.","content":{"application/json":{"schema":{"type":"object","description":"An error with a short code that says what went wrong.","required":["ok","message","error","code"],"properties":{"ok":{"type":"boolean","description":"Always `false` when something went wrong.","example":false,"isRequired":true,"uniqueKey":"ok","typeLabel":"boolean"},"message":{"type":"string","description":"What went wrong, in plain words.","example":"Please reach out to support to use this feature","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"error":{"type":"string","description":"A short error code in capital letters, for example `UNAUTHORIZED_FEATURE`. Check this in your code to tell errors apart.","example":"UNAUTHORIZED_FEATURE","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","description":"A code for the result. In these examples it matches `error`.","example":"UNAUTHORIZED_FEATURE","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"status":{"type":"integer","description":"The HTTP status code, repeated in the body. Not every error includes it.","example":401,"uniqueKey":"status","typeLabel":"integer"}},"uniqueKey":"","typeLabel":"object"},"example":{"ok":false,"message":"Resource not found","error":"RESOURCE_NOT_FOUND","code":"RESOURCE_NOT_FOUND"},"examples":{"Example":{"title":"Example","value":{"ok":false,"message":"Resource not found","error":"RESOURCE_NOT_FOUND","code":"RESOURCE_NOT_FOUND"}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"44b0b298-c5e4-4f9a-889f-92890108249a":{"bearerAuth":{"type":"http","scheme":"bearer","description":"All of WotNot's APIs use Bearer token authentication. Send your account token as `Bearer \u003ctoken>`. You can find it in Settings > Account Settings > Developer. Keep it on your server: anyone who has it can call the API as your account.","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"2eba89d2-e680-46be-a371-cc5a9d6ddd73":{"url":"https://api.wotnot.io","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"All of WotNot's APIs use Bearer token authentication. Send your account token as `Bearer \u003ctoken>`. You can find it in Settings > Account Settings > Developer. Keep it on your server: anyone who has it can call the API as your account.","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"All of WotNot's APIs use Bearer token authentication. Send your account token as `Bearer \u003ctoken>`. You can find it in Settings > Account Settings > Developer. Keep it on your server: anyone who has it can call the API as your account.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"api-reference/get-knowledge-base.json"},"subdomain":"wotnot","siteName":"WotNot","title":"Get knowledge base - WotNot","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-23T04:33:57.556Z","gitLastModified":"2026-10-23T04:33:30.000Z","originalFileLocation":"api-reference/fetch-kb.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=\"Returns a knowledge base\u0026#x27;s details and its data sources, one page at a time.\">\u003cmeta data-mint-head name=\"application-name\" content=\"WotNot\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/wotnot/8-BMyhs8AwEwoRlA/_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/wotnot/8-BMyhs8AwEwoRlA/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/wotnot/8-BMyhs8AwEwoRlA/_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/wotnot/8-BMyhs8AwEwoRlA/_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/wotnot/8-BMyhs8AwEwoRlA/_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/wotnot/8-BMyhs8AwEwoRlA/_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/wotnot/8-BMyhs8AwEwoRlA/_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/wotnot/8-BMyhs8AwEwoRlA/_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/wotnot/8-BMyhs8AwEwoRlA/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get knowledge base - WotNot\">\u003cmeta data-mint-head property=\"og:description\" content=\"Returns a knowledge base\u0026#x27;s details and its data sources, one page at a time.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"WotNot\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://help.wotnot.io/api-reference/fetch-kb\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://wotnot.mintlify.site/_mintlify/api/og/v2?division=Knowledge+Base\u0026amp;title=Get+knowledge+base\u0026amp;description=Returns+a+knowledge+base%27s+details+and+its+data+sources%2C+one+page+at+a+time.\u0026amp;theme=d9717b5e43a8114c1f6e4db6\u0026amp;signature=361613ecc840ae3cff618c3b08e4a2653179565128aa3a10ea2accdbf333fc36\">\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=\"Get knowledge base - WotNot\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Returns a knowledge base\u0026#x27;s details and its data sources, one page at a time.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://wotnot.mintlify.site/_mintlify/api/og/v2?division=Knowledge+Base\u0026amp;title=Get+knowledge+base\u0026amp;description=Returns+a+knowledge+base%27s+details+and+its+data+sources%2C+one+page+at+a+time.\u0026amp;theme=d9717b5e43a8114c1f6e4db6\u0026amp;signature=361613ecc840ae3cff618c3b08e4a2653179565128aa3a10ea2accdbf333fc36\">\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/wotnot/8-BMyhs8AwEwoRlA/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"WotNot\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#141414\">\u003clink data-mint-head rel=\"canonical\" href=\"https://help.wotnot.io/api-reference/fetch-kb\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/fetch-kb.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://help.wotnot.io/#organization\",\"name\":\"WotNot\",\"url\":\"https://help.wotnot.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/wotnot/o37K8lyT2Z_o0x92/images/fullblack.svg?fit=max\u0026auto=format\u0026n=o37K8lyT2Z_o0x92\u0026q=85\u0026s=4dfa08701dcc20afca4595cbfb547804\"}},{\"@type\":\"WebSite\",\"@id\":\"https://help.wotnot.io#website\",\"name\":\"WotNot\",\"url\":\"https://help.wotnot.io\",\"publisher\":{\"@id\":\"https://help.wotnot.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://help.wotnot.io/api-reference/fetch-kb#webpage\",\"url\":\"https://help.wotnot.io/api-reference/fetch-kb\",\"name\":\"Get knowledge base\",\"description\":\"Returns a knowledge base's details and its data sources, one page at a time.\",\"dateModified\":\"2026-10-23T04:33:30.000Z\",\"isPartOf\":{\"@id\":\"https://help.wotnot.io#website\"},\"breadcrumb\":{\"@id\":\"https://help.wotnot.io/api-reference/fetch-kb#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://help.wotnot.io/api-reference/fetch-kb#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Knowledge Base\",\"item\":\"https://help.wotnot.io/api-reference/create-kb\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Get knowledge base\",\"item\":\"https://help.wotnot.io/api-reference/fetch-kb\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://help.wotnot.io/api-reference/fetch-kb#apireference\",\"headline\":\"Get knowledge base\",\"name\":\"Get knowledge base\",\"description\":\"Returns a knowledge base's details and its data sources, one page at a time.\",\"url\":\"https://help.wotnot.io/api-reference/fetch-kb\",\"mainEntityOfPage\":{\"@id\":\"https://help.wotnot.io/api-reference/fetch-kb#webpage\"},\"dateModified\":\"2026-10-23T04:33:30.000Z\",\"publisher\":{\"@id\":\"https://help.wotnot.io/#organization\"},\"isPartOf\":{\"@id\":\"https://help.wotnot.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"WotNot\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"WotNot","nav":{"global":{"anchors":[{"anchor":"Changelog","icon":"book-open-cover","href":"https://product.wotnot.io/docs"},{"anchor":"Chatbot Tutorials","icon":"youtube","href":"https://www.youtube.com/playlist?list=PLGWj1ASfMDAE"},{"anchor":"Platform Tutorial","icon":"newspaper","href":"https://www.youtube.com/playlist?list=PLkWf3r2dTB-LeKqNZZgoJG_FTNYMUqnMw"}]},"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/getting-started/welcome"}]},{"tab":"API Reference","groups":[{"group":"Getting started","pages":[{"title":"Overview","href":"/api-reference/overview"},{"title":"Authentication","href":"/api-reference/authentication"},{"title":"Webhook Events","href":"/api-reference/webhook-events"}]},{"group":"Bot","pages":[{"title":"Create bot","openapi":"POST /v1/bot","href":"/api-reference/create-bot"},{"title":"Get bot flow","openapi":"GET /v1/bots/{bot_id}/flow","href":"/api-reference/fetch-bot-flow"},{"title":"Deploy bot","openapi":"POST /v1/bots/{bot_id}/deploy","href":"/api-reference/deploy-bot"},{"title":"List bots","openapi":"GET /v1/accounts/{account_id}/bots","href":"/api-reference/fetch-bot-list"}]},{"group":"Knowledge Base","pages":[{"title":"Create knowledge base","openapi":"POST /v1/ai/knowledge-base","href":"/api-reference/create-kb"},{"title":"Upload data sources","openapi":"POST /api/v1/ai/knowledge-base/{knowledge_base_id}/upload/sources","href":"/api-reference/add-url-kb"},{"title":"Add URL data sources","openapi":"POST /v1/ai/knowledge-base/{knowledge_base_id}/data-sources/webpages","href":"/api-reference/add-domain"},{"title":"Add domain data source","openapi":"POST /v1/ai/knowledge-base/{knowledge_base_id}/data-sources/domain","href":"/api-reference/add-text-file-data-sources"},{"title":"Delete data sources","openapi":"DELETE /v1/ai/knowledge-bases/{knowledge_base_id}/data-sources","href":"/api-reference/delete-data-sources"},{"title":"Get training status","openapi":"GET /api/v1/ai/status/sources","description":"Returns the training status of one or more data sources in a knowledge base, so you can tell whether each one is in progress, trained or failed.","href":"/api-reference/get-training-status"},{"title":"Get knowledge base","openapi":"GET /v1/ai/knowledge-base/{knowledge_base_id}","href":"/api-reference/fetch-kb"}]},{"group":"Conversation","pages":[{"title":"Create conversation","openapi":"api-reference/create-conversation.json POST /v1/conversations","description":"Starts a new conversation with a contact and sends the first message. What you send in the body depends on the channel: WhatsApp or SMS.","href":"/api-reference/create-conversation"},{"title":"Send agent response","openapi":"POST /api/v1/conversation/{conversation_id}/messages","href":"/api-reference/close-conversation"},{"title":"Close conversation","openapi":"api-reference/close-conversation.json POST /api/v1/conversation/{conversation_id}/events","href":"/api-reference/agent-response"},{"title":"Change assignee","openapi":"api-reference/change-assignee.json POST /api/v1/conversation/{conversation_id}/events","href":"/api-reference/changing-assignee"},{"title":"Update variable","openapi":"POST /v1/accounts/{account_id}/conversations/{conversation_id}/variables","href":"/api-reference/update-variable"}]},{"group":"Contacts","pages":[{"title":"Create contacts","openapi":"api-reference/create-contacts.json POST /v1/conversations","href":"/api-reference/create-contact"}]},{"group":"Account management","pages":[{"title":"Get account roles","openapi":"GET /v1/accounts/{account_id}/user-roles","href":"/api-reference/fetch-account-roles"},{"title":"Invite user","openapi":"POST /v1/accounts/{account_id}/user","href":"/api-reference/invite-user"},{"title":"Update user role","openapi":"PUT /v1/accounts/{account_id}/users/{user_id}","href":"/api-reference/update-user-role"},{"title":"Remove user","openapi":"DELETE /v1/accounts/{account_id}/users/{user_id}","href":"/api-reference/remove-user"},{"title":"Set webhook URL","openapi":"POST /v1/accounts/{account_id}/webhook","href":"/api-reference/set-wehbook-url"}]}]},{"tab":"Whitelabel","pages":[{"title":"Whitelabel","href":"/whitelabel/setting-up/help-center"}]},{"tab":"Help \u0026 Support","pages":[{"title":"Help \u0026 Support","href":"/creating-a-ticket"}]}]},"basePath":"","title":"Get knowledge base - WotNot","buildId":"dpl_BLQvU86QFwq3AhPofSTw6q8dGWKm","deploymentId":"dpl_BLQvU86QFwq3AhPofSTw6q8dGWKm","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-Myd8dsju.js","utils-C2HkQgW0.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-8rSppmTv.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-B6MjiCFm.js","snippetPresets-DwrSAONL.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-1-a5UQKQ.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-C541m7wZ.js","shallow-CWELCZ77.js","getApiPlaygroundDisplay-CTo5Zn03.js","CodeSnippet-D--dzvnl.js","CodeSnippets-DM3cXEDh.js","Page-CxAy5y67.js","getPastedJson-C-VECgcL.js","icon-BPq2-Mg3.js","MethodPill-D9J5cUHd.js","DuplicateIcon-BqHaxUnD.js","createIcon-CIbcZHp9.js","DynamicMarkdown-BKiHAm_d.js","SectionHeading-DstQXt3H.js","axios-vUo_bRtp.js","Markdown-CpxgzsKA.js","clsx-C5EfhVm0.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CJ9Oly2E.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-Mk6P3qvh.js"]}