Get a list of asynchronous operations

get/async-operations

Retrieves a list of all asynchronous operations organized in descending order based on their creation time. This ensures the most recent asynchronous operations are presented first.

Pagination: This endpoint exclusively supports cursor-based pagination.

Filtering: The following are the supported filter parameters:

  • state— The state filter parameter only supports the eq operator and its value should be a valid string.
  • createdAt
  • updatedAt
  • endedAt
  • startedAt
SecurityBearer
Request
query Parameters
filter
string

The filter query parameter is used to filter a set of resources. The returned set of resources matches the criteria in the filter query parameter. The value of the filter query parameter is a subset of OData V4 filter expressions consisting of simple comparison operations joined by logical operators.

Examples:
filter=state eq SUCCEEDED
filter=createdAt lt 2021-05-12T07:20:00.00Z
filter=createdAt gt 2021-05-12T07:20:00.00Z
filter=startedAt gt 2021-05-12T07:20:00.00Z
filter=createdAt gt 2021-05-12T07:20:00.00Z and createdAt lt 2022-05-12T07:20:00.00Z
limit
integer <int32> [ 1 .. 200 ]
Default: 100

Specifies the number of asynchronous operations to be returned.

next
string

Specifies the ID, which acts as the pagination cursor for the next page of asynchronous operations.

Examples:
Async Operation ID
next=0908777a-788f-45da-afb8-295c626e4d14
Responses
200

OK

400

Bad Request

401

Unauthorized - Invalid JWT token in Request

429

You have exceeded the allowed rate limit. Please contact HPE support if it is an error.

500

Unexpected Server Error. Please re-try and contact HPE support if the error is not resolved.

Request samples
Response samples
application/json
{
  • "items": [
    ],
  • "count": 2,
  • "next": "0001b67f-9518-4d0f-9b17-70cec7763632",
  • "total": 300
}