Search Paginating stopping after 10192 records

I have been asked to create a report. The Report needs to have new users and all changed records in the last week. This report will need to be run once a week.

I have the search filter to get me the results I am looking for. When I try to call the v2024 search api I am able to process through the records as expected up until I hit 10192. After this point it stops pulling records. I do not think I am coming close to the rate limits. I can not figure out why I am not able to pull back all the records.

Code:

Function New-InternatilUserReport{
    PARAM(
        $Tenant,
        $ClientId,
        $ClientSecret,
        $ExportFilePath
    )

    Class WorkerClass {
        $FirstName
        $LastName
        $Email
        $EmployeeID
        $ImmutableId
        $Location
        $JobProfile
        $Upn
    }
    $Headers = New-Object  "System.Collections.Generic.Dictionary[[String],[String]]"
    $Headers.Add("Content-Type", "application/json")
    $Headers.Add("Accept", "application/json")
    $grant_type = "client_credentials"

    $Token = Invoke-WebRequest -Uri "https://$($Tenant).api.identitynow.com/oauth/token?grant_type=$($grant_type)&client_id=$($ClientId)&client_secret=$($ClientSecret)" -Method Post
    $Token = $Token.Content | ConvertFrom-Json

    $Headers.Add("Authorization", "Bearer $($Token.access_token)")
    $Headers.Add("X-SailPoint-Experimental", "true")

    $limit  = 250
    $CountUri = "https://$($Tenant).api.identitynow.com/v2024/search?count=true&limit=$($limit)"
    $Query = '{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},`"sort`": [`"id`"]}'

    $CountResponse = Invoke-WebRequest -Uri $CountUri -Method Post -Headers $Headers -Body $Query
    $FullCount =  $CountResponse.Headers.'X-Total-Count'
    $FullCount = [System.Convert]::ToInt32($FullCount[0])
    $FullCount

    $FullSailPointIdentities = @()
    $FullSailPointIdentities = $CountResponse.Content | ConvertFrom-Json -Depth 100
    if($FullCount -gt 250){
        do{
            $offset += 250
            Write-Output "In Whie loop with an offset of $($offset)"
            $Query = "{`"indices`": [`"identities`"],`"query`": {`"query`": `"created:[now-7d TO now] OR modified:[now-7d TO now]`"},`"sort`": [`"id`"],`"searchAfter`":[`"$(($FullSailPointIdentities | select -Last 1).id)`"]}"

            $Query

            $Url = "https://$($Tenant).api.identitynow.com/v2024/search?count=true&limit=$($limit)"
            $Response = Invoke-WebRequest -Uri $Url -Method Post -Headers $Headers -Body $Query
            "X-Total-Count:  $($Response.Headers.'X-Total-Count')"
            $FullSailPointIdentities += $Response.Content | ConvertFrom-Json -Depth 100
            "Record Couint is $($FullSailPointIdentities.count)"
        }
        while($offset -le $FullCount)
    }

    $AllWorkers = @()

    foreach($SailPointIdentity in $FullSailPointIdentities){
        $Worker = [WorkerClass]::new()
        $Worker.FirstName =  $SailPointIdentity.attributes.firstname
        $Worker.LastName =  $SailPointIdentity.attributes.lastname
        $Worker.Email =  $SailPointIdentity.attributes.email
        $Worker.EmployeeID =  $SailPointIdentity.attributes.identificationNumber
        $Worker.Location =  $SailPointIdentity.attributes.location
        $Worker.JobProfile =  $SailPointIdentity.attributes.jobProfile
        $Worker.Upn = $SailPointIdentity.attributes.upn
        try{
            $Worker.ImmutableId = (Get-ADUser -Identity $($SailPointIdentity.attributes.uid) -Properties sSMImmutableIDBase64Encoded).sSMImmutableIDBase64Encoded
            $AllWorkers += $Worker
        }
        catch{}
        Remove-Variable Worker
    }


    $AllWorkers | Export-Csv "$($ExportFilePath)" -Append -Force -NoTypeInformation

}

Output:

