AnsweredAssumed Answered

qps/rest/2.0/search/am/hostasset takes loong time to response

Question asked by Richard Kairis on Jul 29, 2019

I am trying to request a list of agents in our account using the cloud agent API. If a request gets any response back at all, it take about 15 minutes, and I cannot successfully request more than 5 items.  We have over 5000 assets in our account.  at this rate it would take >600 hours to get a response.

 

  Currently using the following API call.  

 

qps/rest/2.0/search/am/hostasset

 

With the payload

<ServiceRequest>
<preferences>
<limitResults>5</limitResults>
</preferences>
<filters>
<Criteria field="tagName" operator="EQUALS">Cloud Agent</Criteria>
</filters>
</ServiceRequest>

Outcomes