limits Commands
force:limits:api:display
Help for force:limits:api:display
When you execute this command in a project, it provides limit information for your default scratch org.
Examples for force:limits:api:display
sfdx force:limits:api:display
sfdx force:limits:api:display -u me@my.org
Command Syntax
- sfdx force:limits:api:display
- [--json]
- [--loglevel LOGLEVEL]
- [-u TARGETUSERNAME]
- [--apiversion APIVERSION]
Parameters
- --json
- Optional
-
Format output as JSON.
- Type: boolean
- --loglevel LOGLEVEL
- Optional
-
The logging level for this command invocation. Logs are stored in $HOME/.sfdx/sfdx.log.
- Type: enum
- Permissible values are: trace, debug, info, warn, error, fatal, TRACE, DEBUG, INFO, WARN, ERROR, FATAL
- Default value: warn
- -u | --targetusername TARGETUSERNAME
- Optional
-
A username or alias for the target org. Overrides the default target org.
- Type: string
- --apiversion APIVERSION
- Optional
-
Override the API version used for API requests made by this command.
- Type: string
force:limits:recordcounts:display
Help for force:limits:recordcounts:display
Use this command to get an approximate count of the records in standard or custom objects in your org. These record counts are the same as the counts listed in the Storage Usage page in Setup. The record counts are approximate because they're calculated asynchronously and your org’s storage usage isn’t updated immediately.
Examples for force:limits:recordcounts:display
sfdx force:limits:recordcounts:display -s Account,Contact,Lead,Opportunity
sfdx force:limits:recordcounts:display -s Account,Contact -u me@my.org
Command Syntax
- sfdx force:limits:recordcounts:display
- [--json]
- [--loglevel LOGLEVEL]
- [-u TARGETUSERNAME]
- [--apiversion APIVERSION]
- -s SOBJECTTYPE
Parameters
- --json
- Optional
-
Format output as JSON.
- Type: boolean
- --loglevel LOGLEVEL
- Optional
-
The logging level for this command invocation. Logs are stored in $HOME/.sfdx/sfdx.log.
- Type: enum
- Permissible values are: trace, debug, info, warn, error, fatal, TRACE, DEBUG, INFO, WARN, ERROR, FATAL
- Default value: warn
- -u | --targetusername TARGETUSERNAME
- Optional
-
A username or alias for the target org. Overrides the default target org.
- Type: string
- --apiversion APIVERSION
- Optional
-
Override the API version used for API requests made by this command.
- Type: string
- -s | --sobjecttype SOBJECTTYPE
- Required
-
Comma-separated list of API names of standard or custom objects for which to display record counts.
- Type: array