The Welkin Suite Forum

High API usage

High API usage

  • Please log in to reply

windows version welkinsuite


    Posted 18 Jul 2017

    I'm looking for a reason why I'm seeing high API calls from TWS., for example, today I have 11105 calls out for just 2 hours of work and yesterday I had 3616 calls.  this has caused us to hit our API call limit. 

    Please let me know what I may have done to cause this to happen and what I can do to keep it from happening. 


    3 replies to this topic



      Posted 18 Jul 2017

      Hi Eric,

      Thank you for contacting us with this information.

      The IDE makes regular API calls for two reasons:

      • when you have enabled 'Download Logs' option, TWS checks each 10 seconds for new Salesforce logs and download them;
      • also, after you run tests, the IDE checks for updated tests results for them from your Salesforce Organization each 20 seconds.

      So you can disable the 'Download Logs' when you don't use this functionality, and you can close the Test Result panel and restart the IDE to decrease API calls from The Welkin Suite to your organization.

      May I please clarify with you if you get the mentioned numbers of API calls from the 'API Usage Last 7 Day' report (Reports -> Administrative Reports)? If no, can you please check what numbers do you have there?

      Also, can I please ask you to describe your actions in the IDE during that 2 hours when you got 11105 API calls from The Welkin Suite?

      Thank you,


      Kate Dulko
      Customer Relations

      The Welkin Suite

      twitter: @KateDulko
      skype id: d_katerina





        Posted 19 Jul 2017

        I was not aware that leaving the IDE open with logs on (did not know that was how that button worked ) would pull an API every 2 seconds. so I had left it on over night and racked up a lot of API calls doing nothing. Is there a way to configure how often the logs are called? turning on and off the download logs is definitely not in my workflow having to remember to turn it off when I move on to another task or go to a meeting. I would hope that this is something that can be more aware of what is going on. 

        Thanks for the feedback I will definitely make sure I shut down the IDE each time I get up from the desk but this will not make me more efficient developer.




          Posted 20 Jul 2017

          Hi Eric,

          In case of a 8 hours working day debug logs polling won't consume more than 2880 API calls - there's no big sense in shutting down the IDE while switching to another tasks or going to meetings.

          Taking into accounts all other API calls that are made by the IDE during the very intensive development day (with unit tests in progress 100% of time + hundreds builds and pulls) - it won't be more than 5000-6000 calls. The situation that you've mentioned about 11000 calls in 2 hours is not possible in any normal circumstances in the IDE, however the figure of 3616 API calls for another whole day is absolutely normal and considered normal in general.

          This why we kindly ask you to check the API Calls report to ensure that the 11k calls in 2 hours were done by 1 user by The Welkin Suite IDE - if this is the case we will do our best to investigate the issue and resolve it.

          Regarding the configuration for debug logs polling interval - right now it's 10 seconds (not 2). We have an improvement in our backlog to allow to configure this value, however there's no defined timeline for when it will be implemented.

          Looking forward hearing back from you.

          Thank you,


          Vladimir Gubanovich
          Head of Product
          The Welkin Suite
          skype id: vladimir.gubanovich

          Boost Your Productivity. Get Started Today

          Try Free Trial