The presigned URL expires after 1 hour (3600 seconds). Upload the file before it expires.
Constraints
| Constraint | Value |
|---|---|
| Maximum file size | 50 MB |
| Allowed content types | application/pdf, image/jpeg, image/jpg |
| URL expiry | 3600 seconds (1 hour) |
Request body
The name of the file to upload (e.g.
report.pdf). Used to derive the storage key.MIME type of the file. Must be one of:
application/pdf, image/jpeg, image/jpg.Size of the file in bytes. Must not exceed 52,428,800 (50 MB).
Response
200 OK
Presigned upload details. Use the fields in this object to
PUT the file directly to object storage.400 Bad Request
Returned when the file fails size or type validation.A human-readable description of the validation failure — either
"Maximum file size limit exceed" (SizeError) or "Invalid File Type | Valid Type Are: ..." (TypeError).500 Internal Server Error
Always
"Internal Server Error".Machine-readable error code for debugging.
Example
Response
After receiving the presigned URL, upload the file with a
PUT request to uploadData.signedUrl, then pass uploadData.key as the key field to POST /api/v1/ingest/process.