Find your content:

Search form

You are here

Organization detail shows API Requests, Last 24 Hours 298 (5,000 max). What are the variables contributing to the API requests?

 
Share

When i check the Organization detail for the API usage for the day, it shows API Requests, Last 24 Hours 298 (5,000 max).

According to my knowledge i did not made any API request. But i worked in some coding in Eclipse IDE. Does it count to API request?

Apart from that i am making a callout (consuming SAP webservices) to SAP. Does it count to API request?

I am totally confused what are variables contributing to 298 API requests? Any thoughts please?


Attribution to: Bforce

Possible Suggestion/Solution #1

API requests are anything that access your salesforce instance via the API. IDE counts, developer console counts, any integrations connecting TO your instance count. Calling out FROM your instance does not count.


Attribution to: Eric

Possible Suggestion/Solution #2

The Eclipse IDE will consume API calls every time you save or refresh a file; and it's not just one API call per action necessarily, authentication/handshakes consume API calls as well, so saving one change to a file can consume two (or, somehow, sometimes, more) API calls.

In the Winter 14 release, the Developer Console consumes a LOT of API Calls, as it polls for logs and updates the whole time it is open. Leaving the Developer console open in the background will slowly eat up API calls, and we've had two instances in our office of someone working with the Developer Console for a few hours and completely finishing off their 5,000 limit in a DE.

In fact, if you note the number of API calls made, open the Developer Console, wait a minute, maybe open, edit and save a file - you can probably note somewhere in the region of 17 - 20 API calls made.

External tools (such as the Eclipse IDE) record a "login" under the User Detail Page - with an application name telling you what program it was logging in, and you can be fairy sure then that this application will be consuming API calls.

login history

You can also set alert messages if you have a live system which is dependant on the API limit not being breached that will send out messages (at an interval you can set) when it passes certain thresholds.

api usage


Attribution to: Simon Lawrence
This content is remixed from stackoverflow or stackexchange. Please visit https://salesforce.stackexchange.com/questions/33345

My Block Status

My Block Content