View abnormal cost detection history list
company id
companyIduser id
userIdAbnormal Cost Analysis Type
accountAbnormal Cost AI/Manual Type
manualOK
View ai/manual abnormal cost detection daily grid data
Analyze Type
aicompany id
companyIduser id
userIdHistory Seq
0Anomaly Rule Seq
0OK
View abnormal cost detection notification sent history
company id
companyIduser id
userIdHistory Seq
0Anomaly Rule Seq
0OK
View abnormal cost detection history details and pie chart data
company id
companyIduser id
userIdHistory Seq
0Anomaly Rule Seq
0OK
View manual abnormal cost detection history details and pie chart data inquiry
company id
companyIduser id
userIdHistory Seq
0Anomaly Rule Seq
0OK
View the trend of cost anomalies detected by AI.
Vendor
AWScompany id
123e4567-e89b-12d3-a456-426614174000company name
ex-company-rnamedefault vendor
AWSuser id
390df5f7-8852-40af-bc12-57a318cb9dc3user name
ex-user-namevendor
AWSSensitivity
MForecast Date
2024-06-02OK
View the usage data that may lead to ai-predicted anomalous costs
Vendor
AWScompany id
123e4567-e89b-12d3-a456-426614174000company name
ex-company-rnamedefault vendor
AWSuser id
390df5f7-8852-40af-bc12-57a318cb9dc3user name
ex-user-namevendor
AWSSelected Vendors by Widget
["AWS","GCP"]Sensitivity
MForecast Date
2024-09-23OK
View the number of triggered alerts and abnormal cost information by cloud vendor and type.
company id
companyIduser id
userIdList of vendors
["AWS"]OK
View the number of triggered alerts and abnormal cost information by cloud vendor and type.
Vendor
AWScompany id
companyIduser id
userIdList of vendors
["AWS"]OK
View the rules for detecting anomalies and sending alerts.
company id
123e4567-e89b-12d3-a456-426614174000company name
ex-company-rnamedefault vendor
AWSuser id
390df5f7-8852-40af-bc12-57a318cb9dc3user name
ex-user-namevendor
AWSList of vendors
["AWS"]OK
View the specific rule for detecting anomalies and sending alerts.
Rule Seq
0company id
123e4567-e89b-12d3-a456-426614174000company name
ex-company-rnamedefault vendor
AWSuser id
390df5f7-8852-40af-bc12-57a318cb9dc3user name
ex-user-namevendor
AWSAnomaly Rule Seq
0OK
Retrieve monthly billing summary including invoices and services. Required parameters: companyId, searchYear, searchMnth, vndr
company id
companyIduser id
userIdSearch Year
2025Search Month (01-12)
05Vendor (AWS)
AWSLinked Account ID (optional)
linkedAccountIdsuccess
Internal Server Error
View detailed portion chart data of cost analytics
company id
companyIduser id
userIdAWS2019-08-122023-02-012024-02-12account216093335544216093335544VisibleFields of detail grid
["vendor","linkedAccountId","productName","region","usage","cost","usageType"]falseOK
View detailed grid of cost analytics
company id
companyIduser id
userIdAWS2019-08-122023-02-012024-02-12account216093335544216093335544VisibleFields of detail grid
["vendor","linkedAccountId","productName","region","usage","cost","usageType"]falseOK
View summary of cost analytics
company id
companyIduser id
userIdstart date
2023-02-01end date
2024-02-12items per page
30page number
1user name
abcdview by
accountselected vendors
["AWS"]monthly
falseOK
View Cost Analytics filter
company id
companyIduser id
userIdCost Analytics inquiry start date
2024-09-01Cost Analytics inquiry end date
2024-09-30View By
accountFilter query category
platformSelected Key
testSearch Text
testselected vendors
["AWS"]OK
View Cost Analytics filter
company id
companyIduser id
userIdCost Analytics inquiry start date
2024-09-01Cost Analytics inquiry end date
2024-09-30View By
accountFilter query category
platformSelected Key
testSearch Text
testselected vendors
["AWS"]OK
View Category of cost analytics
company id
companyIduser id
userIdCost Analytics inquiry start date
2024-09-01Cost Analytics inquiry end date
2024-09-30View By
accountFilter query category
platformSelected Key
testSearch Text
testselected vendors
["AWS"]OK
Retrieve exchange rate information for a specific company and vendor
company id
companyIdTarget cloud vendor
Target currency for exchange rate
Target year month
user id
userIdOK
View cloud costs from the previous period and the estimated costs for the current month.
company id
123e4567-e89b-12d3-a456-426614174000company name
ex-company-rnamedefault vendor
AWSuser id
390df5f7-8852-40af-bc12-57a318cb9dc3user name
ex-user-namevendor
AWSselected Vendor
AWSThe last date to include in the data range (inclusive). If not provided, defaults to the UTC current date.
OK
View the latest cloud costs collection date of each vendor.
company id
123e4567-e89b-12d3-a456-426614174000company name
ex-company-rnamedefault vendor
AWSuser id
390df5f7-8852-40af-bc12-57a318cb9dc3user name
ex-user-namevendor
AWSOK
View cloud accounts and status from specific vendor
company id
companyIduser id
userIdvendor
AWSOK
OK
OK
OK
OK
OK
OK
company id
123e4567-e89b-12d3-a456-426614174000company name
ex-company-rnamedefault vendor
AWSuser id
390df5f7-8852-40af-bc12-57a318cb9dc3user name
ex-user-namevendor
AWSList of vendors
Selected Vendors by Widget
["AWS"]View Type
accountComponent Type
dashboard_compare_cost_trend_widgetWidget Date Type
monthlyWidget Date Type (etc. monthly, weekly, daily)
monthly, weekly, dailyTime Frame
last_3_monthsView By(account,product,region)
accountFilter Type(top_10_by_cost / custom)
top_10_by_costSelected Account Filter
000000000000Selected Accounts Filter
Selected Items Filter
Selected Tag Key Filter
NameSelected Service Group Set Filter
00000000-0000-0000-0000-000000000000Widget Selected Currency
Sensitivity value for a specific widget
MAnalysis date
2024-06-02OK
OK
OK
OK
company id
123e4567-e89b-12d3-a456-426614174000company name
ex-company-rnamedefault vendor
AWSuser id
390df5f7-8852-40af-bc12-57a318cb9dc3user name
ex-user-namevendor
AWSAnomaly Rule Seq
0Anomaly Rule Name
NameAbnormal Cost AI/Manual Type
manualAbnormal Cost Analysis Type
accountSensitivity
MThreshold value
1Threshold detection options(percentage/amount)
percentageAlarm Setting Status(active/inactive)
inactiveAlarm Frequency(daily, weekly)
dailyAlarm Option(only, all)
onlyAlarm recipients
Alarm Enabled
YForecast Date
2024-06-02Analysis date
2024-06-02View By
accountOK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
{
"status": "success",
"error": {
"code": "OK",
"message": "Error Message"
}
}{
"status": "success",
"error": {
"code": "OK",
"message": "Error Message"
}
}{
"status": "success",
"error": {
"code": "OK",
"message": "Error Message"
}
}{
"status": "success",
"error": {
"code": "OK",
"message": "Error Message"
}
}{
"status": "success",
"error": {
"code": "OK",
"message": "Error Message"
}
}{
"status": "success",
"error": {
"code": "OK",
"message": "Error Message"
}
}{
"status": "success",
"error": {
"code": "OK",
"message": "Error Message"
}
}{
"status": "success",
"error": {
"code": "OK",
"message": "Error Message"
}
}{
"status": "success",
"error": {
"code": "OK",
"message": "Error Message"
}
}{
"status": "success",
"error": {
"code": "OK",
"message": "Error Message"
}
}{
"status": "success",
"error": {
"code": "OK",
"message": "Error Message"
}
}{
"status": "success",
"error": {
"code": "OK",
"message": "Error Message"
}
}{
"status": "success",
"error": {
"code": "OK",
"message": "Error Message"
}
}{
"data": {
"summary": {
"invoices": [
{
"cmpnId": "companyId",
"billYear": "2025",
"billMnth": "05",
"vndr": "AWS",
"payrAccId": "382377105752",
"lnkdAccId": "216093335544",
"invcId": "2175433553",
"excgRate": 1381.4,
"useCost": 34103.7224496458,
"discCost": 0,
"suppCost": 0,
"crdtCost": 0,
"totCost": 34103.7224496458,
"excgCost": 47110882
}
],
"services": [
{
"cmpnId": "companyId",
"billYear": "2025",
"billMnth": "05",
"vndr": "AWS",
"payrAccId": "382377105752",
"lnkdAccId": "216093335544",
"invcId": "2175433553",
"addType": "SUPPORT",
"addDesc": "AWS Premium Support",
"excgCost": "1500000"
}
]
}
},
"status": "success"
}{
"status": "success",
"error": {
"code": "OK",
"message": "Error Message"
}
}{
"status": "success",
"error": {
"code": "OK",
"message": "Error Message"
}
}{
"status": "success",
"error": {
"code": "OK",
"message": "Error Message"
}
}{
"status": "success",
"error": {
"code": "OK",
"message": "Error Message"
}
}{
"status": "success",
"error": {
"code": "OK",
"message": "Error Message"
}
}{
"status": "success",
"error": {
"code": "OK",
"message": "Error Message"
}
}{
"status": "success",
"error": {
"code": "OK",
"message": "Error Message"
}
}{
"status": "success",
"error": {
"code": "OK",
"message": "Error Message"
}
}{
"status": "success",
"error": {
"code": "OK",
"message": "Error Message"
}
}{
"status": "success",
"error": {
"code": "OK",
"message": "Error Message"
}
}POST /cost/v3/billing/anomaly/history/list HTTP/1.1
Host: api.opsnow.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 88
{
"companyId": "companyId",
"userId": "userId",
"analyzeBy": "account",
"analyzeType": "manual"
}POST /cost/v3/billing/anomaly/history/detail/{analyzeType}/grid HTTP/1.1
Host: api.opsnow.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 67
{
"companyId": "companyId",
"userId": "userId",
"histSeq": 0,
"ruleSeq": 0
}POST /cost/v3/billing/anomaly/history/detail/sent HTTP/1.1
Host: api.opsnow.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 67
{
"companyId": "companyId",
"userId": "userId",
"histSeq": 0,
"ruleSeq": 0
}POST /cost/v3/billing/anomaly/history/detail/result HTTP/1.1
Host: api.opsnow.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 67
{
"companyId": "companyId",
"userId": "userId",
"histSeq": 0,
"ruleSeq": 0
}POST /cost/v3/billing/anomaly/history/detail/manual/period-chart HTTP/1.1
Host: api.opsnow.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 67
{
"companyId": "companyId",
"userId": "userId",
"histSeq": 0,
"ruleSeq": 0
}POST /cost/v3/billing/anomaly/vendors/{vendor}/detections/ai/trend HTTP/1.1
Host: api.opsnow.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 276
{
"companyId": "123e4567-e89b-12d3-a456-426614174000",
"companyName": "ex-company-rname",
"defaultVendor": "AWS",
"userEmail": "[email protected]",
"userId": "390df5f7-8852-40af-bc12-57a318cb9dc3 ",
"userName": "ex-user-name",
"vendor": "AWS",
"sensitivity": "M",
"forecastDt": "2024-06-02"
}POST /cost/v3/billing/anomaly/vendors/{vendor}/dashboard/trend HTTP/1.1
Host: api.opsnow.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 765
{
"companyId": "123e4567-e89b-12d3-a456-426614174000",
"companyName": "ex-company-rname",
"defaultVendor": "AWS",
"userEmail": "[email protected]",
"userId": "390df5f7-8852-40af-bc12-57a318cb9dc3 ",
"userName": "ex-user-name",
"vendor": "AWS",
"vendors": [
"text"
],
"selectedVendorsByWidget": [
"AWS"
],
"viewType": "account",
"widgetType": "dashboard_compare_cost_trend_widget",
"dateType": "monthly",
"dataType": "monthly, weekly, daily",
"timeFrame": "last_3_months",
"viewBy": "account",
"filter": "top_10_by_cost",
"customFilter": [
{
"vendor": "text",
"item": "text"
}
],
"selectedAccount": "000000000000",
"selectedAccounts": [
"text"
],
"item": [
"text"
],
"selectedTagKey": "Name",
"selectedServiceGroupSet": "00000000-0000-0000-0000-000000000000",
"widgetCurrency": 1,
"sensitivity": "M",
"analyzedDt": "2024-06-02"
}POST /cost/v3/billing/anomaly/vendors/{vendor}/anomaly/aiPossibleCause HTTP/1.1
Host: api.opsnow.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 318
{
"companyId": "123e4567-e89b-12d3-a456-426614174000",
"companyName": "ex-company-rname",
"defaultVendor": "AWS",
"userEmail": "[email protected]",
"userId": "390df5f7-8852-40af-bc12-57a318cb9dc3 ",
"userName": "ex-user-name",
"vendor": "AWS",
"selectedVendorsByWidget": [
"AWS",
"GCP"
],
"sensitivity": "M",
"forecastDate": "2024-09-23"
}POST /cost/v3/billing/anomaly/vendors/aggregate HTTP/1.1
Host: api.opsnow.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 61
{
"companyId": "companyId",
"userId": "userId",
"vendors": [
"AWS"
]
}POST /cost/v3/billing/anomaly/vendors/{vendor}/aggregate HTTP/1.1
Host: api.opsnow.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 61
{
"companyId": "companyId",
"userId": "userId",
"vendors": [
"AWS"
]
}PUT /cost/v3/billing/anomaly/vendors/detections/alerts/rule/setting HTTP/1.1
Host: api.opsnow.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 513
{
"companyId": "123e4567-e89b-12d3-a456-426614174000",
"companyName": "ex-company-rname",
"defaultVendor": "AWS",
"userEmail": "[email protected]",
"userId": "390df5f7-8852-40af-bc12-57a318cb9dc3 ",
"userName": "ex-user-name",
"vendor": "AWS",
"seq": 0,
"name": "Name",
"analyzeType": "manual",
"analyzeBy": "account",
"sensitivity": "M",
"thVal": 1,
"thOpt": "percentage",
"alertStatus": "inactive",
"alertFreq": "daily",
"alertOpt": "only",
"receivers": "text",
"useYn": "Y",
"forecastDt": "2024-06-02",
"analyzedDt": "2024-06-02",
"viewBy": "account"
}POST /cost/v3/billing/anomaly/vendors/detections/alerts/rule HTTP/1.1
Host: api.opsnow.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 253
{
"companyId": "123e4567-e89b-12d3-a456-426614174000",
"companyName": "ex-company-rname",
"defaultVendor": "AWS",
"userEmail": "[email protected]",
"userId": "390df5f7-8852-40af-bc12-57a318cb9dc3 ",
"userName": "ex-user-name",
"vendor": "AWS",
"vendorList": [
"AWS"
]
}POST /cost/v3/billing/anomaly/vendors/detections/alerts/rule/{seq} HTTP/1.1
Host: api.opsnow.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 240
{
"companyId": "123e4567-e89b-12d3-a456-426614174000",
"companyName": "ex-company-rname",
"defaultVendor": "AWS",
"userEmail": "[email protected]",
"userId": "390df5f7-8852-40af-bc12-57a318cb9dc3 ",
"userName": "ex-user-name",
"vendor": "AWS",
"seq": 0
}POST /cost/v3/billing/summary HTTP/1.1
Host: api.opsnow.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 106
{
"companyId": "companyId",
"searchYear": "2025",
"searchMnth": "05",
"vndr": "AWS",
"lnkdAccId": "linkedAccountId"
}POST /cost/v3/billing/analytics/daily-portion HTTP/1.1
Host: api.opsnow.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 2189
{
"companyId": "companyId",
"userId": "userId",
"selectedVendor": "AWS",
"costDate": "2019-08-12",
"startDate": "2023-02-01",
"endDate": "2024-02-12",
"viewBy": "account",
"viewById": "text",
"viewByItem": "216093335544",
"itemViewId": "216093335544",
"filters": {
"aws": {
"linkedAccountId": [
"text"
],
"productCode": [
"text"
],
"region": [
"text"
],
"productFamily": [
"text"
],
"tags": [
{
"tagKey": "text",
"tagValue": "text"
}
],
"billingTags": [
{
"tagKey": "text",
"tagValue": "text"
}
],
"serviceGroup": [
{
"serviceGroupKey": "text",
"serviceGroupValue": "text",
"serviceGroupSetNm": "text",
"serviceGroupSetId": "text",
"serviceGroupNm": "text",
"serviceGroupId": "text",
"dfltYn": "text"
}
],
"instanceType": [
"text"
],
"instanceTypeFamily": [
"text"
],
"chargeType": [
"text"
],
"os": [
"text"
],
"database": [
"text"
],
"transferType": [
"text"
],
"purchaseOption": [
"text"
],
"apiOperation": [
"text"
],
"resourceId": [
"text"
],
"usageType": [
"text"
],
"invoiceId": [
"text"
],
"itemDescription": [
"text"
],
"cacheEngine": [
"text"
],
"availabilityZone": [
"text"
],
"platform": [
"text"
]
},
"azure": {
"linkedAccountId": [
"text"
],
"productCode": [
"text"
],
"region": [
"text"
],
"productFamily": [
"text"
],
"tags": [
{
"tagKey": "text",
"tagValue": "text"
}
],
"billingTags": [
{
"tagKey": "text",
"tagValue": "text"
}
],
"serviceGroup": [
{
"serviceGroupKey": "text",
"serviceGroupValue": "text",
"serviceGroupSetNm": "text",
"serviceGroupSetId": "text",
"serviceGroupNm": "text",
"serviceGroupId": "text",
"dfltYn": "text"
}
],
"subscriptionNm": [
"text"
],
"subscriptionId": [
"text"
],
"infraType": [
"text"
],
"mtCategory": [
"text"
],
"mtName": [
"text"
],
"usage": [
"text"
],
"unitPrice": [
"text"
],
"totalCost": [
"text"
]
},
"gcp": {
"linkedAccountId": [
"text"
],
"productCode": [
"text"
],
"region": [
"text"
],
"productFamily": [
"text"
],
"tags": [
{
"tagKey": "text",
"tagValue": "text"
}
],
"billingTags": [
{
"tagKey": "text",
"tagValue": "text"
}
],
"serviceGroup": [
{
"serviceGroupKey": "text",
"serviceGroupValue": "text",
"serviceGroupSetNm": "text",
"serviceGroupSetId": "text",
"serviceGroupNm": "text",
"serviceGroupId": "text",
"dfltYn": "text"
}
]
}
},
"detailFilters": {
"linkedAccountId": [
"text"
],
"productCode": [
"text"
],
"region": [
"text"
],
"usageType": [
"text"
]
},
"visibleFields": [
"vendor",
"linkedAccountId",
"productName",
"region",
"usage",
"cost",
"usageType"
],
"tags": [
{
"tagKey": "text",
"tagValue": "text"
}
],
"isMonthly": false
}POST /cost/v3/billing/analytics/daily-cost HTTP/1.1
Host: api.opsnow.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 2189
{
"companyId": "companyId",
"userId": "userId",
"selectedVendor": "AWS",
"costDate": "2019-08-12",
"startDate": "2023-02-01",
"endDate": "2024-02-12",
"viewBy": "account",
"viewById": "text",
"viewByItem": "216093335544",
"itemViewId": "216093335544",
"filters": {
"aws": {
"linkedAccountId": [
"text"
],
"productCode": [
"text"
],
"region": [
"text"
],
"productFamily": [
"text"
],
"tags": [
{
"tagKey": "text",
"tagValue": "text"
}
],
"billingTags": [
{
"tagKey": "text",
"tagValue": "text"
}
],
"serviceGroup": [
{
"serviceGroupKey": "text",
"serviceGroupValue": "text",
"serviceGroupSetNm": "text",
"serviceGroupSetId": "text",
"serviceGroupNm": "text",
"serviceGroupId": "text",
"dfltYn": "text"
}
],
"instanceType": [
"text"
],
"instanceTypeFamily": [
"text"
],
"chargeType": [
"text"
],
"os": [
"text"
],
"database": [
"text"
],
"transferType": [
"text"
],
"purchaseOption": [
"text"
],
"apiOperation": [
"text"
],
"resourceId": [
"text"
],
"usageType": [
"text"
],
"invoiceId": [
"text"
],
"itemDescription": [
"text"
],
"cacheEngine": [
"text"
],
"availabilityZone": [
"text"
],
"platform": [
"text"
]
},
"azure": {
"linkedAccountId": [
"text"
],
"productCode": [
"text"
],
"region": [
"text"
],
"productFamily": [
"text"
],
"tags": [
{
"tagKey": "text",
"tagValue": "text"
}
],
"billingTags": [
{
"tagKey": "text",
"tagValue": "text"
}
],
"serviceGroup": [
{
"serviceGroupKey": "text",
"serviceGroupValue": "text",
"serviceGroupSetNm": "text",
"serviceGroupSetId": "text",
"serviceGroupNm": "text",
"serviceGroupId": "text",
"dfltYn": "text"
}
],
"subscriptionNm": [
"text"
],
"subscriptionId": [
"text"
],
"infraType": [
"text"
],
"mtCategory": [
"text"
],
"mtName": [
"text"
],
"usage": [
"text"
],
"unitPrice": [
"text"
],
"totalCost": [
"text"
]
},
"gcp": {
"linkedAccountId": [
"text"
],
"productCode": [
"text"
],
"region": [
"text"
],
"productFamily": [
"text"
],
"tags": [
{
"tagKey": "text",
"tagValue": "text"
}
],
"billingTags": [
{
"tagKey": "text",
"tagValue": "text"
}
],
"serviceGroup": [
{
"serviceGroupKey": "text",
"serviceGroupValue": "text",
"serviceGroupSetNm": "text",
"serviceGroupSetId": "text",
"serviceGroupNm": "text",
"serviceGroupId": "text",
"dfltYn": "text"
}
]
}
},
"detailFilters": {
"linkedAccountId": [
"text"
],
"productCode": [
"text"
],
"region": [
"text"
],
"usageType": [
"text"
]
},
"visibleFields": [
"vendor",
"linkedAccountId",
"productName",
"region",
"usage",
"cost",
"usageType"
],
"tags": [
{
"tagKey": "text",
"tagValue": "text"
}
],
"isMonthly": false
}POST /cost/v3/billing/analytics/cost HTTP/1.1
Host: api.opsnow.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 1892
{
"companyId": "companyId",
"userId": "userId",
"startDate": "2023-02-01",
"endDate": "2024-02-12",
"itemsPerPage": 30,
"page": 1,
"userName": "abcd",
"viewBy": "account",
"selectedVendors": [
"AWS"
],
"filters": {
"aws": {
"linkedAccountId": [
"text"
],
"productCode": [
"text"
],
"region": [
"text"
],
"productFamily": [
"text"
],
"tags": [
{
"tagKey": "text",
"tagValue": "text"
}
],
"billingTags": [
{
"tagKey": "text",
"tagValue": "text"
}
],
"serviceGroup": [
{
"serviceGroupKey": "text",
"serviceGroupValue": "text",
"serviceGroupSetNm": "text",
"serviceGroupSetId": "text",
"serviceGroupNm": "text",
"serviceGroupId": "text",
"dfltYn": "text"
}
],
"instanceType": [
"text"
],
"instanceTypeFamily": [
"text"
],
"chargeType": [
"text"
],
"os": [
"text"
],
"database": [
"text"
],
"transferType": [
"text"
],
"purchaseOption": [
"text"
],
"apiOperation": [
"text"
],
"resourceId": [
"text"
],
"usageType": [
"text"
],
"invoiceId": [
"text"
],
"itemDescription": [
"text"
],
"cacheEngine": [
"text"
],
"availabilityZone": [
"text"
],
"platform": [
"text"
]
},
"azure": {
"linkedAccountId": [
"text"
],
"productCode": [
"text"
],
"region": [
"text"
],
"productFamily": [
"text"
],
"tags": [
{
"tagKey": "text",
"tagValue": "text"
}
],
"billingTags": [
{
"tagKey": "text",
"tagValue": "text"
}
],
"serviceGroup": [
{
"serviceGroupKey": "text",
"serviceGroupValue": "text",
"serviceGroupSetNm": "text",
"serviceGroupSetId": "text",
"serviceGroupNm": "text",
"serviceGroupId": "text",
"dfltYn": "text"
}
],
"subscriptionNm": [
"text"
],
"subscriptionId": [
"text"
],
"infraType": [
"text"
],
"mtCategory": [
"text"
],
"mtName": [
"text"
],
"usage": [
"text"
],
"unitPrice": [
"text"
],
"totalCost": [
"text"
]
},
"gcp": {
"linkedAccountId": [
"text"
],
"productCode": [
"text"
],
"region": [
"text"
],
"productFamily": [
"text"
],
"tags": [
{
"tagKey": "text",
"tagValue": "text"
}
],
"billingTags": [
{
"tagKey": "text",
"tagValue": "text"
}
],
"serviceGroup": [
{
"serviceGroupKey": "text",
"serviceGroupValue": "text",
"serviceGroupSetNm": "text",
"serviceGroupSetId": "text",
"serviceGroupNm": "text",
"serviceGroupId": "text",
"dfltYn": "text"
}
]
}
},
"isMonthly": false
}POST /cost/v3/billing/analytics/related HTTP/1.1
Host: api.opsnow.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 1892
{
"companyId": "companyId",
"userId": "userId",
"conditions": {
"aws": {
"linkedAccountId": [
"text"
],
"productCode": [
"text"
],
"region": [
"text"
],
"productFamily": [
"text"
],
"tags": [
{
"tagKey": "text",
"tagValue": "text"
}
],
"billingTags": [
{
"tagKey": "text",
"tagValue": "text"
}
],
"serviceGroup": [
{
"serviceGroupKey": "text",
"serviceGroupValue": "text",
"serviceGroupSetNm": "text",
"serviceGroupSetId": "text",
"serviceGroupNm": "text",
"serviceGroupId": "text",
"dfltYn": "text"
}
],
"instanceType": [
"text"
],
"instanceTypeFamily": [
"text"
],
"chargeType": [
"text"
],
"os": [
"text"
],
"database": [
"text"
],
"transferType": [
"text"
],
"purchaseOption": [
"text"
],
"apiOperation": [
"text"
],
"resourceId": [
"text"
],
"usageType": [
"text"
],
"invoiceId": [
"text"
],
"itemDescription": [
"text"
],
"cacheEngine": [
"text"
],
"availabilityZone": [
"text"
],
"platform": [
"text"
]
},
"azure": {
"linkedAccountId": [
"text"
],
"productCode": [
"text"
],
"region": [
"text"
],
"productFamily": [
"text"
],
"tags": [
{
"tagKey": "text",
"tagValue": "text"
}
],
"billingTags": [
{
"tagKey": "text",
"tagValue": "text"
}
],
"serviceGroup": [
{
"serviceGroupKey": "text",
"serviceGroupValue": "text",
"serviceGroupSetNm": "text",
"serviceGroupSetId": "text",
"serviceGroupNm": "text",
"serviceGroupId": "text",
"dfltYn": "text"
}
],
"subscriptionNm": [
"text"
],
"subscriptionId": [
"text"
],
"infraType": [
"text"
],
"mtCategory": [
"text"
],
"mtName": [
"text"
],
"usage": [
"text"
],
"unitPrice": [
"text"
],
"totalCost": [
"text"
]
},
"gcp": {
"linkedAccountId": [
"text"
],
"productCode": [
"text"
],
"region": [
"text"
],
"productFamily": [
"text"
],
"tags": [
{
"tagKey": "text",
"tagValue": "text"
}
],
"billingTags": [
{
"tagKey": "text",
"tagValue": "text"
}
],
"serviceGroup": [
{
"serviceGroupKey": "text",
"serviceGroupValue": "text",
"serviceGroupSetNm": "text",
"serviceGroupSetId": "text",
"serviceGroupNm": "text",
"serviceGroupId": "text",
"dfltYn": "text"
}
]
}
},
"startDate": "2024-09-01",
"endDate": "2024-09-30",
"viewBy": "account",
"field": "platform",
"selectedKey": "test",
"searchText": "test",
"selectedVendors": [
"AWS"
]
}POST /cost/v3/billing/analytics/filter HTTP/1.1
Host: api.opsnow.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 1892
{
"companyId": "companyId",
"userId": "userId",
"conditions": {
"aws": {
"linkedAccountId": [
"text"
],
"productCode": [
"text"
],
"region": [
"text"
],
"productFamily": [
"text"
],
"tags": [
{
"tagKey": "text",
"tagValue": "text"
}
],
"billingTags": [
{
"tagKey": "text",
"tagValue": "text"
}
],
"serviceGroup": [
{
"serviceGroupKey": "text",
"serviceGroupValue": "text",
"serviceGroupSetNm": "text",
"serviceGroupSetId": "text",
"serviceGroupNm": "text",
"serviceGroupId": "text",
"dfltYn": "text"
}
],
"instanceType": [
"text"
],
"instanceTypeFamily": [
"text"
],
"chargeType": [
"text"
],
"os": [
"text"
],
"database": [
"text"
],
"transferType": [
"text"
],
"purchaseOption": [
"text"
],
"apiOperation": [
"text"
],
"resourceId": [
"text"
],
"usageType": [
"text"
],
"invoiceId": [
"text"
],
"itemDescription": [
"text"
],
"cacheEngine": [
"text"
],
"availabilityZone": [
"text"
],
"platform": [
"text"
]
},
"azure": {
"linkedAccountId": [
"text"
],
"productCode": [
"text"
],
"region": [
"text"
],
"productFamily": [
"text"
],
"tags": [
{
"tagKey": "text",
"tagValue": "text"
}
],
"billingTags": [
{
"tagKey": "text",
"tagValue": "text"
}
],
"serviceGroup": [
{
"serviceGroupKey": "text",
"serviceGroupValue": "text",
"serviceGroupSetNm": "text",
"serviceGroupSetId": "text",
"serviceGroupNm": "text",
"serviceGroupId": "text",
"dfltYn": "text"
}
],
"subscriptionNm": [
"text"
],
"subscriptionId": [
"text"
],
"infraType": [
"text"
],
"mtCategory": [
"text"
],
"mtName": [
"text"
],
"usage": [
"text"
],
"unitPrice": [
"text"
],
"totalCost": [
"text"
]
},
"gcp": {
"linkedAccountId": [
"text"
],
"productCode": [
"text"
],
"region": [
"text"
],
"productFamily": [
"text"
],
"tags": [
{
"tagKey": "text",
"tagValue": "text"
}
],
"billingTags": [
{
"tagKey": "text",
"tagValue": "text"
}
],
"serviceGroup": [
{
"serviceGroupKey": "text",
"serviceGroupValue": "text",
"serviceGroupSetNm": "text",
"serviceGroupSetId": "text",
"serviceGroupNm": "text",
"serviceGroupId": "text",
"dfltYn": "text"
}
]
}
},
"startDate": "2024-09-01",
"endDate": "2024-09-30",
"viewBy": "account",
"field": "platform",
"selectedKey": "test",
"searchText": "test",
"selectedVendors": [
"AWS"
]
}POST /cost/v3/billing/analytics/filter/category HTTP/1.1
Host: api.opsnow.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 1892
{
"companyId": "companyId",
"userId": "userId",
"conditions": {
"aws": {
"linkedAccountId": [
"text"
],
"productCode": [
"text"
],
"region": [
"text"
],
"productFamily": [
"text"
],
"tags": [
{
"tagKey": "text",
"tagValue": "text"
}
],
"billingTags": [
{
"tagKey": "text",
"tagValue": "text"
}
],
"serviceGroup": [
{
"serviceGroupKey": "text",
"serviceGroupValue": "text",
"serviceGroupSetNm": "text",
"serviceGroupSetId": "text",
"serviceGroupNm": "text",
"serviceGroupId": "text",
"dfltYn": "text"
}
],
"instanceType": [
"text"
],
"instanceTypeFamily": [
"text"
],
"chargeType": [
"text"
],
"os": [
"text"
],
"database": [
"text"
],
"transferType": [
"text"
],
"purchaseOption": [
"text"
],
"apiOperation": [
"text"
],
"resourceId": [
"text"
],
"usageType": [
"text"
],
"invoiceId": [
"text"
],
"itemDescription": [
"text"
],
"cacheEngine": [
"text"
],
"availabilityZone": [
"text"
],
"platform": [
"text"
]
},
"azure": {
"linkedAccountId": [
"text"
],
"productCode": [
"text"
],
"region": [
"text"
],
"productFamily": [
"text"
],
"tags": [
{
"tagKey": "text",
"tagValue": "text"
}
],
"billingTags": [
{
"tagKey": "text",
"tagValue": "text"
}
],
"serviceGroup": [
{
"serviceGroupKey": "text",
"serviceGroupValue": "text",
"serviceGroupSetNm": "text",
"serviceGroupSetId": "text",
"serviceGroupNm": "text",
"serviceGroupId": "text",
"dfltYn": "text"
}
],
"subscriptionNm": [
"text"
],
"subscriptionId": [
"text"
],
"infraType": [
"text"
],
"mtCategory": [
"text"
],
"mtName": [
"text"
],
"usage": [
"text"
],
"unitPrice": [
"text"
],
"totalCost": [
"text"
]
},
"gcp": {
"linkedAccountId": [
"text"
],
"productCode": [
"text"
],
"region": [
"text"
],
"productFamily": [
"text"
],
"tags": [
{
"tagKey": "text",
"tagValue": "text"
}
],
"billingTags": [
{
"tagKey": "text",
"tagValue": "text"
}
],
"serviceGroup": [
{
"serviceGroupKey": "text",
"serviceGroupValue": "text",
"serviceGroupSetNm": "text",
"serviceGroupSetId": "text",
"serviceGroupNm": "text",
"serviceGroupId": "text",
"dfltYn": "text"
}
]
}
},
"startDate": "2024-09-01",
"endDate": "2024-09-30",
"viewBy": "account",
"field": "platform",
"selectedKey": "test",
"searchText": "test",
"selectedVendors": [
"AWS"
]
}GET /cost/v3/billing/currency/company/{companyId}/vendor/{vendor}/exchange HTTP/1.1
Host: api.opsnow.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
POST /cost/v3/billing/overview/spend HTTP/1.1
Host: api.opsnow.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 272
{
"companyId": "123e4567-e89b-12d3-a456-426614174000",
"companyName": "ex-company-rname",
"defaultVendor": "AWS",
"userEmail": "[email protected]",
"userId": "390df5f7-8852-40af-bc12-57a318cb9dc3 ",
"userName": "ex-user-name",
"vendor": "AWS",
"selectedVendor": "AWS",
"endDate": "text"
}POST /cost/v3/billing/overview/companyMaxDate HTTP/1.1
Host: api.opsnow.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 232
{
"companyId": "123e4567-e89b-12d3-a456-426614174000",
"companyName": "ex-company-rname",
"defaultVendor": "AWS",
"userEmail": "[email protected]",
"userId": "390df5f7-8852-40af-bc12-57a318cb9dc3 ",
"userName": "ex-user-name",
"vendor": "AWS"
}POST /cost/v3/billing/overview/accounts HTTP/1.1
Host: api.opsnow.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 58
{
"companyId": "companyId",
"userId": "userId",
"vendor": "AWS"
}