Newer Version Available

This content describes an older version of this product. View Latest

Limits

Lists information about limits in your org. 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
Email
MassEmail Daily number of mass emails that are sent to external email addresses by using Apex or APIs
SingleEmail Daily number of single emails that are sent to external email addresses

For orgs created before Spring ��19, the daily limit is enforced only for emails sent via Apex and Salesforce APIs except for the REST API. For orgs created in Spring ’19 and later, the daily limit is also enforced for email alerts, simple email actions, Send Email actions in flows, and REST API. If one of the newly counted emails can’t be sent because your org has reached the limit, we notify you by email and add an entry to the debug logs.

Note

Lightning Platform REST and Bulk APIs
DailyApiRequests Daily API calls
DailyBulkApiRequests Daily Bulk API calls
Platform Events and Change Data Capture
DailyStandardVolumePlatformEvents Daily standard-volume platform event notifications delivered to CometD clients. This value doesn’t apply to Change Data Capture events.
MonthlyPlatformEvents Monthly entitlement and usage of high-volume platform event and Change Data Capture event delivery to CometD clients. Usage is shared between both types of events.
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.