Interface UserService
-
- All Implemented Interfaces:
public interface UserService
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceUserService.WithRawResponseA view of UserService that provides access to raw HTTP responses for each method.
-
Method Summary
Modifier and Type Method Description abstract UserService.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. abstract UserServicewithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. UserListPagelist()Get per-user activity for a given day, with cursor-based pagination. abstract UserListPagelist(UserListParams params, RequestOptions requestOptions)UserListPagelist(UserListParams params)UserListPagelist(RequestOptions requestOptions)-
-
Method Detail
-
withRawResponse
abstract UserService.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
abstract UserService withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
list
UserListPage list()
Get per-user activity for a given day, with cursor-based pagination.
Returns activity metrics for each user in the organization, sorted by email address. Use
group_by[]for per-RBAC-group aggregates, orfilter[]to scope results to specific members, groups, or a chat project. Available to organizations on a Claude Enterprise plan. Requires an API key with theread:analyticsscope.
-
list
abstract UserListPage list(UserListParams params, RequestOptions requestOptions)
-
list
UserListPage list(UserListParams params)
-
list
UserListPage list(RequestOptions requestOptions)
-
-
-
-