docs/classes/management.SDK.LogsClient-1.html
new LogsClient(options: BaseClientOptions): LogsClient
list(
id: string,
request?: ListUserLogsRequestParameters,
requestOptions?: LogsClient.RequestOptions,
): Promise<Page<Log, UserListLogOffsetPaginatedResponseContent>>
Retrieve log events for a specific user.
Note: For more information on all possible event types, their respective acronyms and descriptions, see Log Event Type Codes.
For more information on the list of fields that can be used in sort, see Searchable Fields.
Auth0 limits the number of logs you can return by search criteria to 100 logs per request. Furthermore, you may only paginate through up to 1,000 search results. If you exceed this threshold, please redefine your search.
ID of the user of the logs to retrieve
OptionalrequestOptions: LogsClient.RequestOptionsRequest-specific configuration.
Management.TooManyRequestsError
await client.users.logs.list("id", { page: 1, per_page: 1, sort: "sort", include_totals: true })Copy
Protected Readonly_options_options: NormalizedClientOptionsWithAuth<BaseClientOptions>
Member Visibility
ThemeOSLightDark
Constructors constructor Methods list Properties _options