Skip to navigation

Get Active Users for Custom Date Range

Get unique active users for a custom date range.

A user is considered active if they have created at least min_sessions sessions OR at least min_searches searches within the specified time range.

Returns a single count of unique active users across the entire range.

Authentication

AuthorizationBearer

Personal API Key (apk_user_) or Service API Key (apk_)

Query parameters

time_beforeintegerRequired
time_afterintegerRequired
org_idslist of strings or nullOptional
min_sessionsintegerOptional>=0Defaults to 1
min_searchesintegerOptional>=0Defaults to 1

Response

Successful Response
active_usersinteger
end_timeinteger
start_timeinteger

Errors

422
Unprocessable Entity Error