API reference documentation for the HPE GreenLake Consumption Analytics FOCUS Exports v1beta1 API
HPE GreenLake Consumption Analytics FOCUS Exports v1beta1 API (1.0.0)
https://us-west.api.greenlake.hpe.com/
https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/consumption-analytics/public/openapi/consumption-analytics-latest/focus-exports-v1beta1/
- Production - US West
https://us-west.api.greenlake.hpe.com/consumption-analytics/v1beta1/focus-exports
- Mock server
https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/consumption-analytics/public/openapi/consumption-analytics-latest/focus-exports-v1beta1/consumption-analytics/v1beta1/focus-exports
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X GET \
https://us-west.api.greenlake.hpe.com/consumption-analytics/v1beta1/focus-exports \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'success
{ "offset": 0, "count": 2, "total": 2, "items": [ { … }, { … } ] }
- Production - US West
https://us-west.api.greenlake.hpe.com/consumption-analytics/v1beta1/focus-exports/{id}
- Mock server
https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/consumption-analytics/public/openapi/consumption-analytics-latest/focus-exports-v1beta1/consumption-analytics/v1beta1/focus-exports/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X GET \
https://us-west.api.greenlake.hpe.com/consumption-analytics/v1beta1/focus-exports/7021d69d-de13-44bd-97e1-dbb05eef0759 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'success
{ "id": "83bcaf12-de13-44bd-97e1-dbb05eef0759", "name": "Export all AWS Data", "filter": [ { … } ], "created": { "id": "01972d202d3d9e74ba89cec4a36b7dfe", "name": "Test User", "time": "2025-09-11T17:59:16.945" }, "lastUpdated": { "id": "01972d202d3d9e74ba89cec4a36b7dfe", "name": "Test User", "time": "2025-09-11T17:59:16.945" }, "lastRun": { "id": "e1b1a9bc60ca05dd6f0918397c50858b", "name": "Test User", "time": "2026-04-21T21:49:56.974618" } }
Relative date range for the export. If specified, this parameter takes precedence over startDate and endDate. Dates are mandatory: you must provide either relativeDate or the startDate/endDate pair.
Start date for an absolute export range (YYYY-MM-DD). Must be used together with endDate; otherwise a 400 Bad Request is returned.
- Production - US West
https://us-west.api.greenlake.hpe.com/consumption-analytics/v1beta1/focus-exports/{id}/contents
- Mock server
https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/consumption-analytics/public/openapi/consumption-analytics-latest/focus-exports-v1beta1/consumption-analytics/v1beta1/focus-exports/{id}/contents
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X GET \
https://us-west.api.greenlake.hpe.com/consumption-analytics/v1beta1/focus-exports/7021d69d-de13-44bd-97e1-dbb05eef0759/contents \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'success
BillingAccountId,BillingAccountName,BillingCurrency,BilledCost,BillingPeriodStart,BillingPeriodEnd,ChargeCategory,ChargeClass,ChargeDescription,ChargePeriodStart,ChargePeriodEnd,ContractedCost,ContractedUnitPrice,EffectiveCost,InvoiceIssuerName,ProviderName,PublisherName,PricingQuantity,PricingUnit,ListCost,ListUnitPrice,ResourceId,ResourceName,ResourceType,ServiceCategory,ServiceName,SkuId,ConsumedQuantity,ConsumedUnit,AvailabilityZone,CommitmentDiscountType,ChargeFrequency,CommitmentDiscountCategory,CommitmentDiscountId,CommitmentDiscountName,CommitmentDiscountStatus,PricingCategory,RegionId,RegionName,SkuPriceId,SubAccountId,SubAccountName,Tags
HP-AMS-999-USA-99999,Test Company,USD,0.35312696,2026-04-01T00:00:00Z,2026-05-01T00:00:00Z,Usage,,0.9 CUs Synergy 480 Gen10 #1 (ESXI Hosts),2026-04-15T00:00:00Z,2026-04-16T00:00:00Z,0.35312696,,0.35312696,HPE GreenLake,HPE GreenLake,HPE GreenLake,0.39236328125,CUs,0.35312696,0.9,foo.org-vm-00001,foo.org-vm-00001,VM,Compute,VM,VM20_000000-0000-0000-0000-000000000012,11.7708984375,CUs,,,Estimated,,,,,,AMS,AMS,,,,{}
HP-AMS-999-USA-99999,Test Company,USD,5.93066666,2026-04-01T00:00:00Z,2026-05-01T00:00:00Z,Usage,,1.39 CUs SQL special configuration,2026-04-17T00:00:00Z,2026-04-18T00:00:00Z,5.93066666,,5.93066666,HPE GreenLake,HPE GreenLake,HPE GreenLake,4.266666666666670,CUs,5.93066666,1.39,foo.org-vm-00002,foo.org-vm-00002,VM,Compute,VM,VM20_000000-0000-0000-0000-000000000012,128.0,CUs,,,Estimated,,,,,,AMS,AMS,,,,{}
HP-AMS-999-USA-99999,Test Company,USD,0.82489054,2026-04-01T00:00:00Z,2026-05-01T00:00:00Z,Usage,,0.9 CUs Synergy 480 Gen10 #1 (ESXI Hosts),2026-04-18T00:00:00Z,2026-04-19T00:00:00Z,0.82489054,,0.82489054,HPE GreenLake,HPE GreenLake,HPE GreenLake,0.9165450434966670,CUs,0.82489054,0.9,foo.org-vm-00003,foo.org-vm-00003,VM,Compute,VM,VM20_000000-0000-0000-0000-000000000012,27.4963513049,CUs,,,Usage,,,,,,AMS,AMS,,,,{}