Usage Activity

Return the workspace usage activity feed with stable action filters and cursor pagination.

Authentication

AuthorizationBearer
Clerk JWT token
OR
AuthorizationBearer

Onepin live API key (op_live_...). Test and public keys are reserved in Phase 1.

Headers

X-Workspace-Idstring or nullOptional

Query parameters

rangeenumOptionalDefaults to 30d

Rolling local calendar-day range.

Allowed values:
typeenum or nullOptional
Filter by usage activity type.
user_idstring or nullOptionalformat: "uuid"
Filter by actor user id.
limitintegerOptional1-100Defaults to 20
cursorstring or nullOptional
Opaque pagination cursor.
timezonestringOptionalDefaults to UTC
IANA timezone for local day bucketing.

Response

Successful Response
datalist of objects
metaobject
paginationobject

Errors

422
Unprocessable Entity Error