API ReferenceWorkspace Management

List Workspace Files

GET/api/v1/workspaces/{workspaceId}/files

List files in a workspace with filtering, pagination, and sorting options. Use folderId parameter to list files in a specific folder.

Headers

AuthorizationstringRequired

Bearer token for authentication

Path Parameters

workspaceIdstringRequired

The unique identifier of the workspace

Query Parameters

folderIdstringOptional

Filter by folder ID. Use 'null' or empty string for root-level files. Omit to list all files.

trashedbooleanOptional

Include trashed files in results

starredbooleanOptional

Only return starred files

searchstringOptional

Search files by name (case-insensitive)

limitintegerOptional

Number of files to return (max 100)

offsetintegerOptional

Number of files to skip for pagination

sortBystringOptional

Field to sort by

sortOrderstringOptional

Sort direction

GET/api/v1/workspaces/{workspaceId}/files
Response