How to retrieve more than 10K records using search API

Hi Team,

Greetings of the Day!

We are trying to generate custom reports using identity now’s search API. We kept the limit as 500 and we are incrementing 500 to offset value per API call.

Example:
API call 1: https://{{tenant}}.api.identitynow.com/v3/search?limit=500&offset=0
API call 2: https://{{tenant}}.api.identitynow.com/v3/search?limit=500&offset=500

By doing this, we have observed that once offset value is reached to 10000, we are receiving 400 as the response code. And we have also observed that in these 10000 records that we have fetched, duplicate entries are present.

Requesting the community to provide your valuable inputs on how to retrieve more 10000 records and on how to avoid pulling the duplicate records.

Note: We have used search After in our API body but we are receiving 500 as response code once API call is completed.

Thank you.

Regards,
Shanmukh Gali.

1 Like

Check this post: V3 Search API Offset - #2 by jordan_violet

1 Like