latestOpenAPI 3.0.32026-08-227451,2751.8 MB

d0fc0114da66

Reporting

Retrieve a user's activity across an account

Last-active time and recent action counts for a single user, binned by each workspace in the account where the user was active over the given time range. Restricted to company administrators and company-scoped API keys (USER_MANAGEMENT or REPORTING); the returned totals cover all workspaces in the account.

get/accounts/{account_id}/users/{id}/activity

Path parameters

account_idstring required

Account ID

idstring required

The user ID

Query parameters

start_timeinteger

Start of the time range in epoch milliseconds. Defaults to 30 days before end_time.

end_timeinteger

End of the time range in epoch milliseconds. Defaults to now.

Response

The user's activity across the account

user_idstring

The user's ID

emailstring

The user's email address

namestring

The user's full name

account_idstring

Id of the account

interval_startinteger

Starting time of the interval in epoch milliseconds

interval_endinteger

Ending time of the interval in epoch milliseconds

last_active_timeinteger

The user's most recent activity across the account in epoch milliseconds. Omitted when there is no activity in the range.

total_actionsinteger

Total number of automator events by this user across the account in the time range