Agents

Get Agent Stats

Get real-time statistics for an agent.

Returns usage metrics like total calls, average duration, tokens used, and costs.

get/v1/agents/{agent_id}/stats

Request

  • Base URL: https://api.call2me.app
  • URL: https://api.call2me.app/v1/agents/{agent_id}/stats
  • Auth: HTTP bearer

Path parameters

agent_idstring required

Query parameters

daysinteger

Response

Successful Response

total_callsinteger required
total_duration_secondsnumber required
avg_duration_secondsnumber required
total_tokensinteger required
avg_tokens_per_callinteger required
total_cost_usdnumber required
avg_cost_per_callnumber required
last_call_atstring nullable

Changes

No recorded changes to this operation across all 1 revision of this API.