Newer Version Available
Limits
Lists information about limits in your org. For each limit, this resource returns the maximum allocation and the remaining allocation based on usage. This resource is available in REST API version 29.0 and later for API users with the View Setup and Configuration permission. The resource returns these limits:
| Limit Label | Description |
|---|---|
| Analytics | |
| ConcurrentAsyncGetReportInstances | Concurrent REST API requests for results of asynchronous report runs |
| ConcurrentSyncReportRuns | Concurrent synchronous report runs via REST API |
| HourlyAsyncReportRuns | Hourly asynchronous report runs via REST API |
| HourlySyncReportRuns | Hourly synchronous report runs via REST API |
| HourlyDashboardRefreshes | Hourly dashboard refreshes via REST API |
| HourlyDashboardResults | Hourly REST API requests for dashboard results |
| HourlyDashboardStatuses | Hourly dashboard status requests via REST API |
| MassEmail | Daily number of mass emails that are sent to external email addresses via Apex or APIs |
| SingleEmail | Daily number of single emails that are sent to external email addresses |
| Lightning Platform REST and Bulk APIs | |
| DailyApiRequests | Daily API calls |
| DailyBulkApiRequests |
Daily Bulk API and Bulk API 2.0 batches. In Bulk API, batches are used by both ingest and query operations. In Bulk API 2.0, batches are used only by ingest operations. |
| DailyBulkV2QueryFileStorageMB | Daily storage for queries in Bulk API 2.0 (measured in MB). This limit is available in API version 47.0 and later. |
| DailyBulkV2QueryJobs | Daily number of query jobs in Bulk API 2.0. This limit is available in API version 47.0 and later. |
| Platform Events | |
| The following values apply only to platform events. They don’t apply to Change Data Capture events. | |
| HourlyPublishedPlatformEvents | High-volume platform event notifications published per hour |
| HourlyPublishedStandardVolumePlatformEvents | Standard-volume platform event notifications published per hour |
| DailyStandardVolumePlatformEvents | Daily standard-volume platform event notifications delivered to CometD clients |
| Platform Events and Change Data Capture | |
| MonthlyPlatformEventsUsageEntitlement (API version 48.0 and later) or MonthlyPlatformEvents (API version 47.0 and earlier) | Monthly entitlement and usage of high-volume platform event and Change Data Capture event delivery to CometD clients. Both types of events share this value. If you don’t have an add-on license, your daily default allocation is the monthly entitlement returned divided by 30. |
| Salesforce Connect | |
| HourlyLongTermIdMapping | Hourly new long-term external record ID mappings |
| HourlyODataCallout | Hourly OData callouts |
| HourlyShortTermIdMapping | Hourly new short-term external record ID mappings |
| Salesforce Developer Experience | |
| ActiveScratchOrgs | Daily and active scratch org counts |
| Storage | |
| DataStorageMB | Data storage (MB) (The API user must have the Manage Users permission) |
| FileStorageMB | File storage (MB) (The API user must have the Manage Users permission) |
| Streaming API—Durable (API version 37.0 and later) | |
| DailyDurableGenericStreamingApiEvents | Generic events notifications delivered in the past 24 hours to all CometD clients |
| DailyDurableStreamingApiEvents | PushTopic event notifications delivered in the past 24 hours to all CometD clients |
| DurableStreamingApiConcurrentClients | Concurrent CometD clients (subscribers) across all channels and for all event types |
| Streaming API (API version 36.0 and earlier) | |
| DailyGenericStreamingApiEvents | Generic events notifications delivered in the past 24 hours to all CometD clients |
| DailyStreamingApiEvents | PushTopic event notifications delivered in the past 24 hours to all CometD clients |
| StreamingApiConcurrentClients | Concurrent CometD clients (subscribers) across all channels and for all event types |
| Workflows | |
| DailyWorkflowEmails | Daily workflow emails |
| HourlyTimeBasedWorkflow | Hourly workflow time triggers |
- URI
- /vXX.X/limits/
- Formats
- JSON, XML
- HTTP Method
- GET
- Authentication
- Authorization: Bearer token
- Example
- See List Organization Limits.