Uploads files to a knowledge base in one multipart/form-data request. The answer comes once they are stored; Verbeo then reads them in the background. Uploading files has the file types and how a request is checked.
Up to 25 files, together up to 25 MB, each under the field name files.
All or nothing: if any file is refused, none is kept, and the error names the file.
Each file is checked against your plan: its size, the files in the knowledge base, your storage and passages, and duplicates.
Path parameters
string
required
UUID of the knowledge base.
Body
file
required
A file to upload, with its name. Repeat the field for each file.
import { readFile } from "node:fs/promises";const kbId = "5df09066-0842-4c92-8ef0-6cf2ff6d7455";const form = new FormData();for (const name of ["prices.pdf", "faq.md"]) { form.append("files", new Blob([await readFile(name)]), name);}const res = await fetch(`https://api.verbeo.ai/v1/knowledge-base/${kbId}/files`, { method: "POST", headers: { Authorization: `Bearer ${process.env.VERBEO_API_KEY}` }, body: form,});const { data } = await res.json();// data.files: one file object for each file sent, "processing"
files: must include at least one file; files: must include at most 25 files; file: send each file under the name "files"; a file with no name; photo.png: This file type is not supported. …; Request body is not valid multipart/form-data.
PAYLOAD_TOO_LARGE
413
One request can carry at most 25 MB of files. Send the rest in another request.
KB_DUPLICATE_FILE
409
faq-copy.md: This file is already in this knowledge base, as "faq.md".
KB_FILE_TOO_LARGE
409
big.pdf: This file is 30 MB. Files can be up to 25 MB.
KB_FILE_LIMIT
409
f4.txt: This knowledge base already has 10 files, the most your plan allows. Delete a file first.
{"docsConfig":{"theme":"luma","$schema":"https://mintlify.com/docs.json","name":"Verbeo","colors":{"primary":"#4464fc"},"logo":{"light":"https://mintcdn.com/verbeo/KF7N9-PTUQJPGPt1/logo/light.svg?fit=max\u0026auto=format\u0026n=KF7N9-PTUQJPGPt1\u0026q=85\u0026s=1c9b8be25c250e426ac9d1f189b92939","dark":"https://mintcdn.com/verbeo/KF7N9-PTUQJPGPt1/logo/dark.svg?fit=max\u0026auto=format\u0026n=KF7N9-PTUQJPGPt1\u0026q=85\u0026s=d014b21fde129ebb2219a485d6866eb1"},"favicon":"https://mintcdn.com/verbeo/fXdZRNykS0gqhRTS/logo/favicon.svg?fit=max\u0026auto=format\u0026n=fXdZRNykS0gqhRTS\u0026q=85\u0026s=22d4421a25945d76ee153d154b360877","api":{"playground":{"display":"interactive"},"mdx":{"auth":{"method":"bearer"},"server":"https://api.verbeo.ai/v1"}},"navbar":{"links":[{"href":"mailto:support@verbeo.ai","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://dashboard.verbeo.ai"}},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"verbeo","hasAudioNarration":false,"actualSubdomain":"verbeo","customDomains":["docs.verbeo.ai"],"gitSource":{"type":"github","owner":"harshsimplifygenai","repo":"verbeo-monorepo","deployBranch":"production","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true,"agentFeedback":true},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6b0020a32232714be200e3f8","clientVersion":"0.0.4271","searchFilterCounts":[{"language":"default","tag":"API Reference","count":74},{"language":"default","tag":"Knowledge Bases","count":21},{"language":"default","tag":"Campaigns","count":14},{"language":"default","tag":"Files","count":12},{"language":"default","tag":"Phone Numbers","count":12},{"language":"default","tag":"Guides","count":12},{"language":"default","tag":"Calls","count":10},{"language":"default","tag":"Tools","count":8},{"language":"default","tag":"Assistants","count":7},{"language":"default","tag":"Knowledge bases","count":7}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"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":"control","enabled":true,"payload":{"type":"string","value":"control"},"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":[{"filePath":"style.css","content":"#sidebar{width:18rem}"}]}
{"page":{"pagePath":"api-reference/knowledge-bases/upload-files","slug":"/api-reference/knowledge-bases/upload-files","pageMetadata":{"title":"Upload files","sidebarTitle":"Upload files","description":"Upload one file or several to a knowledge base in one call: up to 25 files and 25 MB, all or nothing.","api":"POST /knowledge-base/{id}/files","href":"/api-reference/knowledge-bases/upload-files"},"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: \"Upload one file or several to a knowledge base in one call: up to 25 files and 25 MB, all or nothing.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,CodeGroup,Heading,Note,ParamField,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Uploads files to a knowledge base in one `,_jsx(_components.code,{children:`multipart/form-data`}),` request. The answer comes once they are stored; Verbeo then reads them in the background. `,_jsx(_components.a,{href:`/api-reference/knowledge-bases/overview#uploading-files`,children:`Uploading files`}),` has the file types and how a request is checked.`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Up to 25 files`}),`, together `,_jsx(_components.strong,{children:`up to 25 MB`}),`, each under the field name `,_jsx(_components.code,{children:`files`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`All or nothing:`}),` if any file is refused, none is kept, and the error names the file.`]}),`\n`,_jsx(_components.li,{children:`Each file is checked against your plan: its size, the files in the knowledge base, your storage and passages, and duplicates.`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`path-parameters`,children:`Path parameters`}),`\n`,_jsx(ParamField,{path:`id`,type:`string`,required:true,id:`param-id`,children:_jsx(_components.p,{children:`UUID of the knowledge base.`})}),`\n`,_jsx(Heading,{level:`2`,id:`body`,children:`Body`}),`\n`,_jsx(ParamField,{body:`files`,type:`file`,required:true,id:`param-files`,children:_jsx(_components.p,{children:`A file to upload, with its name. Repeat the field for each file.`})}),`\n`,_jsx(Heading,{level:`2`,id:`request`,children:`Request`}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`4`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.verbeo.ai/v1/knowledge-base/5df09066-0842-4c92-8ef0-6cf2ff6d7455/files\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer YOUR_API_KEY\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -F`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"files=@prices.pdf\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -F`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"files=@faq.md\"`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Node.js`,numberOfLines:`14`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`14`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`readFile`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"node:fs/promises\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` kbId`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"5df09066-0842-4c92-8ef0-6cf2ff6d7455\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` form`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` new`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` FormData`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`for`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` name`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` of`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"prices.pdf\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"faq.md\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` form`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`append`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"files\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`new`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` Blob`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`([`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`await`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` readFile`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`name`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)]), `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`name`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` res`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` fetch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\"`https://api.verbeo.ai/v1/knowledge-base/\"}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`kbId`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\"/files`\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` method:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"POST\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` headers:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Authorization:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\" `Bearer \"}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`process`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`env`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:`VERBEO_API_KEY`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\"`\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` body:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` form`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:`data`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` res`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`json`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// data.files: one file object for each file sent, \"processing\"`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Python`,numberOfLines:`9`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`9`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` os, requests`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`kb_id `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"5df09066-0842-4c92-8ef0-6cf2ff6d7455\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`res `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests.post(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` f`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://api.verbeo.ai/v1/knowledge-base/`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`kb_id`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`/files\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` headers`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Authorization\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`f`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Bearer `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`os.environ[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'VERBEO_API_KEY'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`},`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` files`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"files\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`open`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"prices.pdf\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"rb\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)), (`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"files\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`open`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"faq.md\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"rb\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`))],`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`files `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` res.json()[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`][`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"files\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`]})})})]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`Do not set `,_jsx(_components.code,{children:`Content-Type`}),` yourself: curl’s `,_jsx(_components.code,{children:`-F`}),`, `,_jsx(_components.code,{children:`FormData`}),` and `,_jsx(_components.code,{children:`requests`}),`’ `,_jsx(_components.code,{children:`files=`}),` set it with the form’s boundary.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`201 Created`}),`: `,_jsx(_components.code,{children:`files`}),`, a `,_jsx(_components.a,{href:`/api-reference/knowledge-bases/overview#the-file-object`,children:`file object`}),` for each file, in the order you sent them, each `,_jsx(_components.code,{children:`processing`}),`.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`24`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`24`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"files\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"c4ff0c9c-4b3b-4a94-a86e-3d3b64088ae0\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"store_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"5df09066-0842-4c92-8ef0-6cf2ff6d7455\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"display_name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"prices.pdf\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"file_type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"application/pdf\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"file_size\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`371989`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"processing\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"content_hash\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"15375e6b518b63b07e33cb2bc0a954ff49a9b326a49fe53dc324c8a894390127\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"…\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"every field of the file object\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"9a1b2c3d-4e5f-4a6b-8c7d-0e1f2a3b4c5d\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"display_name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"faq.md\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"file_type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"text/markdown\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"processing\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"…\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"every field of the file object\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Read each file with `,_jsx(_components.a,{href:`/api-reference/knowledge-bases/get-file`,children:_jsx(_components.code,{children:`GET /knowledge-base/files/{fileId}`})}),`, or the knowledge base, until it is `,_jsx(_components.code,{children:`ready`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`errors`,children:`Errors`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Code`}),_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`When`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`VALIDATION_FAILED`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`422`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`files: must include at least one file`}),`; `,_jsx(_components.code,{children:`files: must include at most 25 files`}),`; `,_jsx(_components.code,{children:`file: send each file under the name \"files\"`}),`; a file with no name; `,_jsx(_components.code,{children:`photo.png: This file type is not supported. …`}),`; `,_jsx(_components.code,{children:`Request body is not valid multipart/form-data`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`PAYLOAD_TOO_LARGE`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`413`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`One request can carry at most 25 MB of files. Send the rest in another request.`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`KB_DUPLICATE_FILE`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`409`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`faq-copy.md: This file is already in this knowledge base, as \"faq.md\".`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`KB_FILE_TOO_LARGE`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`409`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`big.pdf: This file is 30 MB. Files can be up to 25 MB.`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`KB_FILE_LIMIT`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`409`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`f4.txt: This knowledge base already has 10 files, the most your plan allows. Delete a file first.`})})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`KB_EMPTY_FILE`}),`, `,_jsx(_components.code,{children:`KB_STORAGE_FULL`}),`, `,_jsx(_components.code,{children:`KB_FULL`}),`, `,_jsx(_components.code,{children:`KB_WORKSPACE_FULL`}),`, `,_jsx(_components.code,{children:`KB_MONTHLY_LIMIT`})]}),_jsx(_components.td,{\"data-numeric\":`true`,children:`409`}),_jsxs(_components.td,{children:[`Another of your `,_jsx(_components.a,{href:`/api-reference/knowledge-bases/overview#plan-limits`,children:`plan’s limits`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`BAD_GATEWAY`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`502`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`The files could not be stored just now. Try again in a moment.`}),` Nothing was kept.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`NOT_FOUND`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`404`}),_jsxs(_components.td,{children:[`No such knowledge base: `,_jsx(_components.code,{children:`Knowledge base not found`}),`.`]})]})]})]}),`\n`,_jsx(_components.p,{children:`Every refusal keeps nothing of the request: send it again once the named file is fixed or left out.`})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Upload files","sidebarTitle":"Upload files","description":"Upload one file or several to a knowledge base in one call: up to 25 files and 25 MB, all or nothing.","api":"POST /knowledge-base/{id}/files","href":"/api-reference/knowledge-bases/upload-files"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Path parameters","slug":"path-parameters","depth":2,"children":[]},{"title":"Body","slug":"body","depth":2,"children":[]},{"title":"Request","slug":"request","depth":2,"children":[]},{"title":"Response","slug":"response","depth":2,"children":[]},{"title":"Errors","slug":"errors","depth":2,"children":[]}],"codeExamples":{},"endpoint":{"title":"Upload files","path":"/knowledge-base/{id}/files","servers":[{"url":"https://api.verbeo.ai/v1"}],"method":"post","request":{"security":[{"title":"Bearer Auth","parameters":{"header":{"Authorization":{"type":"http","scheme":"bearer","description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token."}},"query":{},"cookie":{}}}],"parameters":{"query":{},"header":{},"cookie":{},"path":{"id":{"schema":[{"type":"string","description":"UUID of the knowledge base.","required":true}]}}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"files":[{"type":"file","description":"A file to upload, with its name. Repeat the field for each file.","required":true}]}}],"examples":{"example":{"value":{}}}}}},"response":{},"deprecated":false}},"jsLinks":[],"subdomain":"verbeo","siteName":"Verbeo","title":"Upload files - Verbeo","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-12T06:33:26.048Z","originalFileLocation":"api-reference/knowledge-bases/upload-files.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=\"Upload one file or several to a knowledge base in one call: up to 25 files and 25 MB, all or nothing.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Verbeo\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/verbeo/Kw0I2hKJmqnmFXDw/_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/verbeo/Kw0I2hKJmqnmFXDw/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/verbeo/Kw0I2hKJmqnmFXDw/_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/verbeo/Kw0I2hKJmqnmFXDw/_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/verbeo/Kw0I2hKJmqnmFXDw/_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/verbeo/Kw0I2hKJmqnmFXDw/_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/verbeo/Kw0I2hKJmqnmFXDw/_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/verbeo/Kw0I2hKJmqnmFXDw/_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/verbeo/Kw0I2hKJmqnmFXDw/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Upload files - Verbeo\">\u003cmeta data-mint-head property=\"og:description\" content=\"Upload one file or several to a knowledge base in one call: up to 25 files and 25 MB, all or nothing.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Verbeo\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.verbeo.ai/api-reference/knowledge-bases/upload-files\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://verbeo.mintlify.site/_mintlify/api/og/v2?division=Files\u0026amp;title=Upload+files\u0026amp;description=Upload+one+file+or+several+to+a+knowledge+base+in+one+call%3A+up+to+25+files+and+25+MB%2C+all+or+nothing.\u0026amp;theme=9365aa895579db6d247f7ad3\u0026amp;signature=27c2c6e8c20b87ffcf43e677302d1a947e01cf03ef3cf55a9970faedbd6366c4\">\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=\"Upload files - Verbeo\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Upload one file or several to a knowledge base in one call: up to 25 files and 25 MB, all or nothing.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://verbeo.mintlify.site/_mintlify/api/og/v2?division=Files\u0026amp;title=Upload+files\u0026amp;description=Upload+one+file+or+several+to+a+knowledge+base+in+one+call%3A+up+to+25+files+and+25+MB%2C+all+or+nothing.\u0026amp;theme=9365aa895579db6d247f7ad3\u0026amp;signature=27c2c6e8c20b87ffcf43e677302d1a947e01cf03ef3cf55a9970faedbd6366c4\">\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/verbeo/Kw0I2hKJmqnmFXDw/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Verbeo\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#4464fc\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.verbeo.ai/api-reference/knowledge-bases/upload-files\">\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/upload-files.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.verbeo.ai/#organization\",\"name\":\"Verbeo\",\"url\":\"https://docs.verbeo.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/verbeo/KF7N9-PTUQJPGPt1/logo/light.svg?fit=max\u0026auto=format\u0026n=KF7N9-PTUQJPGPt1\u0026q=85\u0026s=1c9b8be25c250e426ac9d1f189b92939\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.verbeo.ai#website\",\"name\":\"Verbeo\",\"url\":\"https://docs.verbeo.ai\",\"publisher\":{\"@id\":\"https://docs.verbeo.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.verbeo.ai/api-reference/knowledge-bases/upload-files#webpage\",\"url\":\"https://docs.verbeo.ai/api-reference/knowledge-bases/upload-files\",\"name\":\"Upload files\",\"description\":\"Upload one file or several to a knowledge base in one call: up to 25 files and 25 MB, all or nothing.\",\"dateModified\":\"2026-11-12T06:33:26.048Z\",\"isPartOf\":{\"@id\":\"https://docs.verbeo.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.verbeo.ai/api-reference/knowledge-bases/upload-files#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.verbeo.ai/api-reference/knowledge-bases/upload-files#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Knowledge Bases\",\"item\":\"https://docs.verbeo.ai/api-reference/knowledge-bases/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Files\",\"item\":\"https://docs.verbeo.ai/api-reference/knowledge-bases/list-files\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Upload files\",\"item\":\"https://docs.verbeo.ai/api-reference/knowledge-bases/upload-files\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.verbeo.ai/api-reference/knowledge-bases/upload-files#apireference\",\"headline\":\"Upload files\",\"name\":\"Upload files\",\"description\":\"Upload one file or several to a knowledge base in one call: up to 25 files and 25 MB, all or nothing.\",\"url\":\"https://docs.verbeo.ai/api-reference/knowledge-bases/upload-files\",\"mainEntityOfPage\":{\"@id\":\"https://docs.verbeo.ai/api-reference/knowledge-bases/upload-files#webpage\"},\"dateModified\":\"2026-11-12T06:33:26.048Z\",\"publisher\":{\"@id\":\"https://docs.verbeo.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.verbeo.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Verbeo\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Verbeo\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/knowledge-bases/upload-files.md","siteName":"Verbeo","nav":{"global":null,"tabs":[{"tab":"API Reference","groups":[{"group":"Overview","pages":[{"title":"Verbeo REST API overview","href":"/api-reference/overview"},{"title":"API authentication and keys","href":"/api-reference/authentication"},{"title":"Responses","href":"/api-reference/responses"},{"title":"Errors","href":"/api-reference/errors"}]},{"group":"Assistants","icon":"robot","pages":[{"title":"Assistants","sidebarTitle":"Overview","href":"/api-reference/assistants/overview"},{"title":"List assistants","sidebarTitle":"List assistants","api":"POST /assistant/list","href":"/api-reference/assistants/list"},{"title":"Create assistant","sidebarTitle":"Create assistant","api":"POST /assistant","href":"/api-reference/assistants/create"},{"title":"Get assistant","sidebarTitle":"Get assistant","api":"GET /assistant/{id}","href":"/api-reference/assistants/get"},{"title":"Update assistant","sidebarTitle":"Update assistant","api":"PATCH /assistant/{id}","href":"/api-reference/assistants/update"},{"title":"Replace assistant","sidebarTitle":"Replace assistant","api":"PUT /assistant/{id}","href":"/api-reference/assistants/replace"},{"title":"Delete assistant","sidebarTitle":"Delete assistant","api":"DELETE /assistant/{id}","href":"/api-reference/assistants/delete"}]},{"group":"Tools","icon":"wrench","pages":[{"title":"Tools","sidebarTitle":"Overview","href":"/api-reference/tools/overview"},{"title":"List tools","sidebarTitle":"List tools","api":"POST /tool/list","href":"/api-reference/tools/list"},{"title":"Get tool","sidebarTitle":"Get tool","api":"GET /tool/{id}","href":"/api-reference/tools/get"},{"title":"Create custom tool","sidebarTitle":"Create custom tool","api":"POST /tool/custom","href":"/api-reference/tools/create-custom"},{"title":"Update custom tool","sidebarTitle":"Update custom tool","api":"PUT /tool/custom/{id}","href":"/api-reference/tools/update-custom"},{"title":"Create native tool","sidebarTitle":"Create native tool","api":"POST /tool/native","href":"/api-reference/tools/create-native"},{"title":"Update native tool","sidebarTitle":"Update native tool","api":"PUT /tool/native/{id}","href":"/api-reference/tools/update-native"},{"title":"Delete tool","sidebarTitle":"Delete tool","api":"DELETE /tool/{id}","href":"/api-reference/tools/delete"}]},{"group":"Knowledge Bases","icon":"book","pages":[{"title":"Knowledge Bases","sidebarTitle":"Overview","href":"/api-reference/knowledge-bases/overview"},{"group":"Knowledge bases","pages":[{"title":"List knowledge bases","sidebarTitle":"List knowledge bases","api":"GET /knowledge-base","href":"/api-reference/knowledge-bases/list"},{"title":"Create knowledge base","sidebarTitle":"Create knowledge base","api":"POST /knowledge-base","href":"/api-reference/knowledge-bases/create"},{"title":"Get knowledge base","sidebarTitle":"Get knowledge base","api":"GET /knowledge-base/{id}","href":"/api-reference/knowledge-bases/get"},{"title":"Update description","sidebarTitle":"Update description","api":"PUT /knowledge-base/{id}","href":"/api-reference/knowledge-bases/update"},{"title":"Write description from files","sidebarTitle":"Write description","api":"POST /knowledge-base/{id}/description","href":"/api-reference/knowledge-bases/write-description"},{"title":"Delete knowledge base","sidebarTitle":"Delete knowledge base","api":"DELETE /knowledge-base/{id}","href":"/api-reference/knowledge-bases/delete"},{"title":"Usage and limits","sidebarTitle":"Usage and limits","api":"GET /knowledge-base/usage","href":"/api-reference/knowledge-bases/usage"}]},{"group":"Files","pages":[{"title":"List files","sidebarTitle":"List files","description":"Every file of a knowledge base, newest first, with its status and progress.","api":"GET /knowledge-base/{id}/files","href":"/api-reference/knowledge-bases/list-files"},{"title":"Upload files","sidebarTitle":"Upload files","api":"POST /knowledge-base/{id}/files","href":"/api-reference/knowledge-bases/upload-files"},{"title":"Upload through a link","sidebarTitle":"Upload through a link","description":"For a slow or unreliable connection: reserve a slot, upload the file to its link (resumable), then confirm it.","api":"POST /knowledge-base/{id}/files","href":"/api-reference/knowledge-bases/upload-link"},{"title":"Add text or FAQs","sidebarTitle":"Add text or FAQs","api":"POST /knowledge-base/{id}/texts","href":"/api-reference/knowledge-bases/add-text"},{"title":"Get file","sidebarTitle":"Get file","api":"GET /knowledge-base/files/{fileId}","href":"/api-reference/knowledge-bases/get-file"},{"title":"Replace file","sidebarTitle":"Replace file","api":"POST /knowledge-base/files/{fileId}/replace","href":"/api-reference/knowledge-bases/replace-file"},{"title":"Edit a text or FAQ list","sidebarTitle":"Edit text or FAQs","api":"PUT /knowledge-base/files/{fileId}/text","href":"/api-reference/knowledge-bases/edit-text"},{"title":"Retry failed files","sidebarTitle":"Retry failed files","api":"POST /knowledge-base/{id}/files/retry","href":"/api-reference/knowledge-bases/retry-files"},{"title":"Download file","sidebarTitle":"Download file","api":"GET /knowledge-base/files/{fileId}/download","href":"/api-reference/knowledge-bases/download"},{"title":"File passages","sidebarTitle":"File passages","api":"GET /knowledge-base/files/{fileId}/passages","href":"/api-reference/knowledge-bases/passages"},{"title":"Delete file","sidebarTitle":"Delete file","api":"DELETE /knowledge-base/files/{fileId}","href":"/api-reference/knowledge-bases/delete-file"},{"title":"Delete files","sidebarTitle":"Delete files","api":"POST /knowledge-base/{id}/files/delete","href":"/api-reference/knowledge-bases/delete-files"}]},{"title":"Test a search","sidebarTitle":"Test a search","api":"POST /knowledge-base/search","href":"/api-reference/knowledge-bases/search"}]},{"group":"Phone Numbers","icon":"phone","pages":[{"title":"Phone numbers","sidebarTitle":"Overview","href":"/api-reference/phone-numbers/overview"},{"title":"List phone numbers","sidebarTitle":"List phone numbers","api":"POST /phone-number/list","href":"/api-reference/phone-numbers/list"},{"title":"Get phone number","sidebarTitle":"Get phone number","api":"GET /phone-number/{id}","href":"/api-reference/phone-numbers/get"},{"title":"Connect a SIP-trunk number","sidebarTitle":"Connect SIP trunk","api":"POST /phone-number/sip","href":"/api-reference/phone-numbers/connect-sip"},{"title":"Import a Twilio number","sidebarTitle":"Import Twilio number","api":"POST /phone-number/twilio","href":"/api-reference/phone-numbers/import-twilio"},{"title":"Configure a Twilio number's webhook","sidebarTitle":"Configure Twilio webhook","api":"POST /phone-number/{id}/twilio-webhook","href":"/api-reference/phone-numbers/twilio-webhook"},{"title":"Update phone number","sidebarTitle":"Update phone number","api":"PUT /phone-number/{id}","href":"/api-reference/phone-numbers/update"},{"title":"Delete phone number","sidebarTitle":"Delete phone number","api":"DELETE /phone-number/{id}","href":"/api-reference/phone-numbers/delete"}]},{"group":"Calls","icon":"phone-volume","pages":[{"title":"Create phone call","sidebarTitle":"Create phone call","api":"POST https://api.verbeo.ai/v2/call","href":"/api-reference/calls/create"},{"title":"List calls","sidebarTitle":"List calls","api":"POST https://api.verbeo.ai/v2/call/list","href":"/api-reference/calls/list-v2"},{"title":"Get call","sidebarTitle":"Get call","api":"GET https://api.verbeo.ai/v2/call/{id}","href":"/api-reference/calls/get-v2"},{"title":"Get a call's tool executions","sidebarTitle":"Tool executions","api":"GET https://api.verbeo.ai/v2/call/{id}/tool-executions","href":"/api-reference/calls/tool-executions"},{"title":"Get call fields in bulk","sidebarTitle":"Fields in bulk","api":"POST https://api.verbeo.ai/v2/call/extras","href":"/api-reference/calls/fields"},{"title":"Get concurrency","sidebarTitle":"Concurrency","api":"GET https://api.verbeo.ai/v2/call/concurrency","href":"/api-reference/calls/concurrency"},{"title":"Fix transcript","sidebarTitle":"Fix transcript","api":"POST https://api.verbeo.ai/v2/call/{id}/transcript","href":"/api-reference/calls/fix-transcript"},{"title":"Get a call's webhook deliveries","sidebarTitle":"Webhook deliveries","api":"GET https://api.verbeo.ai/v2/call/{id}/webhook-logs","href":"/api-reference/calls/webhook-logs"},{"title":"Resend webhooks","sidebarTitle":"Resend webhooks","api":"POST https://api.verbeo.ai/v2/call/{id}/webhooks/resend","href":"/api-reference/calls/resend-webhooks"},{"title":"POST /calls — Create a phone call (v1)","sidebarTitle":"Create phone call (v1)","href":"/api-reference/calls/initiate"}]},{"group":"Campaigns","icon":"bullhorn","pages":[{"title":"Campaigns","sidebarTitle":"Overview","href":"/api-reference/campaign/overview"},{"title":"List campaigns","sidebarTitle":"List campaigns","api":"POST https://api.verbeo.ai/v2/campaign/list","href":"/api-reference/campaign/list"},{"title":"Reserve an upload","sidebarTitle":"Reserve an upload","api":"POST https://api.verbeo.ai/v2/campaign/imports","href":"/api-reference/campaign/reserve-import"},{"title":"Create campaign","sidebarTitle":"Create campaign","api":"POST https://api.verbeo.ai/v2/campaign","href":"/api-reference/campaign/create"},{"title":"Get campaign","sidebarTitle":"Get campaign","api":"GET https://api.verbeo.ai/v2/campaign/{id}","href":"/api-reference/campaign/get"},{"title":"Update campaign","sidebarTitle":"Update campaign","api":"PUT https://api.verbeo.ai/v2/campaign/{id}","href":"/api-reference/campaign/update"},{"title":"Delete campaign","sidebarTitle":"Delete campaign","api":"DELETE https://api.verbeo.ai/v2/campaign/{id}","href":"/api-reference/campaign/delete"},{"title":"Start campaign","sidebarTitle":"Start campaign","api":"POST https://api.verbeo.ai/v2/campaign/{id}/start","href":"/api-reference/campaign/start"},{"title":"Pause campaign","sidebarTitle":"Pause campaign","api":"POST https://api.verbeo.ai/v2/campaign/{id}/pause","href":"/api-reference/campaign/pause"},{"title":"Resume campaign","sidebarTitle":"Resume campaign","api":"POST https://api.verbeo.ai/v2/campaign/{id}/resume","href":"/api-reference/campaign/resume"},{"title":"Cancel campaign","sidebarTitle":"Cancel campaign","api":"POST https://api.verbeo.ai/v2/campaign/{id}/cancel","href":"/api-reference/campaign/cancel"},{"title":"Retry import","sidebarTitle":"Retry import","api":"POST https://api.verbeo.ai/v2/campaign/{id}/import/retry","href":"/api-reference/campaign/retry-import"},{"title":"List contacts","sidebarTitle":"List contacts","api":"POST https://api.verbeo.ai/v2/campaign/{id}/contacts","href":"/api-reference/campaign/contacts"},{"title":"Contact counts","sidebarTitle":"Contact counts","api":"GET https://api.verbeo.ai/v2/campaign/{id}/stats","href":"/api-reference/campaign/stats"}]},{"group":"Webhooks","icon":"bolt","pages":[{"title":"Webhook events","href":"/api-reference/webhooks/events"},{"title":"Tool call webhooks","href":"/api-reference/webhooks/tool-calls"}]}]},{"tab":"Guides","pages":[{"title":"Guides","href":"/concepts/phone-numbers"}]}]},"basePath":"","title":"Upload files - Verbeo","deploymentId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","buildId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","dynamics":["c2aa737661","b0f84f53ff","2b790eda92"],"chunks":["OpenApiReferenceProvider-_HcdDqS2.js","snippetPresets-CXnm-WO6.js","utils-Dg59J__o.js","style-to-object-BY3JEAdk.js","utils-D8TRpdk7.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-B6QaxWc5.js","conditional-requirements-CFM0id0Q.js","cloneDeep-DeMZ-lcM.js","_Uint8Array-BjA2mcVW.js","isObject-FP1Yky1u.js","Page-DuqezyvM.js","CodeSnippet-B373COAT.js","DynamicMarkdown-5yMTCLas.js","SectionHeading-BxT1HYfP.js","icon-DYJTTD3g.js","ApiExamples-cjPyMv63.js","usePlaygroundInputsStore-D7BWoaw4.js","shallow-Z1ceDNSG.js","isEqual-BObTuQrO.js","CodeSnippets-D1UZ1AE-.js","getApiPlaygroundDisplay-CfL-UuDS.js","MethodPill-4AyycJeu.js","getPastedJson-Bp3WV6cN.js","Check2Icon-PhZu6Gry.js","axios-CsQoIw0U.js"]}