Publish File to Prismism
prismism_publishUpload files to generate shareable, tracked links for PDFs, HTML, Markdown, images, and videos. Send content as plain text or base64-encoded for binary files.
Instructions
Upload a file and get a shareable, tracked link. Supports PDF, HTML, Markdown, images (PNG/JPG/GIF/SVG/WebP), and video (MP4). Send content as plain text (default) or base64 for binary files.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | File content — plain text (default) or base64-encoded for binary files | |
| filename | Yes | Filename with extension, e.g. "report.pdf" or "chart.png" | |
| encoding | No | Content encoding — use "base64" for binary files like PDFs, images, or video | utf8 |
| contentType | No | MIME type — auto-detected from filename if not provided | |
| title | No | Display title for the artifact |