---
title: "Get Revenue Breakdown Groups"
method: GET
path: "/analytics/dashboards/product-sales-breakdown/revenue-breakdown-groups"
tags: ["provider", "analytics"]
---

# Get Revenue Breakdown Groups

`GET /analytics/dashboards/product-sales-breakdown/revenue-breakdown-groups`

## Request

- Base URL: `https://docs.decodahealth.com` (the document declares no server; this is the origin it was published from)
- URL: `https://docs.decodahealth.com/analytics/dashboards/product-sales-breakdown/revenue-breakdown-groups`
- Auth: none declared. Required headers: `TENANT`, `API-KEY`
- TypeScript: <https://skmtc.dev/decodahealth/apis/decoda-api/docs/analytics/dashboards/product-sales-breakdown/revenue-breakdown-groups/get.ts> (a function with typed inputs; its response is checked against the schema)

Get revenue breakdown groups with totals for the GroupedTableOrchestrator.

Returns distinct group keys with their total counts for efficient grouping.

## Query parameters

- `group_by` 'location' | 'provider' | 'item_category' | 'payment_medium' | 'created_date', required
- `timezone` string, required: Timezone for date grouping (e.g., 'America/New_York', 'UTC')
- `start_date` string, nullable
- `end_date` string, nullable
- `location_ids` string[], nullable
- `location_names` string[], nullable
- `provider_ids` string[], nullable
- `provider_names` string[], nullable
- `patient_ids` string[], nullable
- `patient_names` string[], nullable
- `item_categories` string[], nullable
- `item_types` string[], nullable
- `item_names` string[], nullable
- `payment_mediums` string[], nullable
- `min_net_amount` number, nullable
- `max_net_amount` number, nullable
- `comment` string, nullable

## Headers

- `TENANT` string, required
- `API-KEY` string, required

## Response `200`

Successful Response

- DecodaAppsApiRoutesAnalyticsDashboardsProductSalesBreakdownGroupItem[]
  - `key` string, required
  - `label` string, required
  - `total` integer, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/decodahealth/apis/decoda-api.md) - [All operations](https://skmtc.dev/decodahealth/apis/decoda-api/llms.txt) - [OpenAPI document](https://skmtc.dev/decodahealth/apis/decoda-api/revisions/4ab18c80f9e9?raw)
