/reports/{id}/downloadDownload a report
Returns the stored PDF by default or the stored HTML. Responses are attachments with Cache-Control: no-store. The PDF is rendered once in the background after creation: while the report is pending, format: pdf answers 409 with code report_pdf_pending; a report whose render failed answers 409 report_pdf_failed (detail.pdf_error); a report without a stored PDF answers 409 report_pdf_unavailable. The HTML is available at any time.
Send request
Use the documented inputs to call this endpoint directly.
Parameters
Values are applied to the request and the example on the right.
Resource ID.
Request body
application/jsonValues: "pdf" · "html"
Responses
Report file.
stringThe request body, parameter, filter, cursor, or project-scoping pattern is invalid.
{
"status": "error",
"message": "string",
"code": "string",
"detail": {},
"quota": {
"key": "string",
"limit": 1,
"used": 1
},
"feature": "string",
"dependency": "string"
}Stable machine-readable code when the error defines one.
Authentication is missing or the credential is invalid, inactive, expired, or lacks the required scope.
{
"status": "error",
"message": "string",
"code": "string",
"detail": {},
"quota": {
"key": "string",
"limit": 1,
"used": 1
},
"feature": "string",
"dependency": "string"
}Stable machine-readable code when the error defines one.
The resource was not found or is outside the caller's project.
{
"status": "error",
"message": "string",
"code": "string",
"detail": {},
"quota": {
"key": "string",
"limit": 1,
"used": 1
},
"feature": "string",
"dependency": "string"
}Stable machine-readable code when the error defines one.
The requested change conflicts with the resource's current state or dependencies.
{
"status": "error",
"message": "string",
"code": "string",
"detail": {},
"quota": {
"key": "string",
"limit": 1,
"used": 1
},
"feature": "string",
"dependency": "string"
}Stable machine-readable code when the error defines one.
Powered by heyo