cURL
curl --request POST \ --url https://studio.edgeimpulse.com/v1/api/portals/{portalId}/files/download \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data '{ "path": "<string>" }'
{ "success": true, "error": "<string>", "url": "<string>" }
Download a file from an upload portal (requires JWT auth). Will return a signed URL to the bucket.
Portal ID
S3 path (within the portal)
OK
Whether the operation succeeded
Signed URL to download the file
Optional error description (set if 'success' was false)
Was this page helpful?