---
title: "Get platform performance report (total volume and total_amount) for the date range and transaction state. Queries transaction table for stats, so could be slow for large date ranges"
method: GET
path: "/v1/report/performance-report-legacy"
tags: ["Reports"]
---

# Get platform performance report (total volume and total_amount) for the date range and transaction state. Queries transaction table for stats, so could be slow for large date ranges

`GET /v1/report/performance-report-legacy`

## Query parameters

- `from_date` string
- `to_date` string
- `state` 'UNDEFINED' | 'STARTED' | 'CAPTURABLE' | 'FAILED_REJECTED' | 'FAILED_EXPIRED' | 'FAILED_CANCELLED' | 'CANCELLED' | 'CREATED' | 'SUBMITTED' | 'SUCCESS' | 'ERROR' | 'ERROR_GATEWAY' | 'NEEDS_RESPONSE' | 'UNDER_REVIEW' | 'LOST' | 'WON'

## Response `200`

OK

- PerformanceReportEntity
  - `average_amount` number
  - `total_amount` number
  - `total_volume` integer

## Other responses

- `500` — Internal Server Error for invalid query parameter values

---

[API](https://skmtc.net/government-digital-service/apis/ledger-api.md) · [All operations](https://skmtc.net/government-digital-service/apis/ledger-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/government-digital-service/ledger-api/versions/10ffeffca918/schema)