65108
In Whie loop with an offset of 250
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["a7a77def06524f96a7f289988ffbbb35"]}
X-Total-Count:  65108
Record Couint is 500
In Whie loop with an offset of 500
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["a9fc01bad585477d902799db75e81ae9"]}
X-Total-Count:  65108
Record Couint is 750
In Whie loop with an offset of 750
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ac24ea32194b4280b91cf1fbf31ed1a2"]}
X-Total-Count:  65108
Record Couint is 1000
In Whie loop with an offset of 1000
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ae401ae659b94c98a1414c7dcc673862"]}
X-Total-Count:  65108
Record Couint is 1250
In Whie loop with an offset of 1250
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["b03fa4265f62485c85c67631a3e49b28"]}
X-Total-Count:  65108
Record Couint is 1500
In Whie loop with an offset of 1500
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["b2338957d9ba4c79b302287ba5d7209e"]}
X-Total-Count:  65108
Record Couint is 1750
In Whie loop with an offset of 1750
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["b479b2c34405444b99501fa269b83f0f"]}
X-Total-Count:  65108
Record Couint is 2000
In Whie loop with an offset of 2000
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["b6e62f61c1454864b93420c26614af60"]}
X-Total-Count:  65108
Record Couint is 2250
In Whie loop with an offset of 2250
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["b8e48d1f7b994c76b682f545ace38543"]}
X-Total-Count:  65108
Record Couint is 2500
In Whie loop with an offset of 2500
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["bb3fb47112d14663961973cfd93f5cd6"]}
X-Total-Count:  65108
Record Couint is 2750
In Whie loop with an offset of 2750
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["bcf480ffc60c4876a7df633639decfd3"]}
X-Total-Count:  65108
Record Couint is 3000
In Whie loop with an offset of 3000
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["bf38d473f9384e0091d5cb61c33d9ebe"]}
X-Total-Count:  65108
Record Couint is 3250
In Whie loop with an offset of 3250
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["c16f2f21402d4878bcf7d9e014689418"]}
X-Total-Count:  65108
Record Couint is 3500
In Whie loop with an offset of 3500
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["c3a9713a71bc4b69a0494e2e40c84942"]}
X-Total-Count:  65108
Record Couint is 3750
In Whie loop with an offset of 3750
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["c5b89ca933b740ba9d1dcd0d3cb46fc8"]}
X-Total-Count:  65108
Record Couint is 4000
In Whie loop with an offset of 4000
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["c7d63147142646008a3769aca4af80c4"]}
X-Total-Count:  65108
Record Couint is 4250
In Whie loop with an offset of 4250
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ca28aca4e442451e97a7047f99fe72ca"]}
X-Total-Count:  65108
Record Couint is 4500
In Whie loop with an offset of 4500
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["cc6e7f70e45445a3ad54750520471aff"]}
X-Total-Count:  65108
Record Couint is 4750
In Whie loop with an offset of 4750
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ce935830d8d54b358dcb86ed2ca90316"]}
X-Total-Count:  65108
Record Couint is 5000
In Whie loop with an offset of 5000
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["d0b17471d99046118b46fdc5b62a0ca3"]}
X-Total-Count:  65108
Record Couint is 5250
In Whie loop with an offset of 5250
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["d2e22325675d4f37845f6f883cd8f936"]}
X-Total-Count:  65108
Record Couint is 5500
In Whie loop with an offset of 5500
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["d53d6b45abe24bdca0327a8eb0ddddff"]}
X-Total-Count:  65108
Record Couint is 5750
In Whie loop with an offset of 5750
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["d7bbb0fbae6b4cafae24053fa5825338"]}
X-Total-Count:  65108
Record Couint is 6000
In Whie loop with an offset of 6000
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["d9ef4ca63fa64fce877f4c7928eb91e1"]}
X-Total-Count:  65108
Record Couint is 6250
In Whie loop with an offset of 6250
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["dc28e40d20cc4652bb88d85d444dbb41"]}
X-Total-Count:  65108
Record Couint is 6500
In Whie loop with an offset of 6500
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["de907a2cb1944b8ea626a0bb55dbaf54"]}
X-Total-Count:  65108
Record Couint is 6750
In Whie loop with an offset of 6750
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["e0b4a08b7ac94d4fa37c5551785a3f37"]}
X-Total-Count:  65108
Record Couint is 7000
In Whie loop with an offset of 7000
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["e2f62c2b07c04032b10d8aa2bf3c4fde"]}
X-Total-Count:  65108
Record Couint is 7250
In Whie loop with an offset of 7250
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["e50e9993b078419a93d03c6a02088e82"]}
X-Total-Count:  65108
Record Couint is 7500
In Whie loop with an offset of 7500
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["e763c4ef571242939b24390ba9619656"]}
X-Total-Count:  65108
Record Couint is 7750
In Whie loop with an offset of 7750
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["e965532594b546778a01c9865ba4a08c"]}
X-Total-Count:  65108
Record Couint is 8000
In Whie loop with an offset of 8000
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["eb8d1e7c04a24947a5119e8daa8fbedc"]}
X-Total-Count:  65108
Record Couint is 8250
In Whie loop with an offset of 8250
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ede6be895cc4472799a7c5b467e02c4f"]}
X-Total-Count:  65108
Record Couint is 8500
In Whie loop with an offset of 8500
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["f0575c7be5b14d3d97181685cfd4a5bc"]}
X-Total-Count:  65108
Record Couint is 8750
In Whie loop with an offset of 8750
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["f29a8df669244c7087b6f229e143a74f"]}
X-Total-Count:  65108
Record Couint is 9000
In Whie loop with an offset of 9000
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["f4ef8087d8d54a0197c792a8594d969e"]}
X-Total-Count:  65108
Record Couint is 9250
In Whie loop with an offset of 9250
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["f70f5ee737e749dd938b27f736722e81"]}
X-Total-Count:  65108
Record Couint is 9500
In Whie loop with an offset of 9500
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["f96cf91bee8a47c296abf4829619f098"]}
X-Total-Count:  65108
Record Couint is 9750
In Whie loop with an offset of 9750
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["fc058ba89a884e1e8cc45f305f925e0a"]}
X-Total-Count:  65108
Record Couint is 10000
In Whie loop with an offset of 10000
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["fe7595127da54c08b3ca3ab7cf6290e9"]}
X-Total-Count:  65108
Record Couint is 10192
In Whie loop with an offset of 10250
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 10500
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 10750
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 11000
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 11250
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 11500
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 11750
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 12000
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 12250
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108
Record Couint is 10192
In Whie loop with an offset of 12500
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 12750
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 13000
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 13250
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 13500
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 13750
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 14000
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 14250
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 14500
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 14750
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 15000
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 15250
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 15500
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 15750
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 16000
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 16250
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 16500
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 16750
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 17000
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 17250
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 17500
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 17750
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 18000
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 18250
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108
Record Couint is 10192
In Whie loop with an offset of 18500
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 18750
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 19000
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 19250
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 19500
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 19750
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 20000
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 20250
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 20500
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 20750
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 21000
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 21250
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 21500
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 21750
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 22000
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 22250
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 22500
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 22750
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 23000
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 23250
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 23500
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108
Record Couint is 10192
In Whie loop with an offset of 23750
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 24000
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108
Record Couint is 10192
In Whie loop with an offset of 24250
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108
Record Couint is 10192
In Whie loop with an offset of 24500
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 24750
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 25000
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108
Record Couint is 10192
In Whie loop with an offset of 25250
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 25500
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 25750
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 26000
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 26250
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 26500
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 26750
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 27000
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 27250
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 27500
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 27750
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 28000
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 28250
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 28500
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 28750
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 29000
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 29250
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 29500
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 29750
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 30000
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 30250
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 30500
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 30750
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 31000
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 31250
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 31500
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 31750
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 32000
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 32250
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 32500
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 32750
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 33000
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 33250
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 33500
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 33750
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 34000
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 34250
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 34500
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 34750
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 35000
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 35250
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 35500
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 35750
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 36000
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 36250
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 36500
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 36750
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 37000
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 37250
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 37500
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 37750
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 38000
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 38250
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 38500
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 38750
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 39000
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 39250
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 39500
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 39750
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 40000
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 40250
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 40500
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 40750
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 41000
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 41250
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 41500
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}
X-Total-Count:  65108                                                                                                   
Record Couint is 10192
In Whie loop with an offset of 41750
{"indices": ["identities"],"query": {"query": "created:[now-7d TO now] OR modified:[now-7d TO now]"},"sort": ["id"],"searchAfter":["ffff64ee81b646dfbaf03ca7f0eb14ef"]}

You may use limit and offset filters instead of searchAfter in the code and try.