Legacy Dev Forum Posts

 View Only

Sign Up

How to handle pagination in POST audit log query?

  • 1.  How to handle pagination in POST audit log query?

    Posted 06-05-2025 18:28

    AWS_Fabric | 2023-11-10 10:28:13 UTC | #1

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

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


    charlie.conneely | 2023-11-10 10:49:34 UTC | #2

    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


    AWS_Fabric | 2023-11-10 10:51:44 UTC | #3

    Thanks! Will check this


    system | 2023-12-10 10:52:36 UTC | #4

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


    This post was migrated from the old Developer Forum.

    ref: 23054