Computer Usage Analytics
Returns your organization’s Computer usage analytics as a bucketed time series for a single dataset. Requires an organization analytics API key, generated by an org admin from Settings → Organization → Computer in the Perplexity web app. Only complete UTC grid buckets are returned: start_time snaps down to its bucket, and the in-progress bucket is never included.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
The dataset to query.
credit_usage, connectors, artifacts, skills, spaces, workflows, task_durations Window start in unix seconds (UTC), inclusive. Snapped down to the bucket grid, so the first bucket can include usage from before this time.
x >= 0Window end in unix seconds (UTC), exclusive. Defaults to now; future values are capped at now. The window may span at most 90 days.
x >= 0Bucket size. Buckets align to the UTC grid.
1d, 1h Buckets per page. 1d: default 7, max 31. 1h: default 24, max 168.
Opaque pagination cursor from a previous response's next_page. Valid only with the same query parameters it was issued for.
Restrict results to a single member of your organization. Emails that don't match a current member return a generic 400.
Response
Bucketed usage for the requested window. Buckets without data carry count 0; the analytics store syncs periodically, so a zero in a recent bucket can mean the data hasn't synced yet.
Every bucket in the page's window, in chronological order. Buckets without data carry count 0 and an empty breakdown.
Whether more buckets exist beyond this page. False also when the window's remaining buckets are past the current data frontier.
Cursor for the next page; pass as the page parameter with otherwise identical query parameters.