import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: process.env['TELNYX_API_KEY'], // This is the default and can be omitted
});
const conversation = await client.ai.conversations.retrieve('conversation_id');
console.log(conversation.data);