cURL
curl --request GET \ --url https://api.opper.ai/v2/knowledge/{knowledge_base_id}/files/{file_id}/download_url \ --header 'Authorization: Bearer <token>'
{ "url": "<string>", "expires_in": 123 }
Get a presigned URL to download a file from a knowledge base
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The id of the knowledge base
The id of the file
Successful Response
Presigned URL to download the file
Number of seconds until the URL expires