Create Presigned Upload URL
Create a short-lived presigned URL for uploading media files. Upload the raw file bytes
to presigned_url using every header returned in required_headers, then pass
public_url as a model input.
POST
Create Presigned Upload URL
Body
application/json
How long the stored file is retained before automatic deletion, in seconds. Sets expires_at in the response. Defaults to 180 days when omitted; clamped to a minimum of 60 seconds and a maximum of 365 days (31536000). Does not affect the 15-minute upload-URL lifetime.
Required range:
60 <= x <= 31536000Example:
604800
Response
Presigned upload URL created