---
title: "Generate a report"
method: POST
path: "/reports/generate"
tags: ["Reports"]
---

# Generate a report

`POST /reports/generate`

Generates a report with the specified parameters. This report can later be downloaded via /reports/{reportRunId}/result

## Request body

- PredefinedReportJson
  - `reportId` string
  - `params` object
  - `duration` ReportDuration
    - `start` integer
    - `end` integer
  - `reportDate` integer

## Response `200`

successful operation

- ReportJobResponse
  - `reportId` string
  - `reportRunId` string
  - `status` 'OK' | 'FAILED'
  - `uri` string

---

[API](https://skmtc.net/dealhub/apis/quote-api.md) · [All operations](https://skmtc.net/dealhub/apis/quote-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/dealhub/quote-api/versions/c30f5b9fbfab/schema)
