usage
Get Usage By Agent
Changed onGet usage broken down by agent for the current calendar week, month, or year. Includes message count, completed call count, and total call seconds per agent. Calls/messages with no agent attached are bucketed as "Unassigned".
get/v1/usage/by-agent
Request
- Base URLhttps://api.agentphone.ai
- URLhttps://api.agentphone.ai/v1/usage/by-agent
- AuthHTTP bearer
Query parameters
period'week' | 'month' | 'year' required
tzstring nullable
IANA timezone, e.g. America/New_York
Response
Successful Response
Changes
- info
added the required property
to the response with the status
- info