import Telnyx from 'telnyx';const client = new Telnyx({ apiKey: process.env['TELNYX_API_KEY'], // This is the default and can be omitted});const response = await client.sessionAnalysis.metadata.retrieveRecordType('record_type');console.log(response.aliases);
Returns detailed metadata for a specific record type, including relationships and examples.
GET
/
session_analysis
/
metadata
/
{record_type}
JavaScript
Copy
Ask AI
import Telnyx from 'telnyx';const client = new Telnyx({ apiKey: process.env['TELNYX_API_KEY'], // This is the default and can be omitted});const response = await client.sessionAnalysis.metadata.retrieveRecordType('record_type');console.log(response.aliases);