cURL
curl --request POST \ --url https://api.aurigin.ai/v0/file \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data ' { "keys": [ "uploads/audio/pred_abc123.wav", "uploads/audio/pred_xyz789.wav" ], "entity": "analysis" } '
{ "url": [ { "key": "uploads/audio/pred_abc123.wav", "value": "https://aurigin-uploads.s3.amazonaws.com/uploads/audio/pred_abc123.wav?X-Amz-Algorithm=AWS4-HMAC-SHA256&..." } ] }
Generate presigned upload URLs for one or more objects. Provide the target keys and associated entity to receive presigned URLs that can be used to send files to Aurigin storage.
keys
entity
"analysis"
OK
Key/value pairs containing presigned URLs that can be used for uploading or downloading files.
Show child attributes