Create file upload URL
layerz_create_upload_urlIssue a short-lived signed URL to upload an Excel/CSV file straight into Storage, then call layerz_parse_file with the returned file_id. PUT the file to signed_url directly (e.g. curl -X PUT "<signed_url>" -H "Content-Type: <content_type>" --data-binary @file) — the binary never enters the agent context. Limits: 25 MB, MIME whitelist (xlsx, xls, csv, json, txt); the file_id expires after 24h.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | Yes | File size in bytes (max 25 MB). | |
| filename | Yes | Original filename, e.g. "actuals_q1.csv". | |
| content_type | Yes | MIME type, e.g. "text/csv" or the xlsx spreadsheet content type. |