Files
List files
List the files stored in a workspace.
GET
List files
Lists the files stored in a workspace, newest first. Pass
desktopId to filter to a single computer.
Query parameters
string
required
Workspace ID. Omitting it returns 400.
string
Computer UUID to filter by. When omitted, every file in the workspace is returned, whichever computer it belongs to. A value that is not a UUID, such as an instance id, returns 500.
Response
array
File objects, ordered by
created_at descending, newest first. An empty array when the workspace holds no files.string
File ID. Pass it as
id to the download and delete endpoints.string
Original file name.
string | null
Size in bytes as a decimal string, such as
"1024", or null when no size was recorded. The value is a 64-bit integer, so it is serialized as a string. Parse it before doing arithmetic.string | null
MIME type, or
null when none was recorded.string
How the file entered the workspace:
upload or export.string | null
Computer the file is associated with, or
null when it is not tied to one.string
ISO 8601 creation timestamp.
Example
Response
Errors
Every error carries the shape{"error": "<message>"}.
Authorizations
API key authentication. Get your key at orgo.ai/workspaces
Query Parameters
Workspace ID. Required; omitting it is a 400.
Restrict the list to files attached to one computer. Omitted, every file in the workspace is returned.
Response
List of files