Skip to main content

GenerateReportResponse

The possible return types when submitting a report generation request.

union GenerateReportResponse =
| BadRequestError
| InternalServerError
| ReportExecution

Possible types

GenerateReportResponse.BadRequestError object

Returned when there is an error in the request.

GenerateReportResponse.InternalServerError object

Returned when an error is encountered that is not expected.

GenerateReportResponse.ReportExecution object

This is the success return type from generateReport, and it contains metadata that uniquely identifies the report generation request, as well as the current status of report generation.

Returned By

generateReport mutation