Salesforce Certified Platform Integration Architect free question 10 / 10 · Domain 6: Maintain Integration
An operations team wants a scheduled job to check how much of each org limit is left, such as daily API requests and bulk batches, and raise an alert when the remainder is low. Which REST API resource gives the data?
- The Resources by Version resource, which returns for each limit the maximum and the number remaining for the integration user
- The Versions resource, which returns for each API version the number of calls that remain before the version is retired
- The Limits resource, which returns for each limit the maximum for the org and the number of calls or events remaining
- The Describe Global resource, which returns for each object the number of API calls that are left for that object
Show the answer and explanation
Answer: C
Why this is correct
The REST API Limits resource, at /services/data/vXX.X/limits/, lists information about limits in the org. For each limit it returns Max, the limit for the org, and Remaining, the number of calls or events left for the org. The Limits resource reference page says it is available to API users with the View Setup and Configuration permission, so a scheduled monitoring job can read it and compare the remainder with a threshold.
Why the other options are wrong
"The Versions resource, which returns for each API version the number of calls that remain before the version is retired" … The Versions resource lists the available REST API versions. It does not return the usage figures for the org’s limits.
"The Describe Global resource, which returns for each object the number of API calls that are left for that object" … Describe Global returns a list of objects and their metadata. It does not report remaining allocations.
"The Resources by Version resource, which returns for each limit the maximum and the number remaining for the integration user" … That resource lists the REST resources available in a version. The limits for the org come from the Limits resource, and they are for the org, not per user.
Key points
Poll the Limits resource and alert on the remaining share, not on the absolute value. The response includes DailyApiRequests, DailyBulkApiBatches, and event delivery limits.