Skip to main content
A workspace is a persistent filesystem shared by runs—even runs in different sessions. Use it for inputs, scripts, and generated files. Two independent sessions reading and writing people.csv, script.py, and output.json in one persistent workspace Two independent sessions reading and writing people.csv, script.py, and output.json in one persistent workspace

Upload and attach a file

Attachments are run-scoped. Reusing a workspace does not reattach every upload.

Retrieve created files

Ask the agent to save its output, then list the workspace:
Download URLs expire after 60 seconds. See the workspace API reference for pagination and limits.