Skip to main content
POST
/
cost-insights
/
cost-category-values
Get cost category values
curl --request POST \
  --url https://api.cloudcapital.co/v1/cost-insights/cost-category-values \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "categoryKey": "Team"
}
'
{
  "categoryValues": [
    "<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
categoryKey
string
required

The cost category key to get values for

Example:

"Team"

Response

Cost category values retrieved successfully

categoryValues
string[]