https://retellai.com/?utm_source=discord&utm_medium=seo logo
how to check minutes used of an agent
# ❓・ai-evy-support
n
@AI Evy how to check minutes used of an agent
a
Thanks for tagging me @Neil. I'll look through relevant sources and get back to you shortly.
### Answer To check minutes used by an agent, you can use the List Calls API to retrieve call data filtered by
agent_id
, then calculate total duration from the returned calls. [(1) ]() Each call object includes a
duration_ms
field (duration in milliseconds) that you can use to compute total minutes.
Copy code
javascript
import Retell from 'retell-sdk';
const client = new Retell({
  apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const callResponses = await client.call.list() ;
console.log(callResponses) ;
From the response, sum up the
duration_ms
values for your specific agent and convert to minutes (divide by 60,000) . Alternatively, the Analytics Dashboard in the Retell platform allows you to monitor key metrics like call counts and can be filtered by agent using the global agent filter. [(2) ]() , [(3) ]()
​ To learn more, see the sources I considered: [[1] List Calls](https://docs.retellai.com/api-references/list-calls) [[2] Get analytics insight](https://docs.retellai.com/features/analytics-dashboard) [[3] Platform Changelogs | Retell AI](https://www.retellai.com/changelog) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
n
what does call counts mean
@AI Evy
a
Thanks for the follow-up, @Neil. I'll get back to you soon.
### Answer Call count refers to the total number of calls made or received by your voice AI agent. [(1) ](

▾

) In the Analytics Dashboard, call count is one of the preset charts available out of the box, allowing you to track how many calls your agent has handled over a given time period. You can view this metric using different chart types (line charts, column charts) and filter by date range or specific agents using the global filters. [(2) ]()
​ To learn more, see the sources I considered: [[1] Analytics Dashboard | Retell AI Feature](

https://www.youtube.com/watch?v=HWrr0Z8c5pw▾

) [[2] Get analytics insight](https://docs.retellai.com/features/analytics-dashboard) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.