Tracira icon

Tracira

Check and inspect your AI outputs in Tracira

Output → Upload a File

AI-generated

Summary

Upload a binary file (PDF, image, or audio, up to 32 MB) directly to Tracira's storage using an input binary field, optionally specifying a file name and content type.

Inputs

  • Input Binary Field (required) — The name of the binary input field containing the file to upload.
  • File Name — Optional file name to override the binary input field's file name; extension is used to detect file type.
  • Content Type — Optional MIME type override (e.g., application/pdf, image/png), needed only when file name extension is unrecognizable.

Output shape

a single JSON object containing the uploaded file's key and content type

Returns the storage key and content type of the uploaded file for use in subsequent operations, like attaching the file to an output. The upload bypasses request size limits by directly sending the file to a presigned URL.

Links

Discussion