Pandabase
Store APIsReports

Get download URL

GET
/stores/{storeId}/reports/{reportId}/download/{format}

Returns a 5-minute pre-signed S3 URL for the generated report file. Fetch a fresh URL when the previous one expires. Requires the REPORTS_READ scope.

Authorization

AuthorizationBearer <token>

Bearer token authentication. Pass the secret directly in the Authorization header. Token secrets start with sk_.

In: header

Path Parameters

storeId*string
Length12 <= length <= 48
reportId*string
Length12 <= length <= 48
format*|

Header Parameters

idempotency-key?string
Length8 <= length <= 32

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/stores/stringstring/reports/stringstring/download/csv"
{  "ok": true,  "data": {    "url": "https://cdn.pandabase.io/stores/shp_xxx/reports/rpt_xxx.csv?X-Amz-Algorithm=..."  }}

Last updated on