How to get number of logs with Okta API


I’m wondering if it is possible to get the number of logs (events-count) in okta using the API without having to fetch all the logs and count them one by one.

Hi @iseedouble

Unfortunately this is not possible. For easier navigation, Okta implemented cursor pagination which is used to navigate dynamically between the logs using before and after parameters.

1 Like