post https://api.voiceflow.com/v1/knowledge-base/docs/upload
Uploads a document to the Knowledge Base (excluding type "url"). Limit is one file per call.
Request Fields
Property | Description & Example |
---|---|
Content-Type (header) | multipart/form-data |
overwrite (query parameter) | Optional - Specify whether to overwrite existing data (optional). "True" means you want to overwrite. |
maxChunkSize (query parameter) | Optional - Determine how granularly each document is broken up. Max chunk size affects the total amount of chunks parsed from a document. (i.e. larger chunks means less chunks retrieved) Smaller chunk size means:
|
file | Accepted source document types for this endpoint are:
|
Tags API has been deprecatedTags API stills offers legacy support, subject to change. For the latest tag functionality, you can now use file metadata when uploading files.