Skip to main content
GET
Get workspace analytics

Authorizations

Authorization
string
header
required

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

Query Parameters

days
enum<string>
default:30

Rolling period in days, ending at the snapshot timestamp.

Available options:
30,
90,
120
include_users
enum<string>
default:false

Include a page of members with their role and activity counts, including members with no recorded activity.

Available options:
true,
false
page_size
integer
default:100

Maximum member rows per page when include_users=true.

Required range: 1 <= x <= 100
cursor
string

Continue the member breakdown with the same days and include_users=true. If the snapshot refreshes, restart without a cursor.

Required string length: 1 - 1024

Response

Workspace usage snapshot

period_days
required
Available options:
30
period_start
string<date-time>
required

Inclusive UTC start of the rolling period.

period_end
string<date-time>
required

Inclusive UTC reporting cutoff for the snapshot.

summary
object
required
users
object[]

Omitted unless include_users=true. Summary totals always cover all members, not just this page.

hasMore
boolean
cursor
string | null