Actions65
- Export Actions
- File Actions
- Job Actions
- Project Actions
- Project File Actions
- Slide Actions
- Slide Deck Actions
- Batch Generate Layout
- Batch Generate Slides
- Cancel Generation
- Duplicate Section
- Generate Manual Slide
- Generate Outline
- Generate Slide Content
- Generate Slide Image
- Generate Slide Transcript
- Generate Theme
- Get Audio Download URL
- Get Deck
- Get Tone Settings
- Improve Section
- Import PPTX
- List Transcript Versions
- Mark Improvement Read
- Mark Live Object Read
- Mark Transcript Read
- Prepare Import Upload
- Restore Transcript Version
- Update
- Update Outline
- Update Tone Settings
- Update Transcript
- Update Visual Style Description
- Theme Actions
- Workspace Actions
File → Prepare Upload
AI-generatedSummary
Prepare a file upload by sending the file name, MIME type, and size to the LayerProof API to obtain a presigned URL.
Inputs
- fileName (required) — The name of the file to upload
- mimeType (required) — MIME type of the file (e.g. image/png, application/pdf)
- size (required) — The size of the file in bytes. Minimum value is 1.
Output shape
API response from POST /api/v2/files/prepare, typically containing a presigned URL and upload metadata.
After preparing the upload, use the returned presigned URL with the confirmUpload operation to complete the file upload process.
Examples
Example 1: Upload a PNG image
Set fileName to 'diagram.png', mimeType to 'image/png', and size to the file's byte size. The node will call the LayerProof API to prepare the upload and return a presigned URL.