import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: 'My API Key',
});
const speechToTexts = await client.legacy.reporting.batchDetailRecords.speechToText.list();
console.log(speechToTexts.data);{
"data": [
{
"id": "ab76c3b6-80cd-11eb-9439-0242ac130002",
"created_at": "2020-07-01T00:00:00-06:00",
"start_date": "2020-07-01T00:00:00-06:00",
"end_date": "2020-07-01T00:00:00-06:00",
"download_link": "https://portal-cdrs-usage.s3.amazonaws.com",
"status": "PENDING",
"record_type": "speech_to_text_report"
}
]
}Retrieves all Speech to Text batch report requests for the authenticated user
import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: 'My API Key',
});
const speechToTexts = await client.legacy.reporting.batchDetailRecords.speechToText.list();
console.log(speechToTexts.data);{
"data": [
{
"id": "ab76c3b6-80cd-11eb-9439-0242ac130002",
"created_at": "2020-07-01T00:00:00-06:00",
"start_date": "2020-07-01T00:00:00-06:00",
"end_date": "2020-07-01T00:00:00-06:00",
"download_link": "https://portal-cdrs-usage.s3.amazonaws.com",
"status": "PENDING",
"record_type": "speech_to_text_report"
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Speech to text batch report requests retrieved successfully
Show child attributes
Identifies the resource
"ab76c3b6-80cd-11eb-9439-0242ac130002"
"2020-07-01T00:00:00-06:00"
"2020-07-01T00:00:00-06:00"
"2020-07-01T00:00:00-06:00"
URL to download the report
"https://portal-cdrs-usage.s3.amazonaws.com"
PENDING, COMPLETE, FAILED, EXPIRED "speech_to_text_report"
Was this page helpful?