Skip to main content
GET
/
v1
/
storage
/
objects
/
by-path
/
presign-download
/
{path}
Get File Download URL
curl --request GET \
  --url https://api.bctrl.ai/v1/storage/objects/by-path/presign-download/{path} \
  --header 'Authorization: Bearer <token>'
{
  "url": "<string>"
}
path
string
required
Logical file path.
workspace
string
Workspace name.

Examples

const url = await storage.getDownloadUrl('reports/q1.pdf');

Response

url
string
required
Presigned download URL.