Just tested and its slightly slower to submit a search and stream the results instead of querying the API $body = @{search = '|rest /services/search/jobs/1597138394.9683341 |fields sid, author, dispatchState, ttl, search, title, is*, resultcount | table sid, author, dispatchState, ttl, search, title, is*, resultcount'} $url = 'https://{0}:8089/services/search/jobs/export' Invoke-RestMethod -Uri $url -Method POST -Credential $stdcred -Body $body 1.2 Seconds Vs. $url= 'https://{0}:8089/services/search/jobs' Invoke-RestMethod -Uri "$url/$searchsid" -Method GET -Credential $stdcred Invoke-RestMethod -Uri "$searchURI/$searchsid" -Method GET -Credential $stdcred -erroraction .7 seconds 50% of the way through my searches so these times fluctuate based on the return from the subsearch <1second to >5seconds
... View more