API ReferenceCosts
List distinct tag keys
Authorization
BearerAuth AuthorizationBearer <token>
In: header
Query Parameters
provider?Provider
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/v1/costs/by-tag/keys"{
"success": true,
"timestamp": "2019-08-24T14:15:22Z",
"data": {
"tag_keys": [
"string"
],
"tag_key_details": [
{
"key": "string",
"sources": [
"string"
]
}
],
"virtual_tag_keys": [
{
"id": "string",
"name": "string"
}
]
}
}{
"success": false,
"error": {
"code": "string",
"message": "string",
"details": null
},
"timestamp": "2019-08-24T14:15:22Z"
}{
"success": false,
"error": {
"code": "string",
"message": "string",
"details": null
},
"timestamp": "2019-08-24T14:15:22Z"
}{
"success": false,
"error": {
"code": "string",
"message": "string",
"details": null
},
"timestamp": "2019-08-24T14:15:22Z"
}{
"success": false,
"error": {
"code": "string",
"message": "string",
"details": null
},
"timestamp": "2019-08-24T14:15:22Z"
}{
"success": false,
"error": {
"code": "string",
"message": "string",
"details": null
},
"timestamp": "2019-08-24T14:15:22Z"
}{
"property1": null,
"property2": null
}{
"success": false,
"error": {
"code": "string",
"message": "string",
"details": null
},
"timestamp": "2019-08-24T14:15:22Z"
}{
"success": false,
"error": {
"code": "string",
"message": "string",
"details": null
},
"timestamp": "2019-08-24T14:15:22Z"
}Get cost breakdown GET
Returns cost breakdown in different formats: table (paginated), chart (aggregated), csv (export), raw (all records)
Cost grouped by tag value GET
Returns spend grouped by tag_value for a given tag_key (e.g., team, tribe, squad, cost-center). Includes a per-team category breakdown.