POST
Create a file preview
Request · Response · Guide: Upload files
The input should contain the following information:
  • s3Path: the path of the file in the S3 bucket

Authorizations

x-api-key
string
header
required

API key for authentication

Headers

Idempotency-Key
string

Accepted for client uniformity but IGNORED on this endpoint. It has no side effects, and its presigned URLs expire in an hour — well inside the 24h replay window — so a replayed response would carry URLs that are already dead against S3. Every request executes fresh: no 24h window, no replay, no Idempotent-Replayed header, and no key-reuse 422.

Body

application/json
s3Path
string
required

S3 Path

Example:

"s3://orion.com/649e2d2d2d2d2d2d2d2d2d2d"

Response

The signed URL for the file preview is retrieved

signedUrl
string