https://retellai.com/?utm_source=discord&utm_medium=seo logo
GET/list-agents
# ❓・bug-report
s
I created a chat agent and tested the list-agents API, but it returned an empty array [] with a 200 success status. Then I created one more chat agents, but the list-agents API still returned [] with success 200. After that, I created a voice agent, so now I have 3 agents in total. When I called the list-agents API again, it returned only the voice agent data, and none of the chat agents. This looks like a bug where the API is not listing chat agents.
o
Hello @shubham_23461
Use this for chat agents
s
@Omar Ashraf | Community Lead Is there any possible way to get the list of all the agents chat/voice through GET list-agents api
o
You can call both and merge them on your server.
s
If there is no chat history my chat agent, GET/list-chat is returning with [] array., so I am not getting any info about by agent through this API. @User Help on this will be much appreciated.
o
Oh, I see just tried it and you are right , i will let the team know about this .
Thanks