AutoSavings
AutoSavings Account APIs
Retrieve information about the AWS account registered with the company.
Company ID
1
Browser Timezone
+09:00
Linked Account ID
'123456789011'
Linked Account Name
'Alias equals name'
AutoSavings AWS account access type
'role-arn / access-key '
roleArn
'roleArn'
siteRegion
'GLOBAL / CHINA'
AutoSavings services subscribed to by the account
'AUTO-RI, AUTO-STORAGE, AUTO-DISK
Current AutoSavings subscription status of the account
'SUBSCRIBED'
GET /cost/v3/autosave/companies/{companyId}/vendors/aws/services/accounts HTTP/1.1
Host: api.opsnow.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
OK
{
"status": "text",
"error": {
"Code": 1,
"Message": "text"
},
"list": [
{
"companyId": "1",
"linkedAccountId": "123456789012",
"linkedAccountAlias": "Bespinglobal Platform",
"accessType": "role-arn",
"roleArn": "aws:arn:123456:api",
"siteRegion": "GLOBAL",
"deleteYn": "0:false / 1:true",
"createDate": "'%Y-%m-%d %H:%i:%s'",
"createUser": "user",
"updateDate": "'%Y-%m-%d %H:%i:%s'",
"updateUser": "user"
}
],
"roleArnInfo": {
"cloudFormationTemplateUrl": "text",
"externalId": "text"
},
"data": {
"siteRegion": "text"
}
}
Retrieve AWS AutoSavings subscription histories
Company ID
1
Browser Timezone
+09:00
Linked Account ID
'123456789011'
Linked Account Name
'Alias equals name'
AutoSavings AWS account access type
'role-arn / access-key '
roleArn
'roleArn'
siteRegion
'GLOBAL / CHINA'
AutoSavings services subscribed to by the account
'AUTO-RI, AUTO-STORAGE, AUTO-DISK
Current AutoSavings subscription status of the account
'SUBSCRIBED'
View the latest subscription information by account
true
GET /cost/v3/autosave/companies/{companyId}/vendors/aws/services/accounts/subscription/histories HTTP/1.1
Host: api.opsnow.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
OK
{
"list": [
{
"linkedAccountId": "text",
"payerAccountId": "text",
"autoSavingsService": "text",
"subscriptionStatus": "text",
"startDateTime": "text",
"cancelDateTime": "text",
"endDateTime": "text"
}
]
}
Retrieve registered AWS AutoSavings accounts state
Company ID
1
Browser Timezone
+09:00
Linked Account ID
'123456789011'
Linked Account Name
'Alias equals name'
AutoSavings AWS account access type
'role-arn / access-key '
roleArn
'roleArn'
siteRegion
'GLOBAL / CHINA'
AutoSavings services subscribed to by the account
'AUTO-RI, AUTO-STORAGE, AUTO-DISK
Current AutoSavings subscription status of the account
'SUBSCRIBED'
GET /cost/v3/autosave/companies/{companyId}/vendors/aws/services/accounts/state HTTP/1.1
Host: api.opsnow.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
OK
{
"status": "text",
"error": {
"Code": 1,
"Message": "text"
},
"data": {
"totalCount": 1,
"subscriptionCount": 1,
"state": "NONE",
"savingsCost": 1,
"monthlyEstimateCost": 1,
"accounts": [
{
"linkedAccountId": "text",
"linkedAccountName": "text",
"autoRiSubscribed": true,
"autoSpSubscribed": true,
"subscribed": true,
"purchase": true,
"estimatedCost": 1,
"accountStatus": "text"
}
]
}
}
Retrieve the necessary information for AWS cross-account registration.
Company ID
1
Browser Timezone
+09:00
Linked Account ID
'123456789011'
Linked Account Name
'Alias equals name'
AutoSavings AWS account access type
'role-arn / access-key '
roleArn
'roleArn'
siteRegion
'GLOBAL / CHINA'
AutoSavings services subscribed to by the account
'AUTO-RI, AUTO-STORAGE, AUTO-DISK
Current AutoSavings subscription status of the account
'SUBSCRIBED'
GET /cost/v3/autosave/companies/{companyId}/vendors/aws/services/accounts/role-arn HTTP/1.1
Host: api.opsnow.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
OK
{
"status": "text",
"error": {
"Code": 1,
"Message": "text"
},
"list": [
{
"companyId": "1",
"linkedAccountId": "123456789012",
"linkedAccountAlias": "Bespinglobal Platform",
"accessType": "role-arn",
"roleArn": "aws:arn:123456:api",
"siteRegion": "GLOBAL",
"deleteYn": "0:false / 1:true",
"createDate": "'%Y-%m-%d %H:%i:%s'",
"createUser": "user",
"updateDate": "'%Y-%m-%d %H:%i:%s'",
"updateUser": "user"
}
],
"roleArnInfo": {
"cloudFormationTemplateUrl": "text",
"externalId": "text"
},
"data": {
"siteRegion": "text"
}
}
Retrieve Information about customer sites utilizing AWS AutoSavings.
Company ID
1
Browser Timezone
+09:00
Linked Account ID
'123456789011'
Linked Account Name
'Alias equals name'
AutoSavings AWS account access type
'role-arn / access-key '
roleArn
'roleArn'
siteRegion
'GLOBAL / CHINA'
AutoSavings services subscribed to by the account
'AUTO-RI, AUTO-STORAGE, AUTO-DISK
Current AutoSavings subscription status of the account
'SUBSCRIBED'
GET /cost/v3/autosave/companies/{companyId}/vendors/aws/services/accounts/region HTTP/1.1
Host: api.opsnow.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
OK
{
"status": "text",
"error": {
"Code": 1,
"Message": "text"
},
"list": [
{
"companyId": "1",
"linkedAccountId": "123456789012",
"linkedAccountAlias": "Bespinglobal Platform",
"accessType": "role-arn",
"roleArn": "aws:arn:123456:api",
"siteRegion": "GLOBAL",
"deleteYn": "0:false / 1:true",
"createDate": "'%Y-%m-%d %H:%i:%s'",
"createUser": "user",
"updateDate": "'%Y-%m-%d %H:%i:%s'",
"updateUser": "user"
}
],
"roleArnInfo": {
"cloudFormationTemplateUrl": "text",
"externalId": "text"
},
"data": {
"siteRegion": "text"
}
}
Integrated(User & AutoSavings) Coverage APIs
Get Coverage List
Company ID
1
Date query type
DAILY
Possible values: Start Date
2020-10-01
End Date
2020-10-31
Linked Account IDs
['123456789011', '123456789012']
Products
['EC2InstanceReserved', 'ComputeReserved']
If retrieve only AutoRI or not
Search type
All, My, AutoSavings
AWS commitment service type
all, savings-plans, reserved-instance
GET /cost/v3/autosave/companies/{companyId}/vendors/aws/services/integration/coverages HTTP/1.1
Host: api.opsnow.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
OK
{
"status": "text",
"error": {
"Code": 1,
"Message": "text"
},
"list": [
{
"reservedInstanceCoverageRate": 1,
"savingsPlansCoverageRate": 1,
"autoRiCoverageRate": 1,
"autoSpCoverageRate": 1,
"onDemandCoverageRate": 1,
"reservedInstanceOnDemandCostEquivalent": 1,
"savingsPlansOnDemandCostEquivalent": 1,
"autoRiOnDemandCostEquivalent": 1,
"autoSpOnDemandCostEquivalent": 1,
"onDemandCost": 1,
"totalOnDemandCostEquivalent": 1,
"reservedInstanceNormalizeFactorAmount": 1,
"savingsPlansNormalizeFactorAmount": 1,
"autoRiNormalizeFactorAmount": 1,
"autoSpNormalizeFactorAmount": 1,
"onDemandNormalizeFactorAmount": 1,
"totalNormalizeFactorAmount": 1,
"reservedInstanceAmount": 1,
"savingsPlansAmount": 1,
"autoRiAmount": 1,
"autoSpAmount": 1,
"onDemandAmount": 1,
"totalAmount": 1,
"linkedAccountId": "123456789011",
"linkedAccountAlias": "Service Platform",
"productCode": "AmazonEC2",
"productName": "EC2",
"platform": "Linux",
"instanceType": "c4.xlarge",
"instanceSize": "c4.xlarge",
"tenancy": "Shared",
"regionCode": "ap-northeast-2",
"regionName": "Asia Pacific (Seoul)"
}
]
}
Get Coverage Total Transition
Company ID
1
Date query type
DAILY
Start Date
2020-10-01
End Date
2020-10-31
Linked Account IDs
['123456789011', '123456789012']
Products
['EC2InstanceReserved', 'ComputeReserved']
If retrieve only AutoRI or not
Search type
All, My, AutoSavings
AWS commitment service type
all, savings-plans, reserved-instance
GET /cost/v3/autosave/companies/{companyId}/vendors/aws/services/integration/coverages/time-series/{dateType} HTTP/1.1
Host: api.opsnow.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
OK
{
"status": "text",
"error": {
"Code": 1,
"Message": "text"
},
"list": [
{
"reservedInstanceCoverageRate": 1,
"savingsPlansCoverageRate": 1,
"autoRiCoverageRate": 1,
"autoSpCoverageRate": 1,
"onDemandCoverageRate": 1,
"reservedInstanceOnDemandCostEquivalent": 1,
"savingsPlansOnDemandCostEquivalent": 1,
"autoRiOnDemandCostEquivalent": 1,
"autoSpOnDemandCostEquivalent": 1,
"onDemandCost": 1,
"totalOnDemandCostEquivalent": 1,
"reservedInstanceNormalizeFactorAmount": 1,
"savingsPlansNormalizeFactorAmount": 1,
"autoRiNormalizeFactorAmount": 1,
"autoSpNormalizeFactorAmount": 1,
"onDemandNormalizeFactorAmount": 1,
"totalNormalizeFactorAmount": 1,
"reservedInstanceAmount": 1,
"savingsPlansAmount": 1,
"autoRiAmount": 1,
"autoSpAmount": 1,
"onDemandAmount": 1,
"totalAmount": 1,
"usageDate": "2020-07-01"
}
]
}
Get Coverage Filter
Company ID
1
Date query type
DAILY
Possible values: Start Date
2020-10-01
End Date
2020-10-31
Linked Account IDs
['123456789011', '123456789012']
Products
['EC2InstanceReserved', 'ComputeReserved']
If retrieve only AutoRI or not
Search type
All, My, AutoSavings
AWS commitment service type
all, savings-plans, reserved-instance
GET /cost/v3/autosave/companies/{companyId}/vendors/aws/services/integration/coverages/categories HTTP/1.1
Host: api.opsnow.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
OK
{
"status": "text",
"error": {
"Code": 1,
"Message": "text"
},
"data": {
"accounts": "['123456789011', '123456789012']",
"products": "[ {'code':'EC2InstanceReserved', 'value':'EC2 Instance'} ]",
"regions": "[ {'code':'EC2InstanceReserved', 'value':'EC2 Instance'} ]",
"instanceTypes": "[ 't2.micro', 'm4.xlarge' ]",
"opsNowProducts": "[ 'SELF', 'AUTO-RI']"
}
}
Get Coverage Total summary
Company ID
1
Date query type
DAILY
Possible values: Start Date
2020-10-01
End Date
2020-10-31
Linked Account IDs
['123456789011', '123456789012']
Products
['EC2InstanceReserved', 'ComputeReserved']
If retrieve only AutoRI or not
Search type
All, My, AutoSavings
AWS commitment service type
all, savings-plans, reserved-instance
GET /cost/v3/autosave/companies/{companyId}/vendors/aws/services/integration/coverages/aggregated HTTP/1.1
Host: api.opsnow.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
OK
{
"status": "text",
"error": {
"Code": 1,
"Message": "text"
},
"data": {
"reservedInstanceCoverageRate": 1,
"savingsPlansCoverageRate": 1,
"autoRiCoverageRate": 1,
"autoSpCoverageRate": 1,
"onDemandCoverageRate": 1,
"reservedInstanceOnDemandCostEquivalent": 1,
"savingsPlansOnDemandCostEquivalent": 1,
"autoRiOnDemandCostEquivalent": 1,
"autoSpOnDemandCostEquivalent": 1,
"onDemandCost": 1,
"totalOnDemandCostEquivalent": 1,
"reservedInstanceNormalizeFactorAmount": 1,
"savingsPlansNormalizeFactorAmount": 1,
"autoRiNormalizeFactorAmount": 1,
"autoSpNormalizeFactorAmount": 1,
"onDemandNormalizeFactorAmount": 1,
"totalNormalizeFactorAmount": 1,
"reservedInstanceAmount": 1,
"savingsPlansAmount": 1,
"autoRiAmount": 1,
"autoSpAmount": 1,
"onDemandAmount": 1,
"totalAmount": 1
}
}
Integrated(User & AutoSavings) Inventory APIs
Get My Inventory List
Company ID
1
Date query type
DAILY
Possible values: Start Date
2023-10-01
End Date
2023-10-31
Linked Account ID
['123456789011', '123456789012']
Products
['EC2InstanceReserved', 'ComputeReserved']
Regions
[ {'code':'EC2InstanceReserved', 'value':'EC2 Instance'} ]
Instance types
[ 't2.micro', 'm4.xlarge' ]
OpsNow RI Purchase types
[ 'AUTO-RI', 'AUTO-SP', 'CLIENT-RI' ]
Search type
All, My, AutoSavings
GET /cost/v3/autosave/companies/{companyId}/vendors/aws/services/integration/inventory/my-list HTTP/1.1
Host: api.opsnow.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
OK
{
"status": "text",
"error": {
"Code": 1,
"Message": "text"
},
"list": [
{
"inventoryId": "3118c6a8-7fc3-4b5d-8b53-a82fbe6f3169",
"linkedAccountId": "123456789012",
"linkedAccountAlias": "Bespinglobal Platform",
"productCode": "AmazonEC2",
"productName": "EC2",
"instanceType": "c4.xlarge",
"regionCode": "ap-northeast-2",
"regionName": "Asia Pacific (Seoul)",
"purchaseOption": "All Upfront",
"remainingDays": 365,
"startDate": "2019-01-01 23:59:59",
"endDate": "2011-01-01 23:59:58",
"duration": 31536000,
"platform": "Linux/UNIX",
"operationName": "RunInstances",
"status": "active",
"arn": "arn:aws:rds:ap-northeast-2:249145062117:ri:ri-2020-05-15-05-12-58-377",
"hourlyCommitmentCost": 100,
"upfrontFee": 777,
"recurringFee": 777
}
]
}
Get Savings Plans Inventory List
Company ID
1
Date query type
DAILY
Possible values: Start Date
2023-10-01
End Date
2023-10-31
Linked Account ID
['123456789011', '123456789012']
Products
['EC2InstanceReserved', 'ComputeReserved']
Regions
[ {'code':'EC2InstanceReserved', 'value':'EC2 Instance'} ]
Instance types
[ 't2.micro', 'm4.xlarge' ]
OpsNow RI Purchase types
[ 'AUTO-RI', 'AUTO-SP', 'CLIENT-RI' ]
Search type
All, My, AutoSavings
GET /cost/v3/autosave/companies/{companyId}/vendors/aws/services/integration/inventory/list HTTP/1.1
Host: api.opsnow.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
OK
{
"status": "text",
"error": {
"Code": 1,
"Message": "text"
},
"list": [
{
"inventoryId": "3118c6a8-7fc3-4b5d-8b53-a82fbe6f3169",
"linkedAccountId": "123456789012",
"linkedAccountAlias": "Bespinglobal Platform",
"productCode": "AmazonEC2",
"productName": "EC2",
"instanceType": "c4.xlarge",
"regionCode": "ap-northeast-2",
"regionName": "Asia Pacific (Seoul)",
"purchaseOption": "All Upfront",
"remainingDays": 365,
"startDate": "2019-01-01 23:59:59",
"endDate": "2011-01-01 23:59:58",
"duration": 31536000,
"platform": "Linux/UNIX",
"operationName": "RunInstances",
"status": "active",
"arn": "arn:aws:rds:ap-northeast-2:249145062117:ri:ri-2020-05-15-05-12-58-377",
"hourlyCommitmentCost": 100,
"upfrontFee": 777,
"recurringFee": 777
}
]
}
Get AutoSavings Inventory List
Company ID
1
Date query type
DAILY
Possible values: Start Date
2023-10-01
End Date
2023-10-31
Linked Account ID
['123456789011', '123456789012']
Products
['EC2InstanceReserved', 'ComputeReserved']
Regions
[ {'code':'EC2InstanceReserved', 'value':'EC2 Instance'} ]
Instance types
[ 't2.micro', 'm4.xlarge' ]
OpsNow RI Purchase types
[ 'AUTO-RI', 'AUTO-SP', 'CLIENT-RI' ]
Search type
All, My, AutoSavings
GET /cost/v3/autosave/companies/{companyId}/vendors/aws/services/integration/inventory/auto-list HTTP/1.1
Host: api.opsnow.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
OK
{
"status": "text",
"error": {
"Code": 1,
"Message": "text"
},
"list": [
{
"inventoryId": "3118c6a8-7fc3-4b5d-8b53-a82fbe6f3169",
"linkedAccountId": "123456789012",
"linkedAccountAlias": "Bespinglobal Platform",
"productCode": "AmazonEC2",
"productName": "EC2",
"instanceType": "c4.xlarge",
"regionCode": "ap-northeast-2",
"regionName": "Asia Pacific (Seoul)",
"purchaseOption": "All Upfront",
"remainingDays": 365,
"startDate": "2019-01-01 23:59:59",
"endDate": "2011-01-01 23:59:58",
"duration": 31536000,
"platform": "Linux/UNIX",
"operationName": "RunInstances",
"status": "active",
"arn": "arn:aws:rds:ap-northeast-2:249145062117:ri:ri-2020-05-15-05-12-58-377",
"hourlyCommitmentCost": 100,
"upfrontFee": 777,
"recurringFee": 777
}
]
}
Integrated(User & AutoSavings) Utilization APIs
Get Agreement Utilization List
Company ID
1
Date query type
DAILY
Possible values: Start Date
2023-10-01
End Date
2023-10-31
Linked Account ID
['123456789011', '123456789012']
Products
['EC2InstanceReserved', 'ComputeReserved']
Regions
[ {'code':'EC2InstanceReserved', 'value':'EC2 Instance'} ]
Instance types
[ 't2.micro', 'm4.xlarge' ]
OpsNow RI Purchase types
[ 'AUTO-RI', 'AUTO-SP', 'CLIENT-RI' ]
Search type
All, My, AutoSavings
GET /cost/v3/autosave/companies/{companyId}/vendors/aws/services/integration/utilizations HTTP/1.1
Host: api.opsnow.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
OK
{
"status": "text",
"error": {
"Code": 1,
"Message": "text"
},
"list": [
{
"utilization": 78.15,
"commitmentCost": 2880,
"usedCommitmentCost": 3690.19,
"netSavingsCost": 810.19,
"usedCommitmentCostOnDemandEquivalent": 1,
"netSavingsRate": 28.13,
"opsNowProduct": "AUTO-RI",
"inventoryId": "ri-2020-03-27-04-12-02-595",
"inventoryArn": "arn:aws:rds:ap-northeast-2:216093335544:ri:ri-2020-03-27-04-12-02-595",
"linkedAccountId": "123456789012",
"linkedAccountAlias": "Bespinglobal Platform",
"productCode": "EC2InstanceSavingsPlans",
"productName": "EC2 Instance",
"instanceType": "c5.2xlarge",
"instanceSize": "c4.xlarge",
"regionCode": "ap-northeast-2",
"regionName": "Asia Pacific (Seoul)",
"purchaseOption": "All Upfront",
"startDate": "2025-06-21T06:45:56.112Z",
"endDate": "2025-06-21T06:45:56.112Z"
}
]
}
Get Utilization Total Transition
Company ID
1
Date query type
DAILY
Start Date
2023-10-01
End Date
2023-10-31
Linked Account ID
['123456789011', '123456789012']
Products
['EC2InstanceReserved', 'ComputeReserved']
Regions
[ {'code':'EC2InstanceReserved', 'value':'EC2 Instance'} ]
Instance types
[ 't2.micro', 'm4.xlarge' ]
OpsNow RI Purchase types
[ 'AUTO-RI', 'AUTO-SP', 'CLIENT-RI' ]
Search type
All, My, AutoSavings
GET /cost/v3/autosave/companies/{companyId}/vendors/aws/services/integration/utilizations/time-series/{dateType} HTTP/1.1
Host: api.opsnow.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
OK
{
"status": "text",
"error": {
"Code": 1,
"Message": "text"
},
"list": [
{
"utilization": 78.15,
"commitmentCost": 2880,
"usedCommitmentCost": 3690.19,
"netSavingsCost": 810.19,
"netSavingsRate": 28.13,
"usedCommitmentCostOnDemandEquivalent": 1,
"usageDate": "2020-07-01",
"opsNowProduct": "AUTO-RI"
}
]
}
Overview Monthly Overview Savings
Company ID
Search start date
Search end date
GET /cost/v3/autosave/companies/{companyId}/vendors/aws/services/integration/utilizations/overview-savings HTTP/1.1
Host: api.opsnow.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
OK
{
"status": "text",
"error": {
"Code": 1,
"Message": "text"
},
"state": {
"totalCount": 1,
"subscriptionCount": 1,
"state": "NONE",
"savingsCost": 1,
"monthlyEstimateCost": 1,
"accounts": [
{
"linkedAccountId": "text",
"linkedAccountName": "text",
"autoRiSubscribed": true,
"autoSpSubscribed": true,
"subscribed": true,
"purchase": true,
"estimatedCost": 1,
"accountStatus": "text"
}
]
},
"list": [
{
"yearMonth": "text",
"lastDay": "Service Platform",
"totalSavingCost": 1,
"autoSavingCost": 1,
"mySavingCost": 1,
"estimatedCost": 1,
"estimatedAutoSavingCost": 1,
"estimatedMySavingCost": 1,
"savingsCostComparedPreviousMonth": 1,
"savingsRateComparedPreviousMonth": 1
}
],
"lastMonthNetSavings": {
"yearMonth": "text",
"lastDay": "Service Platform",
"totalSavingCost": 1,
"autoSavingCost": 1,
"mySavingCost": 1,
"estimatedCost": 1,
"estimatedAutoSavingCost": 1,
"estimatedMySavingCost": 1,
"savingsCostComparedPreviousMonth": 1,
"savingsRateComparedPreviousMonth": 1
}
}
Get Utilization Filter
Company ID
1
Date query type
DAILY
Possible values: Start Date
2023-10-01
End Date
2023-10-31
Linked Account ID
['123456789011', '123456789012']
Products
['EC2InstanceReserved', 'ComputeReserved']
Regions
[ {'code':'EC2InstanceReserved', 'value':'EC2 Instance'} ]
Instance types
[ 't2.micro', 'm4.xlarge' ]
OpsNow RI Purchase types
[ 'AUTO-RI', 'AUTO-SP', 'CLIENT-RI' ]
Search type
All, My, AutoSavings
GET /cost/v3/autosave/companies/{companyId}/vendors/aws/services/integration/utilizations/categories HTTP/1.1
Host: api.opsnow.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
OK
{
"status": "text",
"error": {
"Code": 1,
"Message": "text"
},
"data": {
"accounts": "['123456789011', '123456789012']",
"products": "[ {'code':'EC2InstanceReserved', 'value':'EC2 Instance'} ]",
"regions": "[ {'code':'EC2InstanceReserved', 'value':'EC2 Instance'} ]",
"instanceTypes": "[ 't2.micro', 'm4.xlarge' ]",
"opsNowProducts": "[ 'SELF', 'AUTO-RI']"
}
}
Get Utilization Total summary
Company ID
1
Date query type
DAILY
Possible values: Start Date
2023-10-01
End Date
2023-10-31
Linked Account ID
['123456789011', '123456789012']
Products
['EC2InstanceReserved', 'ComputeReserved']
Regions
[ {'code':'EC2InstanceReserved', 'value':'EC2 Instance'} ]
Instance types
[ 't2.micro', 'm4.xlarge' ]
OpsNow RI Purchase types
[ 'AUTO-RI', 'AUTO-SP', 'CLIENT-RI' ]
Search type
All, My, AutoSavings
GET /cost/v3/autosave/companies/{companyId}/vendors/aws/services/integration/utilizations/aggregated HTTP/1.1
Host: api.opsnow.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
OK
{
"status": "text",
"error": {
"Code": 1,
"Message": "text"
},
"data": {
"utilization": 78.15,
"commitmentCost": 2880,
"usedCommitmentCost": 3690.19,
"netSavingsCost": 810.19,
"netSavingsRate": 28.13,
"usedCommitmentCostOnDemandEquivalent": 1,
"usageDate": "2020-07-01",
"opsNowProduct": "AUTO-RI"
}
}
Last updated