energetic_monkey_02710
09/15/2025, 9:09 PMAI Evy
09/15/2025, 9:09 PMAI Evy
09/15/2025, 9:09 PMjavascript
import Retell from 'retell-sdk';
const client = new Retell({
apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const agentResponses = await client.agent.list() ;
console.log(agentResponses) ;
This returns all agents accessible by your API key. If you do not see the agent in this response, it may not be accessible to your current workspace or API key, or there could be filtering applied in the dashboard [(1) ]() .
If you know the agent ID, you can also retrieve specific agent details directly:
javascript
import Retell from 'retell-sdk';
const client = new Retell({
apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const agentResponse = await client.agent.retrieve('AGENT_ID_HERE') ;
console.log(agentResponse.agent_id) ;
This can confirm if the agent still exists and is accessible [(2) ]() .
If the agent appears with these methods but not in your dashboard UI, consider refreshing your workspace context, checking for filters, or contacting support for further troubleshooting.AI Evy
09/15/2025, 9:09 PMAI Evy
09/15/2025, 9:09 PMOmar Ashraf | Community Lead
09/16/2025, 12:10 AMenergetic_monkey_02710
09/16/2025, 7:22 AMOmar Ashraf | Community Lead
09/16/2025, 7:39 AMOmar Ashraf | Community Lead
09/16/2025, 7:40 AM