Skip to main content
GET
Retrieve workspace asset analytics
Returns both sections of the Activity → Assets tab: library assets (kind: asset) and files uploaded to the workspace (kind: file). Use filters[kind] for one of them. Each row includes asset on asset rows or file on file rows (the other is null), so you can key rows by workspace ID plus asset or file ID. Only files uploaded to the workspace itself (file.source: Project) have view and download counts; files from tasks, forms, comments and file widgets always return 0, as in the app. This endpoint pages by workspace, not by row: page and limit count workspaces, and each page holds every asset and file row of up to limit workspaces. pageInfo.total and pageInfo.pages count workspaces, and pageInfo.pageTotal counts the rows on the page. A page can be empty when its workspaces have no assets or files; keep paging while hasNextPage is true.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

properties
enum<string>[]

Select the numbers and nested fields to return. By default a row has only object, kind, workspace, and asset or file (the other is null); workspace.*, asset.* and file.* add fields to them.

Available options:
viewsCount,
downloadsCount,
lastActivityAt,
workspace.name,
workspace.workspaceUrl,
workspace.createdAt,
workspace.updatedAt,
asset.name,
asset.assetType,
asset.assetUrl,
asset.thumbnailUrl,
asset.createdAt,
asset.updatedAt,
file.name,
file.url,
file.source,
file.createdAt,
creator.createdAt,
creator.updatedAt,
creator.firstName,
creator.lastName,
creator.avatar,
creator.email,
creator.name
filters
object

Filter the workspaces to report on. Without workspaceId, every workspace in the company is included.

page
integer

Page number

limit
integer

Number of results to return

Response

Retrieve the Activity tab's Assets numbers, one row per library asset or file in a workspace

data
object