Skip to content

HPE Compute Ops Management API (latest)

HPE Compute Operations Management provides a Restful API to customers who want to manage their devices programmatically or through a command line. The API enables customers to invoke operations or tasks such as list devices, see device details, device health, and manage their device's firmware.

UPDATED API ENDPOINTS

Compute Ops Management now supports the HPE GreenLake API endpoints (<region>.api.greenlake.hpe.com). The Guide contains more information about this change.

Download OpenAPI description
Languages
Servers
API endpoint for US West

https://us-west.api.greenlake.hpe.com/

API endpoint for EU Central

https://eu-central.api.greenlake.hpe.com/

API endpoint for AP Northeast

https://ap-northeast.api.greenlake.hpe.com/

Mock server

https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/compute-ops-mgmt/public/openapi/compute-ops-mgmt-latest/

accounts - v1beta1

Operations

activation-keys - v1beta1

Operations

activation-tokens - v1beta1

Operations

activities - v1beta2

Operations

ahs-files - v1beta1

Operations

secure-gateway-appliances - v1beta2

Operations

appliance-firmware-bundles - v1

Operations

appliance-firmware-bundles - v1beta1

Operations

approval-policy - v1beta2

Operations

approval-request - v1beta2

Operations

async-operations - v1

Operations

async-operations - v1beta1

Operations

energy-over-time - v1beta1

Operations

energy-by-entity - v1beta1

Operations

external-services - v1beta1

Operations

filters - v1beta1

Operations

firmware-bundles - v1

Operations

firmware-bundles - v1beta2

Operations

groups - v1

Operations

groups - v1beta3

Operations

groups - v1beta2

Operations

job-templates - v1beta2

Operations

jobs - v1

Operations

jobs - v1beta3

Operations

jobs - v1beta2

Operations

metrics-configurations - v1

Operations

oneview-appliances - v1beta1

Operations

oneview-settings - v1beta1

Operations

oneview-server-templates - v1beta1

Operations

reports - v1beta2

Operations

schedules - v1beta2

Operations

server-locations - v1beta1

Operations

server-settings - v1beta1

Operations

settings - v1

Operations

settings - v1beta1

Operations

servers - v1

Operations

Download Server Logs in zip format

Request

This API returns a pre-signed URL to download server logs in zip format

Security
Bearer
Path
idstring(productId+serialNumber)required

Unique Server identifier

Example: P06760-B21+2M212504P8
Headers
Tenant-Acidstring(uuid)

Tenant-Acid header can be used by an MSP workspace to make API calls on behalf of their tenant by specifying the tenant's application customer ID.

In order to make such an API call, the Bearer token must belong to an MSP workspace and this header value must be the application customer ID of a tenant within the MSP workspace. Use the /compute-ops-mgmt/v1beta1/accounts API to determine the application customer IDs for your tenant accounts.

curl -i -X GET \
  'https://us-west.api.greenlake.hpe.com/compute-ops-mgmt/v1/servers/P06760-B21+2M212504P8/download-logs' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

Successful Response

Bodyapplication/json
idstring(productId+serialNumber)required

Primary identifier for the server given by the system

Example: "P06760-B21+2M212504P8"
typestringrequired

Type of the resource

Value "compute-ops-mgmt/server/download-logs"
downloadUrlstring(uri)required

Secure URL to download the server logs file. This URL is strictly confidential and valid for 10 minutes.

Example: "https://hpe-(cluster).s3.amazonaws.com/ServerLogs/(workspace_id)/(id)/HPE-(id)-server-log.zip"
expiresAtstring(date-time)required

Time the download URL expires. After it is expired, attempting to download the server logs with it will fail.

Example: "2025-08-01T11:59:59.000037+00:00"
Response
application/json
{ "id": "P06760-B21+2M212504P8", "type": "compute-ops-mgmt/server/download-logs", "downloadUrl": "https://hpe-(cluster).s3.amazonaws.com/ServerLogs/(workspace_id)/(id)/HPE-(id)-server-log.zip", "expiresAt": "2025-08-01T11:59:59.000037+00:00" }

List raw inventories for a serverDeprecated

Request

Note: This path operation is going to be deprecated and sunset!

  • Deprecated at: Fri, 7 Nov 2024 23:59:59 GMT
  • Sunset at: Fri, 30 May 2025 23:59:59 GMT
  • Successor version: compute-ops-mgmt/v1/servers/{id}/inventory

Retrieve firmware, software, storage inventories, PCI devices and smart update tool settings for a server specified by the id of the server.

Security
Bearer
Path
idstringrequired

Unique Server identifier

Headers
Tenant-Acidstring(uuid)

Tenant-Acid header can be used by an MSP workspace to make API calls on behalf of their tenant by specifying the tenant's application customer ID.

In order to make such an API call, the Bearer token must belong to an MSP workspace and this header value must be the application customer ID of a tenant within the MSP workspace. Use the /compute-ops-mgmt/v1beta1/accounts API to determine the application customer IDs for your tenant accounts.

curl -i -X GET \
  'https://us-west.api.greenlake.hpe.com/compute-ops-mgmt/v1/servers/{id}/raw-inventory' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

Server's raw inventory Data

Bodyapplication/json
idstringrequired

Primary identifier for the device given by the system

typestringrequired

Type of the resource

Value "compute-ops-mgmt/server/raw-inventory"
serialstring
productIdstring
firmwareInventoryArray of objects(JSON)(serverRawInventoryItem-v1)

Firmware Inventory

softwareInventoryArray of objects(JSON)(serverRawInventoryItem-v1)

Software Inventory

storageInventoryobject(JSON)

JSON data that describes Storage Inventory

pciDevicesArray of objects(JSON)(serverRawInventoryItem-v1)

PCI devices

smartUpdateToolobject(JSON)

JSON data that describes Integrated Smart Update Tools settings

Response
application/json
{ "id": "string", "type": "compute-ops-mgmt/server/raw-inventory", "serial": "string", "productId": "string", "firmwareInventory": [ {} ], "softwareInventory": [ {} ], "storageInventory": { "property1": [], "property2": [] }, "pciDevices": [ {} ], "smartUpdateTool": { "property1": [], "property2": [] } }

servers - v1beta2

Operations

server-warranty - v1beta2

Operations

user-preferences - v1

Operations

user-preferences - v1beta1

Operations

utilization-over-time - v1beta1

Operations

utilization-by-entity - v1beta1

Operations

webhooks - v1beta1

Operations