cURL
curl --request GET \ --url https://api.bctrl.ai/v1/storage/objects/by-path/presign-download/{path} \ --header 'Authorization: Bearer <token>'
{ "url": "<string>" }
Get a presigned download URL for a file by logical path
const url = await storage.getDownloadUrl('reports/q1.pdf');