The GreenLake for Reporting service provides a collection of RESTful APIs for generating reports, retrieving supported columns and filters, monitoring asynchronous operations, and querying the status of reports.
GreenLake for Reporting (v1)
Request
Retrieves the async-operation status of the report runs the caller created or receives, for immediate and scheduled reports. Each item is one run of a report, so every run of a scheduled report is a separate item. An item has the shape of the single-item GET /reporting/v1/async-operations/{id} response, except that it does not carry startedAt, which the single-item response keeps for backward compatibility. Only runs with activity in the last 7 days are returned, newest activity first. id is the run id (the instance id of a scheduled run, or the enrolment id of an immediate report), enrolmentId is the enrolment id, reportId is the report the run belongs to, and result[].resourceUri points to the run's /reporting/v2beta1/reports/{reportId}/instances/{id} resource.
This API may not be available for all workspaces; unavailable workspaces receive a 404.
- https://global.api.greenlake.hpe.com/reporting/v1/async-operations
- Mock serverhttps://developer.greenlake.hpe.com/_mock/docs/greenlake/services/reporting/public/openapi/reporting-nbapi-latest/v1/report-mgmt/reporting/v1/async-operations
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X GET \
https://global.api.greenlake.hpe.com/reporting/v1/async-operations \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Successful response
The identifier of this report run: the instance id of a scheduled run, or the enrolment id of an immediate report.
The date and time the operation finished: delivered or failed. null while it is still in progress.
List of progress update objects. This array can be empty.
Percent progress of the operation as an integer value of 0 to 100.
The URI reference to the resource or resource collection that initiated the operation
List of references to resources (other than the source resource) which were created, updated, or deleted during the operation.
{ "items": [ { … } ], "count": 0, "total": 0, "offset": 0 }
Request
Retrieve information about asynchronous operations within the reporting service. Provide the unique identifier of the operation in the parameter to monitor the progress of asynchronous tasks. This API returns the following attributes:
status—Indicates the current status of the asynchronous task.id—The enrolment id the request was made with.instanceId—For a scheduled report, the instance id of its latest run, which the response describes. Not returned for an immediate report. It changes when a new run starts, so compare it between calls to detect a new run.enrolmentId—The enrolment id the run belongs to.reportId—The id of the report the run belongs to.createdAt,updatedAt,generation—When the operation was created and last updated, and its revision number.startedAt—Deprecated, will be removed on 2027-04-30; usecreatedAt. Specifies the timestamp when the operation started.endedAt—Deprecated, will be removed on 2027-04-30; useupdatedAtandstatus. Indicates the timestamp when the operation was completed.logMessages—Provides a list of progress updates for the asynchronous operation.progressPercent—Represents the progress of the operation as a percentage value ranging from 0 to 100.sourceResourceUri—References the source URI that triggered the asynchronous task.result—The result array provides a link to get the complete details of the report status: /reporting/v2beta1/reports/{reportId}/instances/{instanceId} where the v2beta1 reporting APIs are available for the workspace (the enrolment id stands in for the instance id of an immediate report), otherwise /reporting/v1/statuses/{id}.
- https://global.api.greenlake.hpe.com/reporting/v1/async-operations/{id}
- Mock serverhttps://developer.greenlake.hpe.com/_mock/docs/greenlake/services/reporting/public/openapi/reporting-nbapi-latest/v1/report-mgmt/reporting/v1/async-operations/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X GET \
https://global.api.greenlake.hpe.com/reporting/v1/async-operations/3fa85f64-5717-4562-b3fc-2c963f66afa6 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Successful response
The enrolment id the request was made with. For a scheduled report the response describes its latest run, identified by instanceId.
List of progress update objects. This array can be empty.
Percent progress of the operation as an integer value of 0 to 100.
The URI reference to the resource or resource collection that initiated the operation
The instance id of the run: the latest run of a scheduled report. Not returned for an immediate report. It can change between calls when a new run of the scheduled report starts.
List of references to resources (other than the source resource) which were created, updated, or deleted during the operation.
Deprecated since 2026-10-30 and will be removed on 2027-04-30. Use createdAt, which has the same value. The date and time the operation started.
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "enrolmentId": "23ae3035-b2f7-4352-bf9d-02b14c0716ae", "instanceId": "64d2028c-ae87-4069-a624-66089d957ef9", "reportId": "836df459-dc40-4aa1-972a-6eb0a864dff9", "type": "string", "state": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "generation": 0, "startedAt": "2019-08-24T14:15:22Z", "endedAt": "2019-08-24T14:15:22Z", "logMessages": [ { … } ], "progressPercent": 0, "sourceResourceUri": "string", "result": [ { … } ], "error": { "message": "string", "timestamp": "2019-08-24T14:15:22Z", "debugId": "string" } }