Resources
Common APIs
menu
usage
vendor
aws
view type
history
Company id
1
Resource Type
ec2
Vendor
aws
View Type(current, history)
history
menu
usage
POST /asset/us-v1/{menu}/{vendor}/grid-headers/{viewType} HTTP/1.1
Host: api.opsnow.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 82
{
"cmpnId": "1",
"rsrcType": "ec2",
"vendor": "aws",
"viewType": "history",
"menu": "usage"
}
OK
{
"status": "text",
"error": {
"code": "text",
"message": "text"
}
}
Elastic Search Filter APIs
View Filter Data Quick Search For Usage
Menu Id
usage
Company id
1
Action Type(current, history)
current
PUT /asset/us-v1/elastic/filter/{menuId} HTTP/1.1
Host: api.opsnow.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 115
{
"cmpnId": "1",
"actionType": "current",
"keyList": [
{
"vndr": "aws",
"key": "vendors",
"value": "aws",
"selectYn": "enabled"
}
]
}
OK
{
"result": {
"vendors": [
{
"vndr": "aws",
"key": "vendors",
"value": "aws",
"selectYn": "enabled"
}
],
"accounts": [
{
"vndr": "aws",
"key": "vendors",
"value": "aws",
"selectYn": "enabled"
}
],
"regions": [
{
"vndr": "aws",
"key": "vendors",
"value": "aws",
"selectYn": "enabled"
}
],
"products": [
{
"vndr": "aws",
"key": "vendors",
"value": "aws",
"selectYn": "enabled"
}
],
"svcGrps": [
{
"vndr": "aws",
"key": "vendors",
"value": "aws",
"selectYn": "enabled"
}
],
"tags": [
{
"vndr": "aws",
"key": "Name",
"value": "test",
"isRequired": true
}
],
"tagGrps": [
{
"vndr": "aws",
"key": "vendors",
"value": "aws",
"selectYn": "enabled"
}
]
},
"status": "text",
"error": {
"code": "text",
"message": "text"
}
}
Optimization Detail V3 APIs
Grid detail data inquiry according to optimization category and resource type
Company id
1
000000000000
ap-northeast-2
vol-00000
ebs
aws
Possible values: idle
POST /asset/us-v1/optimization/detail/list/info HTTP/1.1
Host: api.opsnow.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 183
{
"cmpnId": "1",
"optimizeCategory": "right-sizing",
"accountId": "000000000000",
"regionId": "ap-northeast-2",
"instanceId": "vol-00000",
"resourceType": "ebs",
"vendor": "aws",
"recommend": "idle"
}
OK
{
"status": "text",
"error": {
"code": "text",
"message": "text"
}
}
Grid data inquiry according to optimization category and resource type
Company id
1
Optimization category
Resource type
ec2
Cloud vendor
List of accounts to filter optimization results for
List of regions to filter optimization results for
List of serviceGroups to filter optimization results for
POST /asset/us-v1/optimization/detail/list HTTP/1.1
Host: api.opsnow.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 201
{
"cmpnId": "1",
"optimizeCategory": "right-sizing",
"resourceType": "ec2",
"vendor": "aws",
"accountList": [
"text"
],
"regionList": [
"text"
],
"serviceGroupList": [
"text"
],
"tagList": [
{
"key": "Name",
"value": [
"text"
]
}
]
}
OK
{
"status": "text",
"error": {
"code": "text",
"message": "text"
}
}
View optimization charts by optimization category and resource type
Company id
1
Optimization category
Resource type
ec2
Cloud vendor
List of accounts to filter optimization results for
List of regions to filter optimization results for
List of serviceGroups to filter optimization results for
POST /asset/us-v1/optimization/detail/chart HTTP/1.1
Host: api.opsnow.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 201
{
"cmpnId": "1",
"optimizeCategory": "right-sizing",
"resourceType": "ec2",
"vendor": "aws",
"accountList": [
"text"
],
"regionList": [
"text"
],
"serviceGroupList": [
"text"
],
"tagList": [
{
"key": "Name",
"value": [
"text"
]
}
]
}
OK
{
"status": "text",
"error": {
"code": "text",
"message": "text"
}
}
Optimization Setting V3 APIs
Reset the optimization setting conditions for each resource by optimization category.
Company id
1
Vendor
Resource Type
ec2
Optimization category
right-sizing
Possible values: PUT /asset/us-v1/optimization/setting/reset HTTP/1.1
Host: api.opsnow.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 84
{
"cmpnId": "1",
"vendor": "aws",
"resourceType": "ec2",
"optimizeCategory": "right-sizing"
}
OK
{
"status": "text",
"error": {
"code": "text",
"message": "text"
}
}
View list of support resources by optimization type
Optimization category
GET /asset/us-v1/optimization/setting/optimize-category/{optimizeCategory} HTTP/1.1
Host: api.opsnow.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
OK
{
"result": [
{
"vendor": "text",
"resourceType": "text",
"resourceName": "text"
}
],
"status": "text",
"error": {
"code": "text",
"message": "text"
}
}
View the list of conditions that can be set according to resources by optimization category. If there are no conditions set, the default conditions are searched. Depending on the optimization type, resource type may be required.
Company Id
1
Vendor
Optimization category
Rule id
Resource type
ec2
GET /asset/us-v1/optimization/setting/companies/{cmpnId}/vendors/{vendor}/optimize-category/{optimizeCategory}/rule-sets/{ruleSetId} HTTP/1.1
Host: api.opsnow.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
OK
{
"status": "text",
"error": {
"code": "text",
"message": "text"
}
}
View the list of tags excluded from resource optimization.
Company unique ID
Rule id
Default
GET /asset/us-v1/optimization/setting/companies/{cmpnId}/rule-sets/{ruleSetId}/deny HTTP/1.1
Host: api.opsnow.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
OK
{
"status": "text",
"error": {
"code": "text",
"message": "text"
}
}
Search for optimization rule set ID using site and company information.
Company Id
1
GET /asset/us-v1/optimization/setting/companies/{cmpnId}/rule-set-id HTTP/1.1
Host: api.opsnow.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
OK
{
"data": {
"ruleSetId": "text"
},
"status": "text",
"error": {
"code": "text",
"message": "text"
}
}
Resource Optimization APIs
Search the top filter area data for each vendor.
Company id
1
Action Type(current, history)
current
PUT /asset/us-v1/optimization/summary/filter HTTP/1.1
Host: api.opsnow.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 115
{
"cmpnId": "1",
"actionType": "current",
"keyList": [
{
"vndr": "aws",
"key": "vendors",
"value": "aws",
"selectYn": "enabled"
}
]
}
OK
{
"data": {
"vendors": [
{
"vndr": "aws",
"key": "vendors",
"value": "aws",
"selectYn": "enabled"
}
],
"accounts": [
{
"vndr": "aws",
"key": "vendors",
"value": "aws",
"selectYn": "enabled"
}
],
"regions": [
{
"vndr": "aws",
"key": "vendors",
"value": "aws",
"selectYn": "enabled"
}
],
"products": [
{
"vndr": "aws",
"key": "vendors",
"value": "aws",
"selectYn": "enabled"
}
],
"svcGrps": [
{
"vndr": "aws",
"key": "vendors",
"value": "aws",
"selectYn": "enabled"
}
],
"tags": [
{
"vndr": "aws",
"key": "Name",
"value": "test",
"isRequired": true
}
],
"tagGrps": [
{
"vndr": "aws",
"key": "vendors",
"value": "aws",
"selectYn": "enabled"
}
]
},
"status": "text",
"error": {
"code": "text",
"message": "text"
}
}
Company id
1
POST /asset/us-v1/optimization/summary/report-download HTTP/1.1
Host: api.opsnow.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 835
{
"cmpnId": "1",
"vndrList": [
"text"
],
"analyYn": "text",
"idleSetId": "text",
"idleSetNm": "text",
"pageNum": 1,
"limitCnt": 1,
"offset": 1,
"searchText": "text",
"type": "text",
"sortId": "text",
"sortOrder": "text",
"currentRuleSet": "text",
"gridType": "text",
"listType": "text",
"rsrcType": "text",
"excelYn": "text",
"today": "text",
"bzList": [
"text"
],
"awsAccList": [
"text"
],
"awsRgnList": [
"text"
],
"azuAccList": [
"text"
],
"azuRgnList": [
"text"
],
"aliAccList": [
"text"
],
"aliRgnList": [
"text"
],
"gcpAccList": [
"text"
],
"gcpRgnList": [
"text"
],
"ncpAccList": [
"text"
],
"ncpRgnList": [
"text"
],
"chartType": "text",
"rcmd": "text",
"currentCost": 1,
"addRcmdGrp": "text",
"tz": "text",
"rcmdList": [
"text"
],
"cmpnNm": "text",
"rprtType": "text",
"rprtTitleName": "text",
"rprtFlag": "text",
"rprtSbscId": "text",
"rsrcList": [
{
"cnt": 1,
"rsrcType": "text",
"vndr": "text"
}
],
"bzGrpSetId": "text",
"svcGrpList": [
"text"
]
}
OK
No content
Queries the last time resource optimization was performed.
Company id
1
Optimization category
Resource type
ec2
Cloud vendor
List of accounts to filter optimization results for
List of regions to filter optimization results for
List of serviceGroups to filter optimization results for
POST /asset/us-v1/optimization/summary/last-execute HTTP/1.1
Host: api.opsnow.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 201
{
"cmpnId": "1",
"optimizeCategory": "right-sizing",
"resourceType": "ec2",
"vendor": "aws",
"accountList": [
"text"
],
"regionList": [
"text"
],
"serviceGroupList": [
"text"
],
"tagList": [
{
"key": "Name",
"value": [
"text"
]
}
]
}
OK
{
"data": {
"lastExecuteDate": "2025-06-21T06:30:42.627Z"
},
"status": "text",
"error": {
"code": "text",
"message": "text"
}
}
Search the top card area data for each optimization category.
Company id
1
Optimization category
Resource type
ec2
Cloud vendor
List of accounts to filter optimization results for
List of regions to filter optimization results for
List of serviceGroups to filter optimization results for
POST /asset/us-v1/optimization/summary/card HTTP/1.1
Host: api.opsnow.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 201
{
"cmpnId": "1",
"optimizeCategory": "right-sizing",
"resourceType": "ec2",
"vendor": "aws",
"accountList": [
"text"
],
"regionList": [
"text"
],
"serviceGroupList": [
"text"
],
"tagList": [
{
"key": "Name",
"value": [
"text"
]
}
]
}
OK
{
"data": [
{
"resourceType": "text",
"expectedSavingCost": 1,
"expectedSavingCount": 1
}
],
"status": "text",
"error": {
"code": "text",
"message": "text"
}
}
Search the optimization summary information for each vendor.
Company id
1
Optimization category
Resource type
ec2
Cloud vendor
List of accounts to filter optimization results for
List of regions to filter optimization results for
List of serviceGroups to filter optimization results for
POST /asset/us-v1/optimization/summary HTTP/1.1
Host: api.opsnow.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 201
{
"cmpnId": "1",
"optimizeCategory": "right-sizing",
"resourceType": "ec2",
"vendor": "aws",
"accountList": [
"text"
],
"regionList": [
"text"
],
"serviceGroupList": [
"text"
],
"tagList": [
{
"key": "Name",
"value": [
"text"
]
}
]
}
OK
{
"data": {
"totalCost": 1,
"totalCnt": 1,
"rightsizing": [
{
"resourceType": "text",
"expectedSavingCost": 1,
"expectedSavingCount": 1
}
],
"unused": [
{
"resourceType": "text",
"expectedSavingCost": 1,
"expectedSavingCount": 1
}
]
},
"status": "text",
"error": {
"code": "text",
"message": "text"
}
}
Perform resource-optimized batch tasks manually.
Company id
1
POST /asset/us-v1/optimization/general/analysis HTTP/1.1
Host: api.opsnow.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 14
{
"cmpnId": "1"
}
OK
{
"status": "text",
"error": {
"code": "text",
"message": "text"
}
}
Resource Usage APIs
View History Usage Grid Data
Vendor
aws
Possible values: Company id
1
Page Limit Count
1
Page Number Count
1
Page Offset
1
Page Total Count
1
From Date
2024-09-11
To Date
2024-09-25
Sort Column ID
histDt
Sort Direction
desc
Whether to download Excel
N
Resource Type
ec2
Vendor
aws
Header or not
Y
View Type(hour, day, week, month)
day
Language Code
en
Whether to check history or not
true
Search Text
test
Field List
Regions
Service Groups
Accounts
POST /asset/us-v1/usage/{prvrCd}/grid/history HTTP/1.1
Host: api.opsnow.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 402
{
"cmpnId": "1",
"limitCnt": 1,
"pageNum": 1,
"offset": 1,
"totalCnt": 1,
"from": "2024-09-11",
"to": "2024-09-25",
"sortColId": "histDt",
"sortDirection": "desc",
"excelYn": "N",
"rsrcType": "ec2",
"prvrCd": "aws",
"isGetHeader": "Y",
"viewType": "day",
"langCd": "en",
"hasHistoryView": true,
"searchText": "test",
"fieldList": [
"text"
],
"regions": [
"text"
],
"svcGrps": [
"text"
],
"accounts": [
"text"
],
"tags": [
{
"key": "Name",
"value": [
"text"
]
}
]
}
OK
{
"status": "text",
"error": {
"code": "text",
"message": "text"
}
}
View Current Usage Grid Data
Vendor
aws
Possible values: Company id
1
Region Id
ap-northeast-2
Page Limit Count
1
Page Number Count
1
Page Offset
1
Page Total Count
1
Sort Column ID
seq
Sort Direction
desc
Whether to download Excel
N
Resource Type
ec2
Vendor
aws
View Type(hour, day, week, month)
day
From Date
2024-09-11
To Date
2024-09-25
Search Text
test
Header or not
Y
Field List
Regions
Service Groups
Accounts
Service Group View Id
Default
Language Code
en
Resource Seq
0
Header Type
single
Resource or Not
N
Resource Name
test
Whether to check history or not
true
Whether to exclude deleted resources
Y
POST /asset/us-v1/usage/{prvrCd}/grid/current HTTP/1.1
Host: api.opsnow.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 529
{
"cmpnId": "1",
"rgnId": "ap-northeast-2",
"limitCnt": 1,
"pageNum": 1,
"offset": 1,
"totalCnt": 1,
"sortColId": "seq",
"sortDirection": "desc",
"excelYn": "N",
"rsrcType": "ec2",
"prvrCd": "aws",
"viewType": "day",
"from": "2024-09-11",
"to": "2024-09-25",
"searchText": "test",
"isGetHeader": "Y",
"fieldList": [
"text"
],
"regions": [
"text"
],
"svcGrps": [
"text"
],
"accounts": [
"text"
],
"tags": [
{
"key": "Name",
"value": [
"text"
]
}
],
"svcGrpView": "Default",
"langCd": "en",
"rsrcSeq": "0",
"headerType": "single",
"isResource": "N",
"rsrcNm": "test",
"hasHistoryView": true,
"delChk": "Y"
}
OK
{
"status": "text",
"error": {
"code": "text",
"message": "text"
}
}
View Current Usage Chart Data
Vendor
aws
Possible values: Company id
1
Resource Type
ec2
Vendor
aws
Resource Name
test
Regions
Service Groups
Accounts
Whether to exclude deleted resources
Y
POST /asset/us-v1/usage/{prvrCd}/chart/pie/current HTTP/1.1
Host: api.opsnow.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 191
{
"cmpnId": "1",
"rsrcType": "ec2",
"prvrCd": "aws",
"rsrcNm": "test",
"regions": [
"text"
],
"svcGrps": [
"text"
],
"accounts": [
"text"
],
"tags": [
{
"key": "Name",
"value": [
"text"
]
}
],
"reqType": "text",
"delChk": "Y"
}
OK
{
"status": "text",
"error": {
"code": "text",
"message": "text"
}
}
View History Usage Chart Data
Vendor
aws
Possible values: Company id
1
From Date
2024-09-11
To Date
2024-09-25
Resource Type
ec2
Vendor
aws
Regions
Service Groups
Accounts
View Type(hour, day, week, month)
day
POST /asset/us-v1/usage/{prvrCd}/chart/history HTTP/1.1
Host: api.opsnow.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 200
{
"cmpnId": "1",
"from": "2024-09-11",
"to": "2024-09-25",
"rsrcType": "ec2",
"prvrCd": "aws",
"regions": [
"text"
],
"svcGrps": [
"text"
],
"accounts": [
"text"
],
"tags": [
{
"key": "Name",
"value": [
"text"
]
}
],
"viewType": "day"
}
OK
{
"status": "text",
"error": {
"code": "text",
"message": "text"
}
}
TagManager APIs
Get tag keys for specified AWS account IDs
POST /asset/us-v1/tag-manager/vendors/{vendor}/tag-keys HTTP/1.1
Host: api.opsnow.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 119
{
"vendor": "aws",
"page": 1,
"size": 1,
"offset": 1,
"accIds": [
"text"
],
"sort": "text",
"sortColId": "text",
"sortDirection": "text"
}
OK
{
"status": "text",
"error": {
"code": "text",
"message": "text"
}
}
POST /asset/us-v1/tag-manager/vendors/{vendor}/tag-keys/{tagKey}/tag-vals HTTP/1.1
Host: api.opsnow.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 119
{
"vendor": "aws",
"page": 1,
"size": 1,
"offset": 1,
"accIds": [
"text"
],
"sort": "text",
"sortColId": "text",
"sortDirection": "text"
}
OK
{
"status": "text",
"error": {
"code": "text",
"message": "text"
}
}
Company id
1
POST /asset/us-v1/tag-manager/undo-tagging HTTP/1.1
Host: api.opsnow.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 397
{
"cmpnId": "1",
"vendor": "aws",
"taggingId": "text",
"undoId": "text",
"taggingResourceList": [
{
"accId": "text",
"rgnId": "text",
"rsrcType": "text",
"instId": "text",
"arn": "text",
"resourceGroupTaggingYn": "text",
"existTags": [
{
"ANY_ADDITIONAL_PROPERTY": "text"
}
],
"sbscId": "text",
"rsrcGrp": "text",
"id": "text",
"nrn": "text",
"reviewTagList": [
{
"tagKey": "text",
"oldValue": "text",
"newValue": "text"
}
]
}
],
"userEmail": "text"
}
OK
{
"status": "text",
"error": {
"code": "text",
"message": "text"
}
}
Company id
1
POST /asset/us-v1/tag-manager/tag-processing-status HTTP/1.1
Host: api.opsnow.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 48
{
"cmpnId": "1",
"vendor": "aws",
"taggingId": "text"
}
OK
{
"status": "text",
"error": {
"code": "text",
"message": "text"
}
}
Company id
1
POST /asset/us-v1/tag-manager/retry-tagging HTTP/1.1
Host: api.opsnow.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 398
{
"cmpnId": "1",
"vendor": "aws",
"taggingId": "text",
"retryId": "text",
"taggingResourceList": [
{
"accId": "text",
"rgnId": "text",
"rsrcType": "text",
"instId": "text",
"arn": "text",
"resourceGroupTaggingYn": "text",
"existTags": [
{
"ANY_ADDITIONAL_PROPERTY": "text"
}
],
"sbscId": "text",
"rsrcGrp": "text",
"id": "text",
"nrn": "text",
"reviewTagList": [
{
"tagKey": "text",
"oldValue": "text",
"newValue": "text"
}
]
}
],
"userEmail": "text"
}
OK
{
"status": "text",
"error": {
"code": "text",
"message": "text"
}
}
Company id
1
POST /asset/us-v1/tag-manager/resources/tags HTTP/1.1
Host: api.opsnow.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 120
{
"cmpnId": "1",
"vendor": "aws",
"data": [
{
"accId": "text",
"rsrcType": "text",
"rgnId": "text",
"instId": "text",
"tagKey": "text"
}
]
}
OK
{
"result": [
{
"tagKey": "text",
"tagValue": [
"text"
],
"isCommon": true
}
],
"status": "text",
"error": {
"code": "text",
"message": "text"
}
}
Company id
1
POST /asset/us-v1/tag-manager/rename-tag-key HTTP/1.1
Host: api.opsnow.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 105
{
"cmpnId": "1",
"tagKey": "text",
"tagKeys": [
"text"
],
"renameTagKey": "text",
"userEmail": "text",
"vendor": "aws"
}
OK
{
"status": "text",
"error": {
"code": "text",
"message": "text"
}
}
Company id
1
POST /asset/us-v1/tag-manager/companies/{cmpnId}/vendors/{vendor}/tags HTTP/1.1
Host: api.opsnow.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 698
{
"cmpnId": "1",
"vendor": "aws",
"page": 1,
"size": 1,
"offset": 1,
"emptyDataFlag": true,
"accId": "text",
"accIds": [
"text"
],
"rgnId": "text",
"rgnIds": [
"text"
],
"instId": "text",
"instIds": [
"text"
],
"rsrcType": "text",
"rsrcTypes": [
"text"
],
"tagKeys": [
"text"
],
"antiTagKeys": [
"text"
],
"tagType": "text",
"tagTypes": [
"text"
],
"tagTypeCondition": "text",
"tags": [
{
"tagKey": "text",
"tagVal": "text",
"creaDt": "2025-06-21T06:30:42.627Z",
"instId": "text",
"state": "text",
"tagVals": [
"text"
]
}
],
"compliantType": "text",
"compliantTypes": [
"text"
],
"groupId": "text",
"groupIds": [
"text"
],
"sort": "text",
"sortColId": "text",
"sortDirection": "text",
"tagSort": "text",
"sortTagKey": "text",
"search": "text",
"taggingStatus": "text",
"taggingStatuses": [
"text"
]
}
OK
{
"status": "text",
"error": {
"code": "text",
"message": "text"
}
}
Get tagging status and billing tag compliant
Company id
1
POST /asset/us-v1/tag-manager/companies/{cmpnId}/vendors/{vendor}/stats HTTP/1.1
Host: api.opsnow.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 698
{
"cmpnId": "1",
"vendor": "aws",
"page": 1,
"size": 1,
"offset": 1,
"emptyDataFlag": true,
"accId": "text",
"accIds": [
"text"
],
"rgnId": "text",
"rgnIds": [
"text"
],
"instId": "text",
"instIds": [
"text"
],
"rsrcType": "text",
"rsrcTypes": [
"text"
],
"tagKeys": [
"text"
],
"antiTagKeys": [
"text"
],
"tagType": "text",
"tagTypes": [
"text"
],
"tagTypeCondition": "text",
"tags": [
{
"tagKey": "text",
"tagVal": "text",
"creaDt": "2025-06-21T06:30:42.627Z",
"instId": "text",
"state": "text",
"tagVals": [
"text"
]
}
],
"compliantType": "text",
"compliantTypes": [
"text"
],
"groupId": "text",
"groupIds": [
"text"
],
"sort": "text",
"sortColId": "text",
"sortDirection": "text",
"tagSort": "text",
"sortTagKey": "text",
"search": "text",
"taggingStatus": "text",
"taggingStatuses": [
"text"
]
}
OK
{
"status": "text",
"error": {
"code": "text",
"message": "text"
}
}
Company id
1
POST /asset/us-v1/tag-manager/companies/{cmpnId}/vendors/{vendor}/resources HTTP/1.1
Host: api.opsnow.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 698
{
"cmpnId": "1",
"vendor": "aws",
"page": 1,
"size": 1,
"offset": 1,
"emptyDataFlag": true,
"accId": "text",
"accIds": [
"text"
],
"rgnId": "text",
"rgnIds": [
"text"
],
"instId": "text",
"instIds": [
"text"
],
"rsrcType": "text",
"rsrcTypes": [
"text"
],
"tagKeys": [
"text"
],
"antiTagKeys": [
"text"
],
"tagType": "text",
"tagTypes": [
"text"
],
"tagTypeCondition": "text",
"tags": [
{
"tagKey": "text",
"tagVal": "text",
"creaDt": "2025-06-21T06:30:42.627Z",
"instId": "text",
"state": "text",
"tagVals": [
"text"
]
}
],
"compliantType": "text",
"compliantTypes": [
"text"
],
"groupId": "text",
"groupIds": [
"text"
],
"sort": "text",
"sortColId": "text",
"sortDirection": "text",
"tagSort": "text",
"sortTagKey": "text",
"search": "text",
"taggingStatus": "text",
"taggingStatuses": [
"text"
]
}
OK
{
"status": "text",
"error": {
"code": "text",
"message": "text"
}
}
Company id
1
POST /asset/us-v1/tag-manager/companies/{cmpnId}/vendors/{vendor}/resources/email-export HTTP/1.1
Host: api.opsnow.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 698
{
"cmpnId": "1",
"vendor": "aws",
"page": 1,
"size": 1,
"offset": 1,
"emptyDataFlag": true,
"accId": "text",
"accIds": [
"text"
],
"rgnId": "text",
"rgnIds": [
"text"
],
"instId": "text",
"instIds": [
"text"
],
"rsrcType": "text",
"rsrcTypes": [
"text"
],
"tagKeys": [
"text"
],
"antiTagKeys": [
"text"
],
"tagType": "text",
"tagTypes": [
"text"
],
"tagTypeCondition": "text",
"tags": [
{
"tagKey": "text",
"tagVal": "text",
"creaDt": "2025-06-21T06:30:42.627Z",
"instId": "text",
"state": "text",
"tagVals": [
"text"
]
}
],
"compliantType": "text",
"compliantTypes": [
"text"
],
"groupId": "text",
"groupIds": [
"text"
],
"sort": "text",
"sortColId": "text",
"sortDirection": "text",
"tagSort": "text",
"sortTagKey": "text",
"search": "text",
"taggingStatus": "text",
"taggingStatuses": [
"text"
]
}
OK
{
"status": "text",
"error": {
"code": "text",
"message": "text"
}
}
Company id
1
POST /asset/us-v1/tag-manager/companies/{cmpnId}/vendors/{vendor}/resources-by-tags HTTP/1.1
Host: api.opsnow.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 698
{
"cmpnId": "1",
"vendor": "aws",
"page": 1,
"size": 1,
"offset": 1,
"emptyDataFlag": true,
"accId": "text",
"accIds": [
"text"
],
"rgnId": "text",
"rgnIds": [
"text"
],
"instId": "text",
"instIds": [
"text"
],
"rsrcType": "text",
"rsrcTypes": [
"text"
],
"tagKeys": [
"text"
],
"antiTagKeys": [
"text"
],
"tagType": "text",
"tagTypes": [
"text"
],
"tagTypeCondition": "text",
"tags": [
{
"tagKey": "text",
"tagVal": "text",
"creaDt": "2025-06-21T06:30:42.627Z",
"instId": "text",
"state": "text",
"tagVals": [
"text"
]
}
],
"compliantType": "text",
"compliantTypes": [
"text"
],
"groupId": "text",
"groupIds": [
"text"
],
"sort": "text",
"sortColId": "text",
"sortDirection": "text",
"tagSort": "text",
"sortTagKey": "text",
"search": "text",
"taggingStatus": "text",
"taggingStatuses": [
"text"
]
}
OK
{
"status": "text",
"error": {
"code": "text",
"message": "text"
}
}
Company id
1
POST /asset/us-v1/tag-manager/companies/{cmpnId}/vendors/{vendor}/groups HTTP/1.1
Host: api.opsnow.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 698
{
"cmpnId": "1",
"vendor": "aws",
"page": 1,
"size": 1,
"offset": 1,
"emptyDataFlag": true,
"accId": "text",
"accIds": [
"text"
],
"rgnId": "text",
"rgnIds": [
"text"
],
"instId": "text",
"instIds": [
"text"
],
"rsrcType": "text",
"rsrcTypes": [
"text"
],
"tagKeys": [
"text"
],
"antiTagKeys": [
"text"
],
"tagType": "text",
"tagTypes": [
"text"
],
"tagTypeCondition": "text",
"tags": [
{
"tagKey": "text",
"tagVal": "text",
"creaDt": "2025-06-21T06:30:42.627Z",
"instId": "text",
"state": "text",
"tagVals": [
"text"
]
}
],
"compliantType": "text",
"compliantTypes": [
"text"
],
"groupId": "text",
"groupIds": [
"text"
],
"sort": "text",
"sortColId": "text",
"sortDirection": "text",
"tagSort": "text",
"sortTagKey": "text",
"search": "text",
"taggingStatus": "text",
"taggingStatuses": [
"text"
]
}
OK
{
"status": "text",
"error": {
"code": "text",
"message": "text"
}
}
Company id
1
POST /asset/us-v1/tag-manager/add-tag HTTP/1.1
Host: api.opsnow.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 381
{
"cmpnId": "1",
"vendor": "aws",
"taggingId": "text",
"taggingResourceList": [
{
"accId": "text",
"rgnId": "text",
"rsrcType": "text",
"instId": "text",
"arn": "text",
"resourceGroupTaggingYn": "text",
"existTags": [
{
"ANY_ADDITIONAL_PROPERTY": "text"
}
],
"sbscId": "text",
"rsrcGrp": "text",
"id": "text",
"nrn": "text",
"reviewTagList": [
{
"tagKey": "text",
"oldValue": "text",
"newValue": "text"
}
]
}
],
"userEmail": "text"
}
OK
{
"status": "text",
"error": {
"code": "text",
"message": "text"
}
}
Company id
1
POST /asset/us-v1/tag-manager/update-tag HTTP/1.1
Host: api.opsnow.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 381
{
"cmpnId": "1",
"vendor": "aws",
"taggingId": "text",
"taggingResourceList": [
{
"accId": "text",
"rgnId": "text",
"rsrcType": "text",
"instId": "text",
"arn": "text",
"resourceGroupTaggingYn": "text",
"existTags": [
{
"ANY_ADDITIONAL_PROPERTY": "text"
}
],
"sbscId": "text",
"rsrcGrp": "text",
"id": "text",
"nrn": "text",
"reviewTagList": [
{
"tagKey": "text",
"oldValue": "text",
"newValue": "text"
}
]
}
],
"userEmail": "text"
}
OK
{
"status": "text",
"error": {
"code": "text",
"message": "text"
}
}
GET /asset/us-v1/tag-manager/companies/{cmpnId}/vendors/{vendor}/tag-keys HTTP/1.1
Host: api.opsnow.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
OK
{
"status": "text",
"error": {
"code": "text",
"message": "text"
}
}
GET /asset/us-v1/tag-manager/companies/{cmpnId}/vendors/{vendor}/tag-keys/{tagKey}/tag-vals HTTP/1.1
Host: api.opsnow.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
OK
{
"status": "text",
"error": {
"code": "text",
"message": "text"
}
}
Get tag compliance and status statistics
GET /asset/us-v1/tag-manager/companies/{cmpnId}/vendors/{vendor}/stats/tag HTTP/1.1
Host: api.opsnow.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
OK
{
"status": "text",
"error": {
"code": "text",
"message": "text"
}
}
Get tag compliance and status statistics
GET /asset/us-v1/tag-manager/companies/{cmpnId}/vendors/{vendor}/stats/resource HTTP/1.1
Host: api.opsnow.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
OK
{
"status": "text",
"error": {
"code": "text",
"message": "text"
}
}
GET /asset/us-v1/tag-manager/companies/{cmpnId}/vendors/{vendor}/groups/{groupId}/resources HTTP/1.1
Host: api.opsnow.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
OK
{
"status": "text",
"error": {
"code": "text",
"message": "text"
}
}
Get required tags information for AWS
GET /asset/us-v1/tag-manager/companies/{cmpnId}/vendors/{vendor}/billing-tags HTTP/1.1
Host: api.opsnow.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
OK
{
"status": "text",
"error": {
"code": "text",
"message": "text"
}
}
GET /asset/us-v1/tag-manager/companies/{cmpnId}/histories HTTP/1.1
Host: api.opsnow.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
OK
{
"status": "text",
"error": {
"code": "text",
"message": "text"
}
}
GET /asset/us-v1/tag-manager/companies/{cmpnId}/histories/{historyId} HTTP/1.1
Host: api.opsnow.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
OK
{
"status": "text",
"error": {
"code": "text",
"message": "text"
}
}
rsrc-opti-common-controller APIs
Company id
1
POST /asset/us-v1/rsrcopti/summary HTTP/1.1
Host: api.opsnow.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 697
{
"cmpnId": "1",
"vndr": "text",
"analyYn": "text",
"idleSetId": "text",
"idleSetNm": "text",
"pageNum": 1,
"limitCnt": 1,
"offset": 1,
"searchText": "text",
"type": "text",
"sortId": "text",
"sortOrder": "text",
"currentRuleSet": "text",
"gridType": "text",
"listType": "text",
"rsrcType": "text",
"excelYn": "text",
"today": "text",
"accList": [
"text"
],
"bzList": [
"text"
],
"rgnList": [
"text"
],
"chartType": "text",
"rcmd": "text",
"currentCost": 1,
"addRcmdGrp": "text",
"tz": "text",
"rcmdList": [
"text"
],
"vndrList": [
"text"
],
"rprtFlag": "text",
"accOrigine": "text",
"bzGrpSetId": "text",
"batchYn": "text",
"rprtSbscCcl": "text",
"rprtSbscCclRng": "text",
"utcTimeStamp": "text",
"rprtSbscCclTime": "text",
"unusedRsrcTypes": "text",
"rightSizingRsrcTypes": "text"
}
OK
{
"result": {
"summaryTotalCost": {
"currentCost": 1,
"totalCost": 1,
"unusedCost": 1,
"rightSizingCost": 1,
"totalCnt": 1,
"unusedCnt": 1,
"rightSizingCnt": 1
},
"gridSummary": {
"unusedResource": {
"totalCnt": 1,
"cnt": 1,
"cost": 1,
"resource": {
"ANY_ADDITIONAL_PROPERTY": {
"rsrcType": "text",
"totalCnt": 1,
"cnt": 1,
"cost": 1,
"type": "text",
"prodNm": "text",
"apiNm": "text"
}
}
},
"rightSizing": {
"totalCnt": 1,
"cnt": 1,
"cost": 1,
"resource": {
"ANY_ADDITIONAL_PROPERTY": {
"rsrcType": "text",
"totalCnt": 1,
"cnt": 1,
"cost": 1,
"type": "text",
"prodNm": "text",
"apiNm": "text"
}
}
}
},
"currency": "text",
"cmpnId": "text"
},
"status": "text",
"error": {
"code": "text",
"message": "text"
}
}
Last updated