cURL
curl --request GET \ --url https://api.traceloop.com/api/v2/costs/by-association-property \ --header 'Authorization: Bearer <token>'
{ "property_name": "<string>", "values": [ {} ], "total_cost": 123 }
{ "property_name": "session_id", "values": [ { "value": "session_21", "cost": 1.23 }, { "value": "session_5", "cost": 4.56 }, { "value": "No_Value", "cost": 0.78 } ], "total_cost": 6.57 }
"No_Association"
"No_Value"
"Unknown_Value"
Was this page helpful?