I'm trying to pull some report already on salesforce. Is there a way to pull it using the sfdx cli. I've tried sfdx force:source:retrieve but it only retrieves the metadata not the data itself.

1 Answer 1


The out-of-the-box sfdx CLI doesn't have a way to run reports. However, you could write your own plugin by using the Salesforce CLI Plug-in Developer Guide or try to find an existing plug-in on NPM or Github. Also, you can run SOQL queries and get data out in several formats, including JSON and CSV. You can also use the SFDX Data Move Utility for even better data handling capability.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .