Get a presigned URL to upload a file for inference.
Returns a presigned URL that can be used to upload the file directly to S3. After upload, call confirm endpoint to start processing.
cURL
curl --request POST \ --url https://api.example.com/api/v1/inference-jobs/{job_id}/files/upload-url \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <api-key>' \ --data ' { "filename": "<string>", "file_size_bytes": 123, "content_type": "audio/wav" } '
{ "file_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "upload_url": "<string>", "upload_fields": {}, "s3_key": "<string>", "expires_in": 123 }
Request to add a file to inference job via presigned upload.
1 - 500
x <= 524288000
Successful Response
Response with presigned upload URL for inference file.