Actually, sorry nevermind. There’s a limit to how many you can have in a NOT_IN filter and also the initial request would be too long to process anyway.
I did however run into this:
So the idea is to use the object ID as a marker
{
“propertyName”: “hs_object_id”,
“operator”: “GT”,
“value”: “{last id stored value (default to 0)}”
}
and grab the next set of 10000 from that (assuming you’re grabbing in ascending order of ID rather than any other search)