import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: 'My API Key',
});
const response = await client.legacy.reporting.usageReports.retrieveSpeechToText();
console.log(response.data);{
"data": {}
}Generate and fetch speech to text usage report synchronously. This endpoint will both generate and fetch the speech to text report over a specified time period.
import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: 'My API Key',
});
const response = await client.legacy.reporting.usageReports.retrieveSpeechToText();
console.log(response.data);{
"data": {}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
"2020-07-01T00:00:00-06:00"
"2020-07-01T00:00:00-06:00"
Successful
Was this page helpful?