The Files tab in the Builder sidebar lists every file uploaded to the current workspace. It is the workspace-level equivalent of object storage: files sit next to (but separate from) the page source tree, automations, and apps. Use Files for runtime assets — PDFs ingested by automations, user-uploaded images, exports produced by a workflow, evidence stored for audit. For React source files that ship with a page, stay in the page editor; for app code, stay in Imports → Custom Code.Documentation Index
Fetch the complete documentation index at: https://docs.prisme.ai/llms.txt
Use this file to discover all available pages before exploring further.
What you see
| Column | Content |
|---|---|
| Icon | Type icon derived from the file’s MIME type (image, PDF, Word, spreadsheet, archive, audio, video, code, generic). |
| Filename | The original filename at upload time. |
| Size | Human-readable size. |
| Date | Upload timestamp. |
| Type badge | Color-coded label (Image, PDF, Word, Excel, etc.). |
| Open (external-link icon) | Opens the file in a new tab using its signed URL. |
| Download (download icon) | Downloads the file under its original name. |
| Delete (trash icon, double-click to confirm) | Calls DELETE /workspaces/{id}/files/{fileId} and removes the file from the list. |
Previous / Next) when the workspace has more files than fit in one page.
How files get there
The Files tab is a viewer. There is no upload button inside the tab itself. Files appear there after one of the following:From an automation
Use afetch instruction with multipart/form-data against the workspace files endpoint. The platform stores the file and returns its metadata (id, URL, mimetype, size).
multipart/form-data request from a page or external system — see Triggers → URL for the request-body shape exposed to the automation.
From a page
A page can post directly to the workspace files endpoint using the injected SDK.From the API directly
POST /v2/workspaces/{id}/files with a multipart/form-data body. The endpoint is documented in the Platform API reference.
File URLs
Each file is served from a signed URL stored on the file record. The URL is what the Open and Download buttons use; it is also whatuploadedFile.url returns to automations and pages.
URLs are signed for the workspace’s storage provider (S3-compatible by default in self-hosted deployments). They expire — re-fetch the file metadata if you need a fresh URL.
What’s not in Files
| Asset | Where it lives instead |
|---|---|
Page source files (src/App.tsx, package.json, …) | Pages tab. They are part of the workspace bundle, not its file storage. |
| Custom Code source | Imports → Custom Code. |
| App configuration | Imports → <app> → Configure. |
| Secrets | Settings → Secrets. |
| Crawled documents and embeddings | Stored by the respective app (AI Knowledge, etc.), not in the workspace file list. |
Lifecycle
- Files are not included in workspace exports or pushes to Git — versioning saves the static configuration but not runtime data. See Versioning → What’s Versioned.
- Deleting a file is immediate and irreversible from the UI. If you need to retain history, archive the file in your own storage before deleting.
- Per-file size limits and total quota are controlled by the platform deployment (see Self-Hosting → Sizing).
Troubleshooting
My uploaded file does not appear in the list
My uploaded file does not appear in the list
Click Refresh — the list shows the current page only and does not auto-update on every upload. If the file is still missing, check the workspace Activity for a
workspaces.files.error event, which contains the underlying storage error.The file URL returns 403 or 410
The file URL returns 403 or 410
Signed URLs expire. Re-fetch the file metadata (
GET /v2/workspaces/{id}/files/{fileId}) to obtain a fresh URL, or rebuild the URL from a fresh uploadedFile payload returned by your automation.Uploads fail from a page
Uploads fail from a page
The page must include the platform’s CSRF token in the request headers if the user is authenticated. See the SDK reference for the helper that injects it automatically.
I cannot delete a file
I cannot delete a file
Deletion requires the
ManageWorkspace ability. Check your role in Settings → Sharing or with the workspace owner.Next steps
Automations
Upload, transform, and route files inside workflows.
Pages
Build interfaces that upload to and read from workspace files.