Workspaces
Workspace Files
List, upload, download, and mutate files in a workspace
GET
Workspace file endpoints use the storage API:
All paths are workspace-relative. Use
Path info returns size and entry count:
The default upload limit is 100 MB per request.
/ for the workspace root.
Endpoints
files:* and * also satisfy file scopes.
List Files
string
required
Workspace ID.
Include dotfiles and dot directories.
Storage Info
Root info returns drive-style storage usage:Create Files And Folders
string
required
File or folder name. Names cannot contain path separators.
string
required
file or folder.Upload Files
Uploads use multipart form data. Thefile field is required. The optional name field overrides the uploaded filename.
Download Files
string
required
Workspace-relative file ID, such as
/src/README.md.boolean
default:"false"
When
true, return an attachment response. Otherwise, stream inline when possible.Rename
Copy Or Move
Use file IDs from list responses.operation can be copy or move. Batch copy and move accept up to 250 IDs.
Delete
Notes
- Personal workspaces are only visible to the owner and organization admins.
- When a workspace is over its storage quota, write operations return an error until usage is reduced or the org limit is updated.
- Directory listing hides dotfiles unless
showHidden=true.