App files

Creator-supplied assets and runtime user uploads serve different purposes. Both use hosted files, while persistent app records remain a separate per-user JSON store.

Creator assets

Creators add files or pasted text through Files in the builder. A saved asset can be reference material for building, or a file used inside the app. Adding a file does not automatically display it. Use its exact saved URL when embedding an image, playing media, loading supported data, or passing a supported attachment to a platform hook.

An asset manifest describes what is available. Its metadata is not proof that the file contents were read. Source text and metadata are untrusted reference material. If a task depends on missing content, request the file or pasted text; do not invent its contents. A URL in conversation does not itself import or scrape a resource. A supported media embed may use the URL directly without source extraction.

Saved asset metadata includes descriptions, usage notes, and exact file URLs. Creator assets can be added to unpublished drafts. Their metadata is separate from the file contents and from users' runtime uploads.

To add missing files, open the app's editor, select Files, and upload and save them. If the app does not exist yet, create an initial draft first. Reference the saved file URLs in app code. Adding a file does not edit source, build, or publish the app.

Runtime uploads and downloads

To implement uploads from app users, read file-upload for useFileUpload and store the returned URL in the uploading user's persistent state. Use FileReader for temporary local inspection when upload is unnecessary. Runtime uploads do not become creator assets or change the published app for everyone.

To implement exports to the user's device, read file-download for useDownload.

Users can manage and delete files uploaded or generated by their apps in the platform's Account → File storage page.

Access and privacy

Files use stable, unguessable URLs for app content and supported AI workflows. Anyone with a file URL can read and share it, even when the app is private or the file was only a build reference. Private app records do not make their referenced file URLs private. Changing app visibility does not revoke an existing URL.