API

Welcome to the Nutanix NEXT community. To get started please read our short welcome post. Thanks!

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a REST API request limit?

ced
Pathfinder

Is there a REST API request limit?

Hi community,

 

I've written a Python3 interface to Nutanix's REST api, and among other things I'm using it to replicate VM metrics from Nutanix to Graphite. I was wondering if anyone has run into REST api request-rate limits, or performance degredation after a certain point. I'd like to decrease the run-time of my metrics replication process by distributing the api calls to a bunch of workers, but I don't want to cause problems for other admins while it's running ^^

1 REPLY
ced
Pathfinder

Re: Is there a REST API request limit?

Also FYI, it looks like the max metrics per request is 5. If you attempt to ask for more than that the API returns:

Cannot support more than 5 metric in a single time range request or server is busy with many concurrent requests