How to handle pagination in POST audit log query?

I am using below API call and need to know how to get cursor to handle pagination?

https://{{host}}/api/v2/audits/query/realtime

Hello

You need to use the pageNumber field. When pageNumber is left blank, it defaults to 1 and you will receive the first page. If pageCount is greater than 1 (i.e. there is more than one page), incrementing pageNumber and re-executing will return to you the next page until pageNumber == pageCount

Hope this helps
-Charlie

Thanks! Will check this

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.