Skip to main content
POST
/
file
Create presigned upload URL
curl --request POST \
  --url https://api.aurigin.ai/v1/file \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "keys": [
    "uploads/audio/pred_abc123.wav",
    "uploads/audio/pred_def456.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&..."
    }
  ]
}

Authorizations

x-api-key
string
header
required

Body

application/json
keys
string[]
required
entity
string
required
Example:

"analysis"

Response

OK

url
object[]