Get Org Limits and Usage
sf_get_org_limitsCheck current API and governor limit usage in your Salesforce org. Get remaining, max, and percent used for all limits to monitor capacity before bulk operations.
Instructions
Retrieves current API and governor limit usage for the org via the Salesforce Limits REST API. Returns all limits with their current usage and maximum allowed values.
Useful for:
Checking API call usage before running bulk operations
Monitoring storage (data/file) usage
Checking concurrent Apex job limits
Reviewing email delivery limits
Auditing active sessions
Returns an array of { name, remaining, max, percentUsed } sorted by percent used (most consumed first).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filter | No | Optional filter string — return only limits whose name contains this text (e.g. 'Api', 'Storage', 'Scratch') |