I am trying to access Reports metadata from Metadata API . Following is the documentation I am using Analytics API

If I have list of report ids , can I extract the metadata of all reports in a single API call ? I am trying to build something dynamic hence I would never know how many reports may get into list and hence sending Id each time with each new call is just not right thing to do...

Is there anyway ?

  • Are you using apex or nodejs or any other java code ? Jul 16, 2015 at 3:02
  • nodejs - jsforce ( but shudnt matter right?)
    – Manju
    Jul 16, 2015 at 3:06
  • it will matter ..If you are on apex you can use other way apart from API Jul 16, 2015 at 3:09
  • Yep , lets say it is Apex. What would be the other way ? I can SOQL Report Ids. But we still cant get Metadata from Apex right?
    – Manju
    Jul 16, 2015 at 3:11
  • got it developer.salesforce.com/docs/atlas.en-us.apexcode.meta/… thanks Mohit But still Metadata API doesn't support bulk is that moral of the story?
    – Manju
    Jul 16, 2015 at 3:13

1 Answer 1


If you are using apex to fetch metadata,you can use Report Describe to do run in for loop and should not be doing any harm except if heap size blows off ,so keep variables transient might resuce


Use describe report class and pass report Id


Retrieves report, report type, and extended metadata for a tabular, summary, or matrix report.

Report class provides way to run your Report as well



Now lets say you are using in node js ,there are latest features where you can chain the API


You can use composite batch resource to trigger independent API

"batchRequests" : [
"method" : "PATCH",
"url" : "v34.0/sobjects/account/001D000000K0fXOIAZ",
"richInput" : {"Name" : "NewName"}
"method" : "GET",
"url" : "v34.0/sobjects/account/001D000000K0fXOIAZ"
  • 1
    @ManjunathNimbal You were my teacher so I owe you lot ..long way to go but thanks for all lessons :) Jul 16, 2015 at 3:23

You must log in to answer this question.

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