Documentation Index
Fetch the complete documentation index at: https://docs.runtools.ai/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Workspaces are persistent storage owned by your organization. In plain terms, a workspace is a storage space that can be mounted into sandboxes like a filesystem, browsed from the dashboard, and used by agents to keep project state across runs. A workspace can be:| Used from | What it enables |
|---|---|
| Dashboard | Browse, upload, download, rename, move, copy, and delete files |
| Sandboxes | Mount an org workspace at /workspace or a subpath |
| Agents | Give sandbox-backed and managed agents durable storage |
| REST API | Manage workspace metadata and file operations |
Persistent Storage For Sandbox Agents
For sandbox-backed agents, a workspace is the agent’s persistent filesystem memory. The agent uses its linked sandbox for shell commands and file tools, and the mounted workspace is the part of that filesystem that remains available across runs. The flow is:- Create an organization workspace.
- Create a sandbox with that workspace mounted at
/workspaceor a subpath. - Link an
in_sandboxagent to that sandbox. - The agent reads and writes files under the mount path during its work.
- When the sandbox is paused, resumed, or replaced, the workspace contents remain available for the next run.
Workspace Types
| Type | Visibility | Sandbox mounting |
|---|---|---|
| Organization workspace | Visible to organization members according to their role and resource access | Supported |
| Personal workspace | Visible to the owner and organization admins | Not mountable |
Create A Workspace
Workspace metadata is managed through the orchestrator API:Mount Into A Sandbox
Mounts are declared when the sandbox is created. Mount paths must be/workspace or a subpath under /workspace.
/workspace are still there.
File Operations
Workspace file endpoints use the storage service:Permissions
| Scope | Access |
|---|---|
files:read | List workspaces, inspect usage, list files, read file info, and download files |
files:write | Create, upload, move, copy, rename, and delete files or workspaces |
files:* / * | Full workspace access allowed by the caller’s organization role |
Best Practices
Use workspaces for durable project files
Use workspaces for durable project files
Treat sandbox-local files as disposable unless they are written into a mounted workspace.
Mount at predictable paths
Mount at predictable paths
Use
/workspace for the main project tree, or /workspace/data, /workspace/cache, and similar subpaths when a sandbox needs multiple mounts.Keep personal files out of shared sandboxes
Keep personal files out of shared sandboxes
Next Steps
Workspaces API
Create, list, rename, delete, and inspect workspace references.
Workspace Files API
List directories, upload files, download files, and mutate workspace contents.