Get a signed s3 url corresponding to the file_id requested such that you can download the file.
Example:
const data = await trieve.getFile({ fileId: "3c90c3cc-0d44-4b50-8888-8dd25736052a", }); Copy
const data = await trieve.getFile({ fileId: "3c90c3cc-0d44-4b50-8888-8dd25736052a", });
Optional
Get a signed s3 url corresponding to the file_id requested such that you can download the file.
Example: