GET
/
file
Get presigned download URL
curl --request GET \
  --url https://aurigin.ai/api-ext/file \
  --header 'x-api-key: <api-key>'
{
  "url": [
    {
      "key": "<string>",
      "value": "<string>"
    }
  ]
}

Endpoint

GET https://aurigin.ai/api-ext/file?key_prefix={filename}&entity=analysis

Headers

x-api-key: aurigin_test_1234567890abcdef

Example

curl -X GET "https://aurigin.ai/api-ext/file?key_prefix=recording.wav&entity=analysis" \
  -H "x-api-key: $AURIGIN_API_KEY"

Response

{
  "url": [
    {
      "key": "analysis/recording.wav",
      "value": "presigned_url"
    }
  ]
}
Use the returned URL to fetch the file:
curl -L "<PRESIGNED_URL>" -o downloaded_recording.wav

Authorizations

x-api-key
string
header
required

Query Parameters

key_prefix
string
required
entity
string
required

Response

200 - application/json

OK

The response is of type object.