Knowledge Bases
Retrieve a file upload URL
Changed onCreates a presigned upload policy for a file that will be attached to a knowledge-base datasource. Submit the returned form fields and file directly to the returned URL.
get/v2/knowledge/{knowledge_id}/upload-file
Request
- Base URLhttps://my.orq.ai
- URLhttps://my.orq.ai/v2/knowledge/{knowledge_id}/upload-file
- AuthHTTP bearer
Path parameters
knowledge_idstring required
Query parameters
fileNamestring required
The name of the file to upload.
contentTypestring required
The media type of the file to upload.
datasourceIdstring required
The datasource identifier that will own the uploaded file.
Response
File upload url successfully retrieved
Changes
- info
added the non-success response with the status
- info
- info
removed the non-success response with the status
- info