{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Rounded","colors":{"primary":"#F25511","light":"#FF8540","dark":"#C6440D"},"logo":{"light":"https://mintcdn.com/roundedtechnologies/1iLXBGRZCkyJQMgO/logo/rounded-light.svg?fit=max\u0026auto=format\u0026n=1iLXBGRZCkyJQMgO\u0026q=85\u0026s=323ca9bc0245c84827659b3348d1978f","dark":"https://mintcdn.com/roundedtechnologies/1iLXBGRZCkyJQMgO/logo/rounded-dark.svg?fit=max\u0026auto=format\u0026n=1iLXBGRZCkyJQMgO\u0026q=85\u0026s=2287fc0b2217e6ed5bf9179239e845eb"},"favicon":"/logo/rounded-light.svg","navbar":{"links":[{"href":"mailto:team@callrounded.com","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.callrounded.com"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"roundedtechnologies","hasAudioNarration":false,"actualSubdomain":"roundedtechnologies","customDomains":["docs.callrounded.com"],"gitSource":{"type":"github","owner":"callrounded","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6ae92431abb6d0c12b81b90a:success","clientVersion":"0.0.4270","searchFilterCounts":[{"language":"default","tag":"API Reference","count":24},{"language":"default","tag":"v1","count":23},{"language":"default","tag":"Docs","count":19},{"language":"default","tag":"calls","count":7},{"language":"default","tag":"Build","count":6},{"language":"default","tag":"agents","count":6},{"language":"default","tag":"Telephony","count":5},{"language":"default","tag":"post-call-questions","count":5},{"language":"default","tag":"Resources","count":4},{"language":"default","tag":"SIP Providers","count":3}]},"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":"workos-onboarding","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":"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":"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":"editor-metadata","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":"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}],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"api-reference/knowledge-bases/add-sources-to-a-knowledge-base","slug":"/api-reference/knowledge-bases/add-sources-to-a-knowledge-base","pageMetadata":{"title":"Add sources to a knowledge base","description":"Add PDF files or text content as sources to an existing knowledge base.","deprecated":null,"version":null,"openapi":"/api-reference-v1/openapi.json post /v1/knowledge-bases/{knowledge_base_id}/sources","href":"/api-reference/knowledge-bases/add-sources-to-a-knowledge-base","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Add PDF files or text content as sources to an existing knowledge base.\"\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":"Add sources to a knowledge base","description":"Add PDF files or text content as sources to an existing knowledge base.","deprecated":null,"version":null,"openapi":"/api-reference-v1/openapi.json post /v1/knowledge-bases/{knowledge_base_id}/sources","href":"/api-reference/knowledge-bases/add-sources-to-a-knowledge-base","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["knowledge bases"],"summary":"Add sources to a knowledge base","description":"Add PDF files or text content as sources to an existing knowledge base.","operationId":"add_knowledge_base_sources_v1_knowledge_bases__knowledge_base_id__sources_post","parameters":["d0a48c8d-20a1-4042-9b72-95d1ed733765"],"requestBody":"9a5fbc57-670f-4595-a73b-55826011d59a","responses":{"200":"5fe7a98e-9293-4e28-b1e4-9a314493a046","201":"625db2f9-7abe-4202-a633-7de986ca4212","400":"2e3dd3d6-72f6-4caa-80a7-f48d0f406c7a","401":"12204d18-9752-44b5-b8ed-cfb2f57c1e03","403":"2d04de16-1fce-4521-bc0c-2988d979069f","404":"8bedf597-f386-4edb-829a-f25339257026","422":"bf6be2ec-4a02-4634-89aa-bc370e28987d","429":"647711f8-2088-4ba1-94b3-9b0aad4a4515","500":"6eac5d60-098e-4cef-806e-1ed90a9e53af"},"method":"post","type":"path","servers":["eb3a60a0-1b68-430f-85e4-6def7d75da0e"],"security":["6975066e-0821-4fef-84cf-12e2c24ab028"],"path":"/v1/knowledge-bases/{knowledge_base_id}/sources","baseUrlOptions":["https://api.callrounded.com"],"title":"Add sources to a knowledge base","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"d0a48c8d-20a1-4042-9b72-95d1ed733765":{"name":"knowledge_base_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Knowledge Base Id","isRequired":true,"uniqueKey":"","typeLabel":"string\u003cuuid>"}}},"requestBody":{"content":{"multipart/form-data":{"schema":{"properties":{"file_sources":{"oneOf":[{"type":"array","items":{"type":"string","format":"binary","uniqueKey":"file_sources.oneOf.0.items.[INDEX]","typeLabel":"file"},"title":"File Sources","description":"List of PDF files to upload as sources. Only PDF files are supported.","uniqueKey":"file_sources.oneOf.0","typeLabel":"file[]"},{"type":"null","title":"File Sources","description":"List of PDF files to upload as sources. Only PDF files are supported.","uniqueKey":"file_sources.oneOf.1","typeLabel":"null"}],"uniqueKey":"file_sources","typeLabel":"file[] | null"},"text_sources":{"oneOf":[{"type":"string","title":"Text Sources","description":"JSON string containing an array of text sources, each with 'title' and 'content' fields.","uniqueKey":"text_sources.oneOf.0","typeLabel":"string"},{"type":"null","title":"Text Sources","description":"JSON string containing an array of text sources, each with 'title' and 'content' fields.","uniqueKey":"text_sources.oneOf.1","typeLabel":"null"}],"uniqueKey":"text_sources","typeLabel":"string | null"}},"type":"object","title":"Body_add_knowledge_base_sources_v1_knowledge_bases__knowledge_base_id__sources_post","uniqueKey":"","typeLabel":"Body_add_knowledge_base_sources_v1_knowledge_bases__knowledge_base_id__sources_post · object"},"examples":{"Example":{"title":"Example","value":{"file_sources":["\u003cstring>"],"text_sources":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"5fe7a98e-9293-4e28-b1e4-9a314493a046":{"description":"Successfully added sources to knowledge base","headers":{"ratelimit-limit":{"description":"The number of requests allowed in the current rate limit period","schema":{"type":"integer"}},"ratelimit-remaining":{"description":"The number of requests remaining in the current rate limit period","schema":{"type":"integer"}},"x-ratelimit-limit-minute":{"description":"The number of requests allowed in the current minute window, if rate limit is set to minutes.","schema":{"type":"integer"}},"x-ratelimit-remaining-minute":{"description":"The number of requests remaining in the current minute window, if rate limit is set to minutes.","schema":{"type":"integer"}},"x-ratelimit-limit-hour":{"description":"The number of requests allowed in the current hour window, if rate limit is set to hourly.","schema":{"type":"integer"}},"x-ratelimit-remaining-hour":{"description":"The number of requests remaining in the current hour window, if rate limit is set to hourly.","schema":{"type":"integer"}},"x-ratelimit-limit-\u003cseconds>":{"description":"The number of requests allowed in the current \u003cseconds> window, where \u003cseconds> is the number of seconds, if rate limit is set to seconds.","schema":{"type":"integer"}},"x-ratelimit-remaining-\u003cseconds>":{"description":"The number of requests remaining in the current \u003cseconds> window, where \u003cseconds> is the number of seconds, if rate limit is set to seconds.","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"properties":{"data":{"properties":{"id":{"type":"string","format":"uuid","title":"Id","description":"Unique identifier for the knowledge base.","examples":["123e4567-e89b-12d3-a456-426614174000"],"isRequired":true,"uniqueKey":"data.id","typeLabel":"string\u003cuuid>"},"name":{"type":"string","title":"Name","description":"Name of the knowledge base.","examples":["Product Documentation","Customer Support KB"],"isRequired":true,"uniqueKey":"data.name","typeLabel":"string"},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Timestamp when the knowledge base was created.","examples":["2023-06-15T14:30:00Z"],"isRequired":true,"uniqueKey":"data.created_at","typeLabel":"string\u003cdate-time>"},"status":{"type":"string","enum":["ingesting","ready"],"title":"KnowledgeBaseStatus","description":"Current status of the knowledge base ('ready' or 'ingesting').","examples":["ready","ingesting"],"isRequired":true,"uniqueKey":"data.status","typeLabel":"enum\u003cstring>"},"organization_id":{"oneOf":[{"type":"string","title":"Organization Id","description":"ID of the organization the knowledge base belongs to.","format":"uuid","example":"123e4567-e89b-12d3-a456-426614174001","uniqueKey":"data.organization_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","title":"Organization Id","description":"ID of the organization the knowledge base belongs to.","example":"123e4567-e89b-12d3-a456-426614174001","uniqueKey":"data.organization_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.organization_id","typeLabel":"string\u003cuuid> | null"},"sources":{"items":{"oneOf":[{"type":"object","title":"FileSourceApiResponseData","required":["id","created_at","file_name","file_url"],"properties":{"id":{"type":"string","format":"uuid","title":"Id","description":"Unique identifier for the source.","examples":["123e4567-e89b-12d3-a456-426614174000"],"isRequired":true,"uniqueKey":"data.sources.items.[INDEX].oneOf.0.id","typeLabel":"string\u003cuuid>"},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Timestamp when the source was created.","examples":["2023-06-15T14:30:00Z"],"isRequired":true,"uniqueKey":"data.sources.items.[INDEX].oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"file_name":{"type":"string","title":"File Name","description":"Name of the file.","examples":["document.pdf","meeting_notes.txt"],"isRequired":true,"uniqueKey":"data.sources.items.[INDEX].oneOf.0.file_name","typeLabel":"string"},"file_url":{"type":"string","title":"File Url","description":"URL where the file can be accessed.","examples":["https://storage.example.com/files/document.pdf"],"isRequired":true,"uniqueKey":"data.sources.items.[INDEX].oneOf.0.file_url","typeLabel":"string"},"type":{"type":"string","title":"Type","description":"Indicates this is a file source.","default":"file","examples":["file"],"uniqueKey":"data.sources.items.[INDEX].oneOf.0.type","typeLabel":"string"}},"uniqueKey":"data.sources.items.[INDEX].oneOf.0","typeLabel":"FileSourceApiResponseData · object"},{"type":"object","title":"TextSourceApiResponseData","required":["id","created_at","title","content_url"],"properties":{"id":{"type":"string","format":"uuid","title":"Id","description":"Unique identifier for the source.","examples":["123e4567-e89b-12d3-a456-426614174000"],"isRequired":true,"uniqueKey":"data.sources.items.[INDEX].oneOf.1.id","typeLabel":"string\u003cuuid>"},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Timestamp when the source was created.","examples":["2023-06-15T14:30:00Z"],"isRequired":true,"uniqueKey":"data.sources.items.[INDEX].oneOf.1.created_at","typeLabel":"string\u003cdate-time>"},"title":{"type":"string","title":"Title","description":"Title of the text content.","examples":["Meeting Notes","Research Summary"],"isRequired":true,"uniqueKey":"data.sources.items.[INDEX].oneOf.1.title","typeLabel":"string"},"content_url":{"type":"string","title":"Content Url","description":"URL where the text content can be accessed.","examples":["https://storage.example.com/content/meeting_notes.txt"],"isRequired":true,"uniqueKey":"data.sources.items.[INDEX].oneOf.1.content_url","typeLabel":"string"},"type":{"type":"string","title":"Type","description":"Indicates this is a text source.","default":"text","examples":["text"],"uniqueKey":"data.sources.items.[INDEX].oneOf.1.type","typeLabel":"string"}},"uniqueKey":"data.sources.items.[INDEX].oneOf.1","typeLabel":"TextSourceApiResponseData · object"}],"uniqueKey":"data.sources.items.[INDEX]","typeLabel":"FileSourceApiResponseData · object | TextSourceApiResponseData · object"},"type":"array","title":"Sources","description":"List of sources included in the knowledge base.","uniqueKey":"data.sources","typeLabel":"(FileSourceApiResponseData · object | TextSourceApiResponseData · object)[]"}},"type":"object","required":["id","name","created_at","status"],"title":"KnowledgeBaseGetApiResponseData","description":"The updated knowledge base data.","isRequired":true,"uniqueKey":"data","typeLabel":"KnowledgeBaseGetApiResponseData · object"},"message":{"type":"string","title":"Message","description":"Response message indicating the result of the operation.","default":"Sources added to knowledge base successfully","uniqueKey":"message","typeLabel":"string"},"error":{"oneOf":[{"type":"object","title":"ApiResponseError","required":["message","type","status"],"example":{"details":[{"field":"email","message":"Invalid email format"}],"message":"An error occurred while processing your request","status":400,"type":"generic_error"},"properties":{"message":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"error.oneOf.0.message","typeLabel":"string"},"type":{"type":"string","title":"Type","isRequired":true,"uniqueKey":"error.oneOf.0.type","typeLabel":"string"},"status":{"type":"integer","title":"Status","isRequired":true,"uniqueKey":"error.oneOf.0.status","typeLabel":"integer"},"details":{"oneOf":[{"type":"array","items":{"properties":{"message":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"error.oneOf.0.details.oneOf.0.items.[INDEX].message","typeLabel":"string"},"field":{"oneOf":[{"type":"string","title":"Field","uniqueKey":"error.oneOf.0.details.oneOf.0.items.[INDEX].field.oneOf.0","typeLabel":"string"},{"type":"null","title":"Field","uniqueKey":"error.oneOf.0.details.oneOf.0.items.[INDEX].field.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.oneOf.0.details.oneOf.0.items.[INDEX].field","typeLabel":"string | null"}},"type":"object","required":["message"],"title":"ApiResponseErrorDetail","uniqueKey":"error.oneOf.0.details.oneOf.0.items.[INDEX]","typeLabel":"ApiResponseErrorDetail · object"},"title":"Details","uniqueKey":"error.oneOf.0.details.oneOf.0","typeLabel":"ApiResponseErrorDetail · object[]"},{"type":"null","title":"Details","uniqueKey":"error.oneOf.0.details.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.oneOf.0.details","typeLabel":"ApiResponseErrorDetail · object[] | null"}},"uniqueKey":"error.oneOf.0","typeLabel":"ApiResponseError · object"},{"type":"null","uniqueKey":"error.oneOf.1","typeLabel":"null"}],"uniqueKey":"error","typeLabel":"ApiResponseError · object | null"},"status":{"type":"integer","title":"Status","description":"HTTP status code of the response.","default":200,"uniqueKey":"status","typeLabel":"integer"}},"type":"object","required":["data"],"title":"AddKnowledgeBaseSourcesApiResponse","uniqueKey":"","typeLabel":"AddKnowledgeBaseSourcesApiResponse · object"},"examples":{"Example":{"title":"Example","value":{"data":{"id":"123e4567-e89b-12d3-a456-426614174000","name":"Product Documentation","created_at":"2023-06-15T14:30:00Z","status":"ready","organization_id":"123e4567-e89b-12d3-a456-426614174001","sources":[{"id":"123e4567-e89b-12d3-a456-426614174000","created_at":"2023-06-15T14:30:00Z","file_name":"document.pdf","file_url":"https://storage.example.com/files/document.pdf","type":"file"}]},"message":"Sources added to knowledge base successfully","error":{"details":[{"field":"email","message":"Invalid email format"}],"message":"An error occurred while processing your request","status":400,"type":"generic_error"},"status":200}}},"exampleType":"generated"}},"exampleType":"generated"},"625db2f9-7abe-4202-a633-7de986ca4212":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"data":{"properties":{"id":{"type":"string","format":"uuid","title":"Id","description":"Unique identifier for the knowledge base.","examples":["123e4567-e89b-12d3-a456-426614174000"],"isRequired":true,"uniqueKey":"data.id","typeLabel":"string\u003cuuid>"},"name":{"type":"string","title":"Name","description":"Name of the knowledge base.","examples":["Product Documentation","Customer Support KB"],"isRequired":true,"uniqueKey":"data.name","typeLabel":"string"},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Timestamp when the knowledge base was created.","examples":["2023-06-15T14:30:00Z"],"isRequired":true,"uniqueKey":"data.created_at","typeLabel":"string\u003cdate-time>"},"status":{"type":"string","enum":["ingesting","ready"],"title":"KnowledgeBaseStatus","description":"Current status of the knowledge base ('ready' or 'ingesting').","examples":["ready","ingesting"],"isRequired":true,"uniqueKey":"data.status","typeLabel":"enum\u003cstring>"},"organization_id":{"oneOf":[{"type":"string","title":"Organization Id","description":"ID of the organization the knowledge base belongs to.","format":"uuid","example":"123e4567-e89b-12d3-a456-426614174001","uniqueKey":"data.organization_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","title":"Organization Id","description":"ID of the organization the knowledge base belongs to.","example":"123e4567-e89b-12d3-a456-426614174001","uniqueKey":"data.organization_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.organization_id","typeLabel":"string\u003cuuid> | null"},"sources":{"items":{"oneOf":[{"type":"object","title":"FileSourceApiResponseData","required":["id","created_at","file_name","file_url"],"properties":{"id":{"type":"string","format":"uuid","title":"Id","description":"Unique identifier for the source.","examples":["123e4567-e89b-12d3-a456-426614174000"],"isRequired":true,"uniqueKey":"data.sources.items.[INDEX].oneOf.0.id","typeLabel":"string\u003cuuid>"},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Timestamp when the source was created.","examples":["2023-06-15T14:30:00Z"],"isRequired":true,"uniqueKey":"data.sources.items.[INDEX].oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"file_name":{"type":"string","title":"File Name","description":"Name of the file.","examples":["document.pdf","meeting_notes.txt"],"isRequired":true,"uniqueKey":"data.sources.items.[INDEX].oneOf.0.file_name","typeLabel":"string"},"file_url":{"type":"string","title":"File Url","description":"URL where the file can be accessed.","examples":["https://storage.example.com/files/document.pdf"],"isRequired":true,"uniqueKey":"data.sources.items.[INDEX].oneOf.0.file_url","typeLabel":"string"},"type":{"type":"string","title":"Type","description":"Indicates this is a file source.","default":"file","examples":["file"],"uniqueKey":"data.sources.items.[INDEX].oneOf.0.type","typeLabel":"string"}},"uniqueKey":"data.sources.items.[INDEX].oneOf.0","typeLabel":"FileSourceApiResponseData · object"},{"type":"object","title":"TextSourceApiResponseData","required":["id","created_at","title","content_url"],"properties":{"id":{"type":"string","format":"uuid","title":"Id","description":"Unique identifier for the source.","examples":["123e4567-e89b-12d3-a456-426614174000"],"isRequired":true,"uniqueKey":"data.sources.items.[INDEX].oneOf.1.id","typeLabel":"string\u003cuuid>"},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Timestamp when the source was created.","examples":["2023-06-15T14:30:00Z"],"isRequired":true,"uniqueKey":"data.sources.items.[INDEX].oneOf.1.created_at","typeLabel":"string\u003cdate-time>"},"title":{"type":"string","title":"Title","description":"Title of the text content.","examples":["Meeting Notes","Research Summary"],"isRequired":true,"uniqueKey":"data.sources.items.[INDEX].oneOf.1.title","typeLabel":"string"},"content_url":{"type":"string","title":"Content Url","description":"URL where the text content can be accessed.","examples":["https://storage.example.com/content/meeting_notes.txt"],"isRequired":true,"uniqueKey":"data.sources.items.[INDEX].oneOf.1.content_url","typeLabel":"string"},"type":{"type":"string","title":"Type","description":"Indicates this is a text source.","default":"text","examples":["text"],"uniqueKey":"data.sources.items.[INDEX].oneOf.1.type","typeLabel":"string"}},"uniqueKey":"data.sources.items.[INDEX].oneOf.1","typeLabel":"TextSourceApiResponseData · object"}],"uniqueKey":"data.sources.items.[INDEX]","typeLabel":"FileSourceApiResponseData · object | TextSourceApiResponseData · object"},"type":"array","title":"Sources","description":"List of sources included in the knowledge base.","uniqueKey":"data.sources","typeLabel":"(FileSourceApiResponseData · object | TextSourceApiResponseData · object)[]"}},"type":"object","required":["id","name","created_at","status"],"title":"KnowledgeBaseGetApiResponseData","description":"The updated knowledge base data.","isRequired":true,"uniqueKey":"data","typeLabel":"KnowledgeBaseGetApiResponseData · object"},"message":{"type":"string","title":"Message","description":"Response message indicating the result of the operation.","default":"Sources added to knowledge base successfully","uniqueKey":"message","typeLabel":"string"},"error":{"oneOf":[{"type":"object","title":"ApiResponseError","required":["message","type","status"],"example":{"details":[{"field":"email","message":"Invalid email format"}],"message":"An error occurred while processing your request","status":400,"type":"generic_error"},"properties":{"message":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"error.oneOf.0.message","typeLabel":"string"},"type":{"type":"string","title":"Type","isRequired":true,"uniqueKey":"error.oneOf.0.type","typeLabel":"string"},"status":{"type":"integer","title":"Status","isRequired":true,"uniqueKey":"error.oneOf.0.status","typeLabel":"integer"},"details":{"oneOf":[{"type":"array","items":{"properties":{"message":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"error.oneOf.0.details.oneOf.0.items.[INDEX].message","typeLabel":"string"},"field":{"oneOf":[{"type":"string","title":"Field","uniqueKey":"error.oneOf.0.details.oneOf.0.items.[INDEX].field.oneOf.0","typeLabel":"string"},{"type":"null","title":"Field","uniqueKey":"error.oneOf.0.details.oneOf.0.items.[INDEX].field.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.oneOf.0.details.oneOf.0.items.[INDEX].field","typeLabel":"string | null"}},"type":"object","required":["message"],"title":"ApiResponseErrorDetail","uniqueKey":"error.oneOf.0.details.oneOf.0.items.[INDEX]","typeLabel":"ApiResponseErrorDetail · object"},"title":"Details","uniqueKey":"error.oneOf.0.details.oneOf.0","typeLabel":"ApiResponseErrorDetail · object[]"},{"type":"null","title":"Details","uniqueKey":"error.oneOf.0.details.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.oneOf.0.details","typeLabel":"ApiResponseErrorDetail · object[] | null"}},"uniqueKey":"error.oneOf.0","typeLabel":"ApiResponseError · object"},{"type":"null","uniqueKey":"error.oneOf.1","typeLabel":"null"}],"uniqueKey":"error","typeLabel":"ApiResponseError · object | null"},"status":{"type":"integer","title":"Status","description":"HTTP status code of the response.","default":200,"uniqueKey":"status","typeLabel":"integer"}},"type":"object","required":["data"],"title":"AddKnowledgeBaseSourcesApiResponse","uniqueKey":"","typeLabel":"AddKnowledgeBaseSourcesApiResponse · object"},"examples":{"Example":{"title":"Example","value":{"data":{"id":"123e4567-e89b-12d3-a456-426614174000","name":"Product Documentation","created_at":"2023-06-15T14:30:00Z","status":"ready","organization_id":"123e4567-e89b-12d3-a456-426614174001","sources":[{"id":"123e4567-e89b-12d3-a456-426614174000","created_at":"2023-06-15T14:30:00Z","file_name":"document.pdf","file_url":"https://storage.example.com/files/document.pdf","type":"file"}]},"message":"Sources added to knowledge base successfully","error":{"details":[{"field":"email","message":"Invalid email format"}],"message":"An error occurred while processing your request","status":400,"type":"generic_error"},"status":200}}},"exampleType":"generated"}},"exampleType":"generated"},"2e3dd3d6-72f6-4caa-80a7-f48d0f406c7a":{"description":"Bad Request","content":{"application/json":{"schema":{"properties":{"message":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"type":{"type":"string","title":"Type","isRequired":true,"uniqueKey":"type","typeLabel":"string"},"status":{"type":"integer","title":"Status","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"details":{"oneOf":[{"type":"array","items":{"properties":{"message":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"details.oneOf.0.items.[INDEX].message","typeLabel":"string"},"field":{"oneOf":[{"type":"string","title":"Field","uniqueKey":"details.oneOf.0.items.[INDEX].field.oneOf.0","typeLabel":"string"},{"type":"null","title":"Field","uniqueKey":"details.oneOf.0.items.[INDEX].field.oneOf.1","typeLabel":"null"}],"uniqueKey":"details.oneOf.0.items.[INDEX].field","typeLabel":"string | null"}},"type":"object","required":["message"],"title":"ApiResponseErrorDetail","uniqueKey":"details.oneOf.0.items.[INDEX]","typeLabel":"ApiResponseErrorDetail · object"},"title":"Details","uniqueKey":"details.oneOf.0","typeLabel":"ApiResponseErrorDetail · object[]"},{"type":"null","title":"Details","uniqueKey":"details.oneOf.1","typeLabel":"null"}],"uniqueKey":"details","typeLabel":"ApiResponseErrorDetail · object[] | null"}},"type":"object","required":["message","type","status"],"title":"ApiResponseError","example":{"details":[{"field":"email","message":"Invalid email format"}],"message":"An error occurred while processing your request","status":400,"type":"generic_error"},"uniqueKey":"","typeLabel":"ApiResponseError · object"},"example":{"error":{"message":"Bad request","type":"api_error","status":400}},"examples":{"Example":{"title":"Example","value":{"error":{"message":"Bad request","type":"api_error","status":400}}}},"exampleType":"examples"}},"exampleType":"examples"},"12204d18-9752-44b5-b8ed-cfb2f57c1e03":{"description":"Unauthorized","content":{"application/json":{"schema":{"properties":{"message":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"type":{"type":"string","title":"Type","isRequired":true,"uniqueKey":"type","typeLabel":"string"},"status":{"type":"integer","title":"Status","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"details":{"oneOf":[{"type":"array","items":{"properties":{"message":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"details.oneOf.0.items.[INDEX].message","typeLabel":"string"},"field":{"oneOf":[{"type":"string","title":"Field","uniqueKey":"details.oneOf.0.items.[INDEX].field.oneOf.0","typeLabel":"string"},{"type":"null","title":"Field","uniqueKey":"details.oneOf.0.items.[INDEX].field.oneOf.1","typeLabel":"null"}],"uniqueKey":"details.oneOf.0.items.[INDEX].field","typeLabel":"string | null"}},"type":"object","required":["message"],"title":"ApiResponseErrorDetail","uniqueKey":"details.oneOf.0.items.[INDEX]","typeLabel":"ApiResponseErrorDetail · object"},"title":"Details","uniqueKey":"details.oneOf.0","typeLabel":"ApiResponseErrorDetail · object[]"},{"type":"null","title":"Details","uniqueKey":"details.oneOf.1","typeLabel":"null"}],"uniqueKey":"details","typeLabel":"ApiResponseErrorDetail · object[] | null"}},"type":"object","required":["message","type","status"],"title":"ApiResponseError","example":{"details":[{"field":"email","message":"Invalid email format"}],"message":"An error occurred while processing your request","status":400,"type":"generic_error"},"uniqueKey":"","typeLabel":"ApiResponseError · object"},"examples":{"auth_error":{"title":"auth_error","summary":"Error from the API Service","value":{"message":"Unauthorized","type":"auth_error","status":401}},"gateway_error":{"title":"gateway_error","summary":"Error from the API Gateway","value":{"message":"Unauthorized","type":"gateway_auth_error","status":401}}},"exampleType":"examples"}},"exampleType":"examples"},"2d04de16-1fce-4521-bc0c-2988d979069f":{"description":"Forbidden","content":{"application/json":{"schema":{"properties":{"message":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"type":{"type":"string","title":"Type","isRequired":true,"uniqueKey":"type","typeLabel":"string"},"status":{"type":"integer","title":"Status","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"details":{"oneOf":[{"type":"array","items":{"properties":{"message":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"details.oneOf.0.items.[INDEX].message","typeLabel":"string"},"field":{"oneOf":[{"type":"string","title":"Field","uniqueKey":"details.oneOf.0.items.[INDEX].field.oneOf.0","typeLabel":"string"},{"type":"null","title":"Field","uniqueKey":"details.oneOf.0.items.[INDEX].field.oneOf.1","typeLabel":"null"}],"uniqueKey":"details.oneOf.0.items.[INDEX].field","typeLabel":"string | null"}},"type":"object","required":["message"],"title":"ApiResponseErrorDetail","uniqueKey":"details.oneOf.0.items.[INDEX]","typeLabel":"ApiResponseErrorDetail · object"},"title":"Details","uniqueKey":"details.oneOf.0","typeLabel":"ApiResponseErrorDetail · object[]"},{"type":"null","title":"Details","uniqueKey":"details.oneOf.1","typeLabel":"null"}],"uniqueKey":"details","typeLabel":"ApiResponseErrorDetail · object[] | null"}},"type":"object","required":["message","type","status"],"title":"ApiResponseError","example":{"details":[{"field":"email","message":"Invalid email format"}],"message":"An error occurred while processing your request","status":400,"type":"generic_error"},"uniqueKey":"","typeLabel":"ApiResponseError · object"},"example":{"error":{"message":"Access forbidden","type":"api_error","status":403}},"examples":{"Example":{"title":"Example","value":{"error":{"message":"Access forbidden","type":"api_error","status":403}}}},"exampleType":"examples"}},"exampleType":"examples"},"8bedf597-f386-4edb-829a-f25339257026":{"description":"Not Found","content":{"application/json":{"schema":{"properties":{"message":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"type":{"type":"string","title":"Type","isRequired":true,"uniqueKey":"type","typeLabel":"string"},"status":{"type":"integer","title":"Status","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"details":{"oneOf":[{"type":"array","items":{"properties":{"message":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"details.oneOf.0.items.[INDEX].message","typeLabel":"string"},"field":{"oneOf":[{"type":"string","title":"Field","uniqueKey":"details.oneOf.0.items.[INDEX].field.oneOf.0","typeLabel":"string"},{"type":"null","title":"Field","uniqueKey":"details.oneOf.0.items.[INDEX].field.oneOf.1","typeLabel":"null"}],"uniqueKey":"details.oneOf.0.items.[INDEX].field","typeLabel":"string | null"}},"type":"object","required":["message"],"title":"ApiResponseErrorDetail","uniqueKey":"details.oneOf.0.items.[INDEX]","typeLabel":"ApiResponseErrorDetail · object"},"title":"Details","uniqueKey":"details.oneOf.0","typeLabel":"ApiResponseErrorDetail · object[]"},{"type":"null","title":"Details","uniqueKey":"details.oneOf.1","typeLabel":"null"}],"uniqueKey":"details","typeLabel":"ApiResponseErrorDetail · object[] | null"}},"type":"object","required":["message","type","status"],"title":"ApiResponseError","example":{"details":[{"field":"email","message":"Invalid email format"}],"message":"An error occurred while processing your request","status":400,"type":"generic_error"},"uniqueKey":"","typeLabel":"ApiResponseError · object"},"example":{"error":{"message":"The request endpoint does not exist","type":"http_error","status":404}},"examples":{"Example":{"title":"Example","value":{"error":{"message":"The request endpoint does not exist","type":"http_error","status":404}}}},"exampleType":"examples"}},"exampleType":"examples"},"bf6be2ec-4a02-4634-89aa-bc370e28987d":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"message":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"type":{"type":"string","title":"Type","isRequired":true,"uniqueKey":"type","typeLabel":"string"},"status":{"type":"integer","title":"Status","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"details":{"oneOf":[{"type":"array","items":{"properties":{"message":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"details.oneOf.0.items.[INDEX].message","typeLabel":"string"},"field":{"oneOf":[{"type":"string","title":"Field","uniqueKey":"details.oneOf.0.items.[INDEX].field.oneOf.0","typeLabel":"string"},{"type":"null","title":"Field","uniqueKey":"details.oneOf.0.items.[INDEX].field.oneOf.1","typeLabel":"null"}],"uniqueKey":"details.oneOf.0.items.[INDEX].field","typeLabel":"string | null"}},"type":"object","required":["message"],"title":"ApiResponseErrorDetail","uniqueKey":"details.oneOf.0.items.[INDEX]","typeLabel":"ApiResponseErrorDetail · object"},"title":"Details","uniqueKey":"details.oneOf.0","typeLabel":"ApiResponseErrorDetail · object[]"},{"type":"null","title":"Details","uniqueKey":"details.oneOf.1","typeLabel":"null"}],"uniqueKey":"details","typeLabel":"ApiResponseErrorDetail · object[] | null"}},"type":"object","required":["message","type","status"],"title":"ApiResponseError","example":{"details":[{"field":"email","message":"Invalid email format"}],"message":"An error occurred while processing your request","status":400,"type":"generic_error"},"uniqueKey":"","typeLabel":"ApiResponseError · object"},"example":{"error":{"message":"Invalid request body","type":"validation_error","status":422,"details":[{"field":"email","message":"Invalid email format"}]}},"examples":{"Example":{"title":"Example","value":{"error":{"message":"Invalid request body","type":"validation_error","status":422,"details":[{"field":"email","message":"Invalid email format"}]}}}},"exampleType":"examples"}},"exampleType":"examples"},"647711f8-2088-4ba1-94b3-9b0aad4a4515":{"description":"Rate Limit Exceeded","content":{"application/json":{"schema":{"properties":{"message":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"type":{"type":"string","title":"Type","isRequired":true,"uniqueKey":"type","typeLabel":"string"},"status":{"type":"integer","title":"Status","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"details":{"oneOf":[{"type":"array","items":{"properties":{"message":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"details.oneOf.0.items.[INDEX].message","typeLabel":"string"},"field":{"oneOf":[{"type":"string","title":"Field","uniqueKey":"details.oneOf.0.items.[INDEX].field.oneOf.0","typeLabel":"string"},{"type":"null","title":"Field","uniqueKey":"details.oneOf.0.items.[INDEX].field.oneOf.1","typeLabel":"null"}],"uniqueKey":"details.oneOf.0.items.[INDEX].field","typeLabel":"string | null"}},"type":"object","required":["message"],"title":"ApiResponseErrorDetail","uniqueKey":"details.oneOf.0.items.[INDEX]","typeLabel":"ApiResponseErrorDetail · object"},"title":"Details","uniqueKey":"details.oneOf.0","typeLabel":"ApiResponseErrorDetail · object[]"},{"type":"null","title":"Details","uniqueKey":"details.oneOf.1","typeLabel":"null"}],"uniqueKey":"details","typeLabel":"ApiResponseErrorDetail · object[] | null"}},"type":"object","required":["message","type","status"],"title":"ApiResponseError","example":{"details":[{"field":"email","message":"Invalid email format"}],"message":"An error occurred while processing your request","status":400,"type":"generic_error"},"uniqueKey":"","typeLabel":"ApiResponseError · object"},"example":{"error":{"message":"API rate limit exceeded","type":"gateway_rate_limit_error","status":429}},"examples":{"Example":{"title":"Example","value":{"error":{"message":"API rate limit exceeded","type":"gateway_rate_limit_error","status":429}}}},"exampleType":"examples"}},"exampleType":"examples"},"6eac5d60-098e-4cef-806e-1ed90a9e53af":{"description":"Internal Server Error","content":{"application/json":{"schema":{"properties":{"message":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"type":{"type":"string","title":"Type","isRequired":true,"uniqueKey":"type","typeLabel":"string"},"status":{"type":"integer","title":"Status","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"details":{"oneOf":[{"type":"array","items":{"properties":{"message":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"details.oneOf.0.items.[INDEX].message","typeLabel":"string"},"field":{"oneOf":[{"type":"string","title":"Field","uniqueKey":"details.oneOf.0.items.[INDEX].field.oneOf.0","typeLabel":"string"},{"type":"null","title":"Field","uniqueKey":"details.oneOf.0.items.[INDEX].field.oneOf.1","typeLabel":"null"}],"uniqueKey":"details.oneOf.0.items.[INDEX].field","typeLabel":"string | null"}},"type":"object","required":["message"],"title":"ApiResponseErrorDetail","uniqueKey":"details.oneOf.0.items.[INDEX]","typeLabel":"ApiResponseErrorDetail · object"},"title":"Details","uniqueKey":"details.oneOf.0","typeLabel":"ApiResponseErrorDetail · object[]"},{"type":"null","title":"Details","uniqueKey":"details.oneOf.1","typeLabel":"null"}],"uniqueKey":"details","typeLabel":"ApiResponseErrorDetail · object[] | null"}},"type":"object","required":["message","type","status"],"title":"ApiResponseError","example":{"details":[{"field":"email","message":"Invalid email format"}],"message":"An error occurred while processing your request","status":400,"type":"generic_error"},"uniqueKey":"","typeLabel":"ApiResponseError · object"},"example":{"error":{"message":"An unexpected error occurred","type":"generic_error","status":500}},"examples":{"Example":{"title":"Example","value":{"error":{"message":"An unexpected error occurred","type":"generic_error","status":500}}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"6975066e-0821-4fef-84cf-12e2c24ab028":{"ApiKeyHeader":{"type":"apiKey","in":"header","name":"X-Api-Key","description":"The API Key created in [Rounded Studio](https://app.callrounded.com).\n- You can create it by going to the \"API Keys\" settings of your profile.\n- Need help? You can email us at [team@callrounded.com](mailto:team@callrounded.com) or join our [Discord community](https://discord.gg/en537j5z75).","scopes":[]}}},"servers":{"eb3a60a0-1b68-430f-85e4-6def7d75da0e":{"url":"https://api.callrounded.com"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"X-Api-Key","description":"The API Key created in [Rounded Studio](https://app.callrounded.com).\n- You can create it by going to the \"API Keys\" settings of your profile.\n- Need help? You can email us at [team@callrounded.com](mailto:team@callrounded.com) or join our [Discord community](https://discord.gg/en537j5z75).","scopes":[]},"schema":{"title":"X-Api-Key","type":"string","description":"The API Key created in [Rounded Studio](https://app.callrounded.com).\n- You can create it by going to the \"API Keys\" settings of your profile.\n- Need help? You can email us at [team@callrounded.com](mailto:team@callrounded.com) or join our [Discord community](https://discord.gg/en537j5z75).","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKeyHeader","name":"X-Api-Key"}],"title":"ApiKeyHeader"}]},"originalFileLocation":"api-reference-v1/openapi.json"},"subdomain":"roundedtechnologies","siteName":"Rounded","title":"Add sources to a knowledge base - Rounded","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-03-24T12:29:17.918Z","originalFileLocation":"api-reference/knowledge-bases/add-sources-to-a-knowledge-base.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=\"Add PDF files or text content as sources to an existing knowledge base.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Rounded\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/roundedtechnologies/SZk3qknKQkZZaCtg/_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/roundedtechnologies/SZk3qknKQkZZaCtg/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/roundedtechnologies/SZk3qknKQkZZaCtg/_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/roundedtechnologies/SZk3qknKQkZZaCtg/_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/roundedtechnologies/SZk3qknKQkZZaCtg/_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/roundedtechnologies/SZk3qknKQkZZaCtg/_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/roundedtechnologies/SZk3qknKQkZZaCtg/_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/roundedtechnologies/SZk3qknKQkZZaCtg/_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/roundedtechnologies/SZk3qknKQkZZaCtg/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Add sources to a knowledge base - Rounded\">\u003cmeta data-mint-head property=\"og:description\" content=\"Add PDF files or text content as sources to an existing knowledge base.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Rounded\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.callrounded.com/api-reference/knowledge-bases/add-sources-to-a-knowledge-base\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://roundedtechnologies.mintlify.site/_mintlify/api/og/v2?division=knowledge+bases\u0026amp;title=Add+sources+to+a+knowledge+base\u0026amp;description=Add+PDF+files+or+text+content+as+sources+to+an+existing+knowledge+base.\u0026amp;theme=bc084d665797763be9fd4e08\u0026amp;signature=61ee42ce1d061b82a9f49f4c9da5fa2eb95fd79cc9f3dc5d8d7985b9f57f480d\">\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=\"Add sources to a knowledge base - Rounded\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Add PDF files or text content as sources to an existing knowledge base.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://roundedtechnologies.mintlify.site/_mintlify/api/og/v2?division=knowledge+bases\u0026amp;title=Add+sources+to+a+knowledge+base\u0026amp;description=Add+PDF+files+or+text+content+as+sources+to+an+existing+knowledge+base.\u0026amp;theme=bc084d665797763be9fd4e08\u0026amp;signature=61ee42ce1d061b82a9f49f4c9da5fa2eb95fd79cc9f3dc5d8d7985b9f57f480d\">\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/roundedtechnologies/SZk3qknKQkZZaCtg/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Rounded\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#F25511\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.callrounded.com/api-reference/knowledge-bases/add-sources-to-a-knowledge-base\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/knowledge-bases/add-sources-to-a-knowledge-base.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.callrounded.com/#organization\",\"name\":\"Rounded\",\"url\":\"https://docs.callrounded.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/roundedtechnologies/1iLXBGRZCkyJQMgO/logo/rounded-light.svg?fit=max\u0026auto=format\u0026n=1iLXBGRZCkyJQMgO\u0026q=85\u0026s=323ca9bc0245c84827659b3348d1978f\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.callrounded.com#website\",\"name\":\"Rounded\",\"url\":\"https://docs.callrounded.com\",\"publisher\":{\"@id\":\"https://docs.callrounded.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.callrounded.com/api-reference/knowledge-bases/add-sources-to-a-knowledge-base#webpage\",\"url\":\"https://docs.callrounded.com/api-reference/knowledge-bases/add-sources-to-a-knowledge-base\",\"name\":\"Add sources to a knowledge base\",\"description\":\"Add PDF files or text content as sources to an existing knowledge base.\",\"dateModified\":\"2026-03-24T12:29:17.918Z\",\"isPartOf\":{\"@id\":\"https://docs.callrounded.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.callrounded.com/api-reference/knowledge-bases/add-sources-to-a-knowledge-base#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.callrounded.com/api-reference/knowledge-bases/add-sources-to-a-knowledge-base#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"knowledge bases\",\"item\":\"https://docs.callrounded.com/api-reference/knowledge-bases/get-knowledge-base-details\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Add sources to a knowledge base\",\"item\":\"https://docs.callrounded.com/api-reference/knowledge-bases/add-sources-to-a-knowledge-base\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.callrounded.com/api-reference/knowledge-bases/add-sources-to-a-knowledge-base#apireference\",\"headline\":\"Add sources to a knowledge base\",\"name\":\"Add sources to a knowledge base\",\"description\":\"Add PDF files or text content as sources to an existing knowledge base.\",\"url\":\"https://docs.callrounded.com/api-reference/knowledge-bases/add-sources-to-a-knowledge-base\",\"mainEntityOfPage\":{\"@id\":\"https://docs.callrounded.com/api-reference/knowledge-bases/add-sources-to-a-knowledge-base#webpage\"},\"dateModified\":\"2026-03-24T12:29:17.918Z\",\"publisher\":{\"@id\":\"https://docs.callrounded.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.callrounded.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Rounded\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Rounded\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/knowledge-bases/add-sources-to-a-knowledge-base.md","siteName":"Rounded","nav":{"global":null,"tabs":[{"tab":"Docs","pages":[{"title":"Docs","href":"/documentation/getting_started/what_are_voice_agents"}]},{"tab":"API Reference","dropdowns":[{"dropdown":"v1","groups":[{"group":"calls","pages":[{"title":"Start a new phone call","deprecated":null,"version":null,"openapi":"/api-reference-v1/openapi.json post /v1/calls/phone","href":"/api-reference/calls/start-a-new-phone-call"},{"title":"Stage an inbound SIP call","deprecated":null,"version":null,"openapi":"/api-reference-v1/openapi.json post /v1/calls/stage","href":"/api-reference/calls/stage-an-inbound-sip-call"},{"title":"Get call details","deprecated":null,"version":null,"openapi":"/api-reference-v1/openapi.json get /v1/calls/{call_id}","href":"/api-reference/calls/get-call-details"},{"title":"Delete call","deprecated":null,"version":null,"openapi":"/api-reference-v1/openapi.json delete /v1/calls/{call_id}","href":"/api-reference/calls/delete-call"},{"title":"Update call","deprecated":null,"version":null,"openapi":"/api-reference-v1/openapi.json patch /v1/calls/{call_id}","href":"/api-reference/calls/update-call"},{"title":"List calls","deprecated":null,"version":null,"openapi":"/api-reference-v1/openapi.json get /v1/calls","href":"/api-reference/calls/list-calls"},{"title":"Terminate call","deprecated":null,"version":null,"openapi":"/api-reference-v1/openapi.json post /v1/calls/{call_id}/terminate","href":"/api-reference/calls/terminate-call"}]},{"group":"knowledge bases","pages":[{"title":"Get knowledge base details","description":"Get detailed information about a specific knowledge base, including its sources.","deprecated":null,"version":null,"openapi":"/api-reference-v1/openapi.json get /v1/knowledge-bases/{knowledge_base_id}","href":"/api-reference/knowledge-bases/get-knowledge-base-details"},{"title":"Add sources to a knowledge base","deprecated":null,"version":null,"openapi":"/api-reference-v1/openapi.json post /v1/knowledge-bases/{knowledge_base_id}/sources","href":"/api-reference/knowledge-bases/add-sources-to-a-knowledge-base"},{"title":"Delete sources from a knowledge base","description":"Delete sources from a knowledge base.","deprecated":null,"version":null,"openapi":"/api-reference-v1/openapi.json delete /v1/knowledge-bases/{knowledge_base_id}/sources","href":"/api-reference/knowledge-bases/delete-sources-from-a-knowledge-base"}]},{"group":"agents","pages":[{"title":"Create agent","deprecated":null,"version":null,"openapi":"/api-reference-v1/openapi.json post /v1/agents","href":"/api-reference/agents/create-agent"},{"title":"Get agent","deprecated":null,"version":null,"openapi":"/api-reference-v1/openapi.json get /v1/agents/{agent_id}","href":"/api-reference/agents/get-agent"},{"title":"Delete agent","deprecated":null,"version":null,"openapi":"/api-reference-v1/openapi.json delete /v1/agents/{agent_id}","href":"/api-reference/agents/delete-agent"},{"title":"Update agent","deprecated":null,"version":null,"openapi":"/api-reference-v1/openapi.json patch /v1/agents/{agent_id}","href":"/api-reference/agents/update-agent"},{"title":"Get agent versions","deprecated":null,"version":null,"openapi":"/api-reference-v1/openapi.json get /v1/agents/{agent_id}/versions","href":"/api-reference/agents/get-agent-versions"},{"title":"Deploy agent","deprecated":null,"version":null,"openapi":"/api-reference-v1/openapi.json post /v1/agents/{agent_id}/deploy","href":"/api-reference/agents/deploy-agent"}]},{"group":"phone-numbers","pages":[{"title":"List phone numbers","deprecated":null,"version":null,"openapi":"/api-reference-v1/openapi.json get /v1/phone-numbers","href":"/api-reference/phone-numbers/list-phone-numbers"},{"title":"Update phone number","deprecated":null,"version":null,"openapi":"/api-reference-v1/openapi.json patch /v1/phone-numbers/{phone_number_id}","href":"/api-reference/phone-numbers/update-phone-number"}]},{"group":"post-call-questions","pages":[{"title":"List post-call questions","deprecated":null,"version":null,"openapi":"/api-reference-v1/openapi.json get /v1/agents/{agent_id}/post-call-questions","href":"/api-reference/post-call-questions/list-post-call-questions"},{"title":"Create post-call questions","deprecated":null,"version":null,"openapi":"/api-reference-v1/openapi.json post /v1/agents/{agent_id}/post-call-questions","href":"/api-reference/post-call-questions/create-post-call-questions"},{"title":"Update post-call questions","deprecated":null,"version":null,"openapi":"/api-reference-v1/openapi.json patch /v1/agents/{agent_id}/post-call-questions","href":"/api-reference/post-call-questions/update-post-call-questions"},{"title":"Get post-call question","deprecated":null,"version":null,"openapi":"/api-reference-v1/openapi.json get /v1/agents/{agent_id}/post-call-questions/{question_id}","href":"/api-reference/post-call-questions/get-post-call-question"},{"title":"Delete post-call question","deprecated":null,"version":null,"openapi":"/api-reference-v1/openapi.json delete /v1/agents/{agent_id}/post-call-questions/{question_id}","href":"/api-reference/post-call-questions/delete-post-call-question"}]}]},{"dropdown":"v0","pages":[{"title":"Start Phone Call","openapi":"POST /v0/calls/phone","href":"/api-reference/calls/start-phone-call"}]}]},{"tab":"Webhook Events Reference","pages":[{"title":"Webhook Events Reference","href":"/api-reference/webhooks/webhook-events-reference"}]}]},"basePath":"","title":"Add sources to a knowledge base - Rounded","deploymentId":"dpl_DyXGnKeCjZyA3sUdfMJ7FjkdBefg","buildId":"dpl_DyXGnKeCjZyA3sUdfMJ7FjkdBefg","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CiUHMMOm.js","snippetPresets-BgfXU7Bw.js","utils-DWvOwgy_.js","style-to-object-BY3JEAdk.js","utils-BN7RXSMJ.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-CFw8bq89.js","conditional-requirements-CFM0id0Q.js","cloneDeep-CAwdfOU2.js","_Uint8Array-BJr8e-ZL.js","isObject-FP1Yky1u.js","ApiExamples-XX0UgMZK.js","usePlaygroundInputsStore-DXDFSa1V.js","shallow-CdX5aREi.js","isEqual-CoOaxexF.js","CodeSnippets-Cg2wpzWm.js","CodeSnippet-D_HwgQO_.js","getApiPlaygroundDisplay-CmCoerhe.js","Page-CVJ-f_k1.js","DynamicMarkdown-CQM9Bhbv.js","SectionHeading-DpbrP8nQ.js","icon-BPCgijHy.js","MethodPill-GQ8DuY0c.js","getPastedJson-Cb5mT31m.js","Check2Icon-a7bUI6e8.js","axios-CsQoIw0U.js","Markdown-CX2QY19L.js","AssistantPageLink-CY3bFglh.js","dist-Dl6_zDnT.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}