v64

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-03124241726.5 KB
Users

Get end-user activity histogram

Returns the end-user's per-bucket session activity across the range, oldest first. The range defaults to the trailing 30 days.

get/v1/projects/{projectSlug}/users/{userId}/activity

Path parameters

projectSlugstring required

Project slug (human-readable identifier)

Project slug (human-readable identifier)

userIdstring required

End-user identifier. URL-encode values containing special characters.

End-user identifier. URL-encode values containing special characters.

Query parameters

fromIsostring date-time

Lower bound (inclusive) of the time range. Defaults to 30 days before toIso.

Lower bound (inclusive) of the time range. Defaults to 30 days before toIso.

toIsostring date-time

Upper bound (inclusive) of the time range. Defaults to now.

Upper bound (inclusive) of the time range. Defaults to now.

errorsOnly'true' | 'false'

When true, scope every aggregate to errored traces only.

When true, scope every aggregate to errored traces only.

Response

Activity histogram

bucketSecondsinteger required

Bucket width the buckets were computed with, in seconds.

fromIsostring required

ISO-8601 lower bound of the resolved range.

toIsostring required

ISO-8601 upper bound of the resolved range.