API ReferenceIdentities

User activity timeseries

Daily activity counts for one user over a window. Organization-wide; requires owner/admin. Identify by email OR user_id (exactly one). Returns identity_id and a series of day and count.

GET
/identities/activity-timeseries
AuthorizationBearer <token>

Organization API Token (prefixed sk_) sent as Authorization: Bearer sk_.... Create one in Settings and grant it scopes. Server-side only.

In: header

Query Parameters

email?string

The user's email address. Provide exactly one of email or user_id.

Length1 <= length
user_id?string

The user_id as sent to Logspot via identify/track. Provide exactly one of email or user_id.

Length1 <= length
start_date?string

Inclusive start of the window (ISO-8601). Defaults to 30 days ago.

end_date?string

Inclusive end of the window (ISO-8601). Defaults to now.

Response Body

curl -X GET "https://api.logspot.io/v1/identities/activity-timeseries"
Empty
Empty
Empty
Empty
Empty