Skip to main content
GET
/
analytics
/
performance
/
cost-analysis
cURL
curl --request GET \
  --url https://api.comm.com/api/analytics/performance/cost-analysis \
  --header 'Authorization: Bearer <token>'
{
  "summary": {
    "total_cost": "<string>",
    "total_calls": "<string>",
    "avg_cost_per_call": "<string>",
    "date_range": [
      "<string>",
      "<string>"
    ]
  },
  "daily_costs": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

team_id
string<uuid>
required
start_date
string | null
end_date
string | null

Response

summary
object
required
daily_costs
string
required