Instance Results

Retrieves results for an instance of a report run asynchronously with or without filters. Depending on your asynchronous report run request, data can be at the summary level or include details.

Resource URL 

1/services/data/<latest API version>/analytics/reports/<report ID>/instances/<instance ID>

Formats 

JSON

HTTP Methods 

MethodDescription
GETRetrieves results of an asynchronous report run. See this example.
DELETEIf the given report instance has a status of Success or Error, delete the report instance and return an empty response body.

GET Response Body 

PropertyTypeDescription
allDataBooleanWhen True, all report results are returned. When False, returns results for the same number of rows as a report run in Salesforce.
attributesAttributesAttributes for the instance of the report run.
factMapFact mapCollection of summary level data or both detailed and summary level data.
groupingsAcrossGroupings acrossCollection of column groupings.
groupingsDownGroupings downCollection of row groupings.
hasDetailRowsBooleanWhen false, report results are at summary level. When true, report results are at the record detail level.
hasExceededTabularRowLimitBooleanWhen True, returns the same number of rows as a report run in Salesforce. For a report on Salesforce Objects, total and subtotal rows don’t count toward this limit. For a report on Data 360 Objects, total and subtotal rows do count toward this limit. When False, all report results are returned.
reportExtendedMetadataReport extended metadataInformation on report groupings, summary fields, and detailed data columns, which is available if detailed data is requested.
reportMetadataReport metadataInformation about the fields used to build the report.

Attributes 

PropertyTypeDescription
idStringUnique ID for an instance of a report that was run.
statusStringNew if the report run has just been triggered through a request, Success if the report ran, Running if the report is being run, or Error if the report run failed. The instance of a report run can return an error if, for example, your permission to access the report has been removed since you requested the run.
ownerIdStringAPI name of the user that created the instance.
completionDateDate, time stringDate, time when the instance of the report run finished. Only available if the report instance ran successfully or couldn’t be run because of an error. Date-time information is in ISO-8601 format.
requestDateDate, time stringDate and time when an instance of the report run was requested. Date-time information is in ISO-8601 format.
typeStringFormat of the resource.
reportIdStringUnique report ID.
reportNameStringDisplay name of the report.

See Also