Skip to main content
POST
/
cost-insights
/
tag-values
Get tag values
curl --request POST \
  --url https://api.cloudcapital.co/v1/cost-insights/tag-values \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "tagKey": "Environment"
}
'
{
  "tagValues": [
    "<string>"
  ]
}

Authorizations

Authorization
string
header
required

API key authentication. Generate an API key from your Cloud Capital dashboard under Settings > API keys. Include it in the Authorization header as a Bearer token.

Body

application/json
tagKey
string
required

The resource tag key to get values for

Example:

"Environment"

Response

Tag values retrieved successfully

tagValues
string[]