scalingsocialsmaaz
08/21/2025, 1:17 PMAI Evy
08/21/2025, 1:17 PMAI Evy
08/21/2025, 1:17 PMjavascript
import Retell from 'retell-sdk';
const client = new Retell({
apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const llmResponses = await client.llm.list() ;
console.log(llmResponses) ;
2. The LLM ID appears in API responses: [(2) ]()
- When you retrieve an LLM, the response includes the llm_id field
- When you update an LLM, the response includes the llm_id field [(3) ]()
- When you list LLMs, each LLM object includes the llm_id field [(1) ]()
3. Example LLM ID format: [(2) ]()
The LLM ID is a unique string like "oBeDLoLOeuAbiuaMFXRtDOLriTJ5tSxD"
You can also access the LLM ID programmatically after API calls:
javascript
console.log(llmResponse.llm_id) ;AI Evy
08/21/2025, 1:17 PMAI Evy
08/21/2025, 1:17 PM