Reports [Beta]
Download the generated Excel report. The report must be in COMPLETED status. Returns the Excel file as a binary download.
Organisation Identifier
Project Identifier
Account Identifier
Report file download (Excel/XLSX)
Error Response body
Error Response body
Error Response body
GET /api/release/report/{reportId}/download HTTP/1.1
Harness-Account: text
Accept: */*
binaryGet the status of a report generation job. Returns the current status, timestamps, and error information if the job failed.
Organisation Identifier
Project Identifier
Account Identifier
Report status information
Error Response body
Error Response body
Error Response body
GET /api/release/report/{reportId}/status HTTP/1.1
Harness-Account: text
Accept: */*
{
"completedAt": 1,
"createdAt": 1,
"errorMessage": "text",
"reportId": "text",
"status": "PENDING",
"totalReleases": 1
}Generate an Excel report for a specific release within a time period. The report generation is asynchronous and returns a report job ID that can be used to track status and download the report.
Organisation Identifier
Project Identifier
Account Identifier
End timestamp in milliseconds (Unix epoch)
Start timestamp in milliseconds (Unix epoch)
Report generation job created successfully
Error Response body
Error Response body
Error Response body
POST /api/release/{releaseId}/report/generate HTTP/1.1
Harness-Account: text
Content-Type: application/json
Accept: */*
Content-Length: 23
{
"endTs": 1,
"startTs": 1
}{
"reportId": "text",
"status": "PENDING"
}Generate an Excel report for all releases in a release group within a time period. The report generation is asynchronous and returns a report job ID that can be used to track status and download the report.
Organisation Identifier
Project Identifier
Account Identifier
End timestamp in milliseconds (Unix epoch)
Start timestamp in milliseconds (Unix epoch)
Report generation job created successfully
Error Response body
Error Response body
Error Response body
POST /api/releaseGroup/{releaseGroupId}/report/generate HTTP/1.1
Harness-Account: text
Content-Type: application/json
Accept: */*
Content-Length: 23
{
"endTs": 1,
"startTs": 1
}{
"reportId": "text",
"status": "PENDING"
}Generate an Excel report of the approvals and manual activity tasks pending in the given scope, as one workbook with an Approvals sheet and a Tasks sheet. Accepts the same filters as /approvals/pending and /tasks/pending (every matching row is exported, up to a cap per sheet). The report is built in the background; poll /release/report/{reportId}/status and download it from /release/report/{reportId}/download once COMPLETED.
Organisation Identifier
Project Identifier
When true, includes only approvals and tasks for activities triggered by the calling user. Equivalent to requestedBy=; mutually exclusive with requestedBy.
falseWhen true, includes only approvals and tasks the calling user may act on.
falseWhen set, includes only approvals and tasks for activities triggered by this user identifier.
When set, includes only approvals and tasks pending on this specific user identifier.
When true, includes only approvals and tasks that are NOT pending on the specified user (pendingOnUserId) or, if pendingOnUserId is absent, NOT pending on the calling user.
falseAccount Identifier
Report generation job created successfully
Error Response body
Error Response body
POST /api/report/pending-actions/generate HTTP/1.1
Harness-Account: text
Accept: */*
{
"reportId": "text",
"status": "PENDING"
}Last updated
Was this helpful?