https://retellai.com/?utm_source=discord&utm_medium=seo logo
Call History Dashboard and API failing often
# ❓・bug-report
h
Hey the API keeps failing when making requests like these:
Copy code
{
  "filter_criteria": {
    "agent_id": [
      "agent_9bfabbbb4054d4f5ff80af9778"
    ]
  },
  "limit": 51,
  "sort_order": "descending"
}
this is a problem because our customers have their own dashbaord that uses this API to view call logs. Please help.
f
Can you reproduce this? Does this still happen?
h
Yes. I think its a timeout. If i set a date range that small enough the query returns results. Might be that the indexing isnt great when searching all calls with a filter for agent_id