Overview#
Workspace manages files produced by the code interpreter. Web pages, images, documents, data, and code generated by the AI inside the local Code Workspace (Python and JavaScript) are all saved here. When the AI writes files to outputs/, a "Generated files" card appears on that message once the full reply finishes. Each message groups its outputs into a single card—collapsed by default—showing up to 3 files per page when expanded so you can page through to preview, save, or share them. For files in other workspace directories, you can ask the AI to call File Operations deliver: it keeps the original file, copies it into outputs/, and shows it in both the card and Workspace. Delivery never overwrites an existing file with the same name; for subsequent edits, modify the delivered file inside outputs/. Calling File Operations write with only a filename writes to generated files by default; specifying an explicit path keeps the chosen location. The tool distinguishes between "written to workspace" and "delivered"—do not rely on the AI's text assurances in place of real file results. Inside Session Files, use Browse working directory to view all workspace files and Back to conversation files to return; you can export directly or choose Add to generated files from a file's menu. Manually adding keeps the original file and lists it under generated files.
Generating Word, Excel, and PowerPoint Files#
Enable Code Workspace in the current chat to ask the AI directly to generate Word reports, Excel budgets, or PowerPoint decks—the document libraries are built in, with no extra skill needed. Generating, saving to the device, and using system share do not require Pro; adding files to cross-session Shared Files or publishing to the public web follows membership rules. For full instructions, see "How do I generate Word, Excel and PowerPoint files?".
Two Entry Points#
- Session-level (Free): Open from the chat page menu to view generated files and all workspace files; existing shared files can also be viewed, exported, and deleted for free.
- Global entry: Open via Settings → Content & files → File Space. All users can clean up existing shared files; centrally browsing outputs across sessions and adding or organizing shared files require Pro. Existing public publications can still be unpublished under "My Shares" without renewing Pro.
Batch Deleting While Browsing Folders#
While browsing folders in Workspace, long-press a deletable item or enter selection mode from the menu to select files and folders. Select all only selects items that can be deleted—read-only input files are excluded. Double-check the item count and scope before deleting, since directories are removed together with their contents; up to 500 items (including sub-items) can be deleted at once, so split larger sets into batches.
You can cancel remaining work after confirming, though items already deleted will not be restored automatically. If file contents or permissions change, or if some items fail, a partial completion result is reported; inspect the remaining files rather than assuming nothing was deleted.
Sent Input Files#
Session input files reuse the original attachments you sent, organized per conversation, for read-only browsing, format-based preview, and export. Files with the same name are distinguished by alias without renaming the original file. Input files cannot be edited or deleted directly like generated outputs; save a copy to the working directory if you need to modify them. Being able to browse an original file does not mean the model can parse its format.
Where Imported Files Are Stored#
The root of Session Files contains two folders: Input files holds the original attachments you sent (read-only); Generated and imported files holds AI-generated files as well as files you added manually via Import files (including ZIP archives) or Add to session files from the input bar, all of which can be edited, deleted, and exported. Imported files live alongside AI-generated files and receive an automatic sequence suffix on name collisions without overwriting; they are neither "Input files" nor AI-generated outputs.
File Actions & Preview#
Files are displayed by type. Tap any file to preview directly: images open in the in-app multi-image swipe viewer so you can browse all images in the current folder and share or save right away; HTML opens directly in the built-in preview (supporting relative CSS, scripts, and other assets in the same folder without starting Web Server); common documents use the system preview; and other formats let you pick a system app via Open With. The More menu provides Save, Save to Shared Files, Share, Preview Link, Rename, and Delete; an entire directory can also be downloaded as a .zip. When saving to Shared Files, you can pick a destination folder or create a new one; the Shared Files More menu supports Move to…, and long-press multi-select supports batch moves. On name collisions you can keep both or skip—existing files are never overwritten. After moving a file, access links pointing to the old path stop working and relative references inside the file may need updating. Long-press any file row to enter multi-select mode and batch delete selected files or folders (supported for both session outputs and shared files), with a confirmation prompt beforehand.
Folder & ZIP Import#
In the Shared Files upload menu, choose Upload folder or Import folder from ZIP. Devices that support directory picking can select a folder directly; phones and devices without direct folder selection guide you to use a ZIP archive. Directory import preserves subdirectories, empty folders, hidden files, and binary files, and automatically avoids root-folder name collisions instead of merging or overwriting existing content.
Both Import files and Upload files in Shared Files store ZIP files as-is. In Session Files or Shared Files, open a ZIP file's More menu and choose Extract to folder—for example, project.zip unpacks into a folder named project in the same directory (adding a number if the name already exists) while keeping the original ZIP. To import a directory directly during upload, choose Import folder from ZIP.
You can also turn on File operations in chat and ask the AI to inspect a ZIP's contents or extract it. ZIPs inside Session Files extract into the same directory, while sent ZIP attachments extract to the root of Generated and imported files.
The per-file limit for shared files and input ZIP archives is 200 MiB; a shared directory supports up to 500 MiB total, 10,000 items, and 64 levels of nesting. Session file import follows the 500 MiB limit. Directory imports stage the complete contents before moving them into place—if an import fails or is canceled, staged files are cleaned up so no half-imported folder is left behind.
Batch Progress & Cancellation#
Standard uploads in Session Files and Shared Files are no longer capped by the app at 20 files per batch—the practical selection count depends on the system file picker while remaining subject to storage limits. Chat attachments and Knowledge Base retain their own count limits.
Multiple selected files are imported one by one with live file name and progress; if one item fails, the rest continue. Canceling a standard batch finishes the current file and stops the rest, keeping already-completed files. Results clearly distinguish succeeded, failed, and not-started items so you can reselect and retry failed items; leaving the page also stops remaining items.
Search in the title bar filters the current directory and combines with type filters to define what Select all selects; changing search text or switching folders clears the current selection. Breadcrumb navigation lets you jump up to the parent or any ancestor directory, and Refresh is located in the directory menu.
Shared Files & Local Access Links#
The per-file storage limit for Shared Files is 200 MB, consistent across local uploads, saving session outputs, AI-assisted saving, and Web chunked uploads. Successfully storing a file does not mean every reading method supports that size: local Web access links currently support files up to 50 MB (open larger files inside the app), and AI reading, document parsing, and previews remain bound by their respective limits.
Shared Files are meant for local cross-session reuse on your device—saving a file there does not publish it publicly. Adding, uploading, creating folders, renaming, and moving require Pro; viewing, exporting, and deleting existing files are free. AI-assisted saving, folder creation, and moving require Pro plus user authorization (choose Allow once or Always allow); AI deletion of shared files does not require Pro, shares the same authorization, and skips extra prompts once Always allow is granted. Permissions can be revoked in Settings. Other regular chats can read shared files on demand without starting Web Server; Incognito chats do not read them. Access links require authentication, an active local Web Server, and an online device; choose a domain, IPv6, LAN, or localhost URL depending on your network. For anonymous public web access, use Publish to Web separately.
Publish to Web (Pro)#
Session Workspace includes a Publish to Web button at the bottom. Tap it to enter selection mode, check the files to publish (Select all is supported), and tap Publish selected in the bottom bar. Only checked items are uploaded, so be sure to select referenced stylesheets, scripts, and other dependencies as well. Published sites use index.html as the entry point when present, or generate a directory index otherwise. Submissions go through content review; once approved, they remain accessible via a public URL without requiring your device or local Web Server to stay online.
Manage all publications from the membership card at the top of Settings via Membership Center → Account & Services → My Shares → Site Publishing, where you can check review status, copy links, or unpublish sites.
Referencing Files & Inspecting Changes#
Use @ in the input box to hand workspace files directly to the AI—see "How do I point AI at a specific file or skill?". To see which files and exact lines the AI edited, see "How do I see which files AI changed?".
Best Practices#
- Use the session-level Workspace when you only need outputs from the current chat—no Pro required.
- Use preview or local links for temporary sharing on the same network; use Site Publishing when others need anytime public access.
- Never publish files containing API keys, personal details, or other sensitive data, and unpublish sites when they are no longer needed.
- Script outputs take up local storage; clean them up periodically in File Space or Storage Management.