---
id: resource-report
title: resourceReport
---

Aggregate resource data. Requires reports:read and source scopes; monetary metrics require finance:read and currency.

```graphql
resourceReport(
  currency: String
  filter: ResourceFilter
  metric: ResourceReportInput!
): ReportResult
```

### Arguments

#### [`resourceReport.currency`](#currency) · [`String`](/docs/developers/api-reference/management/v1/types/scalars/string) **scalar** {#currency}

Required for monetary metrics. Only source amounts in this currency contribute.

#### [`resourceReport.filter`](#filter) · [`ResourceFilter`](/docs/developers/api-reference/management/v1/types/inputs/resource-filter) **input** {#filter}

Filter the complete source dataset before aggregation.

#### [`resourceReport.metric`](#metric) · [`ResourceReportInput!`](/docs/developers/api-reference/management/v1/types/inputs/resource-report-input) **non-null** **input** {#metric}

One report definition.

### Type

#### [`ReportResult`](/docs/developers/api-reference/management/v1/types/objects/report-result) **object**

Complete aggregate results for the selected filters; excessive group counts fail instead of being truncated.
