Prepare Document Upload
TestingPOST
/api/knowledge-bots/{id}/prepare-uploadRequest the upload URLs to upload files for a specific knowledge base.
Upload your file to the URL from the signedURL
response field with a simple PUT
request.
Temporary: Announce the uploaded file afterwards again to the Knowledge Bot.
Request
Path Params
id
string
required
Body Params application/json
filenames
array[string]
required
Example
{
"filenames": [
"string"
]
}
Request samples
Responses
OK(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
uploads
array [object {3}]
required
filename
string
required
signedUrl
string
required
path
string
required
Example
{
"uploads": [
{
"filename": "withdrawal.grv",
"signedUrl": "https://concrete-bronze.com",
"path": "/var/dicta_gripping.ivp"
}
]
}
Last modified: a year ago