Dataset
Twilio call and messaging log datasets for AI training
A Twilio dataset is a collection of one business's Twilio resources: Call and Message log records, the Recordings attached to calls and conferences, Conversations threads, Studio flow executions, Conversational Intelligence transcripts where enabled and, for Flex, TaskRouter tasks and worker activity. SourceX sources it to a buyer's spec from established businesses that built their phone lines, messaging or contact center on Twilio. A buyer can ask for it joined by SID to the fields the business's own application stored about each interaction. Each dataset is de-identified and licensed for an agreed permitted use.
Dataset manifest
Sourced to your spec- What it is
- One business's Twilio traffic: recordings and message threads joined by SID to Call and Message logs, Flex tasks and its own application data
- Typical systems
- Twilio Programmable Voice and Messaging, Conversations, Studio, Conversational Intelligence, and Flex with TaskRouter; the application database behind them
- Typical history
- Specified by the buyer; audio often outlasts logs, so history is bounded by what the business copied out of Twilio
- Modality
- Call audio in one or two channels, message bodies and media, log resources as rows, transcripts as timed sentences
- Delivery formats
- Agreed per order; audio as WAV or MP3, JSONL for Calls, Messages, tasks and executions, keyed by pseudonymous SID
- Preparation
- Phone numbers, SIDs and worker identities replaced with stable pseudonyms; one-time passcodes and verification messages removed; bodies and transcripts scrubbed
- Licensing
- Permitted use agreed per license; recording notice, message opt-in and the vendor's terms reviewed first
- Availability
- Sourced to your spec from businesses built on Twilio; supply is not guaranteed
What a delivery contains
Fields vary by source system and are fixed per order. A typical delivery includes:
| Field | Type | What it holds |
|---|---|---|
| call_sid | string | Pseudonymous form of the Call resource's sid, the key that Recordings, Transcripts and the business's own tables refer to. |
| parent_call_sid | string | The Call's parent_call_sid, which ties a leg created by a Dial verb to the call that started it. |
| direction | enum | The Call's direction: inbound, outbound-api for calls the application placed, outbound-dial for child legs, or a trunking value on SIP trunks. |
| call_status | object | The Call's final status, such as completed, busy, no-answer, failed or canceled, with answered_by where answering machine detection ran. |
| timing | object | The Call's start_time and end_time, converted to ISO 8601, and its duration in seconds. |
| endpoints | object | The Call's from and to, each reduced to a pseudonym and a type: phone number, SIP address or client identity. |
| recordings | array | Recording resources on the call or its conference: sid, source, channels, duration and the downloaded media file. |
| transcript | object | The Conversational Intelligence Transcript: Sentences with media_channel, start_time, end_time and transcript text, plus Operator Results. |
| messages | array | Message resources in the thread: direction, status, error_code, num_segments, date_sent, body and Media items, or a Conversation's messages with author and index. |
| studio_execution | object | The Studio Execution that handled the contact and its Steps, each naming the widget it transitioned from and to. |
| task | object | For Flex, the TaskRouter Task: its attributes JSON, Task Queue, Workflow, task channel and assignment status. |
| reservations | array | TaskRouter Reservations for the task: the Worker each was offered to and whether it was accepted, rejected or timed out. |
| app_record | object | Fields from the business's own application joined on the SID, such as customer pseudonym, contact reason and outcome. |
Field names from the table above; values are masked placeholders.
Example record
{
"call_sid": "CA_7f3c19",
"parent_call_sid": null,
"direction": "inbound",
"call_status": {
"status": "completed",
"answered_by": null
},
"timing": {
"start_time": "2024-03-12T16:04:09Z",
"end_time": "2024-03-12T16:11:42Z",
"duration_s": 453
},
"endpoints": {
"from": "caller_51b2",
"to": "line_support_us"
},
"recordings": [
{
"recording_sid": "RE_44d0c1",
"source": "StartCallRecordingAPI",
"channels": 2,
"duration_s": 449,
"file": "audio/RE_44d0c1.wav"
}
],
"transcript": {
"transcript_sid": "GT_19ab07",
"sentences": [
{
"media_channel": 1,
"start_time": 41.2,
"end_time": 47.9,
"transcript": "My order shows delivered but nothing arrived at [ADDRESS]."
}
],
"operator_results": [
{
"name": "call_reason",
"predicted_label": "missing_delivery"
}
]
},
"studio_execution": {
"execution_sid": "FN_c80e52",
"steps": [
{
"transitioned_from": "Trigger",
"transitioned_to": "gather_menu"
},
{
"transitioned_from": "gather_menu",
"transitioned_to": "send_to_flex_orders"
}
]
},
"task": {
"task_sid": "WT_5d21aa",
"task_queue": "Orders",
"workflow": "Assign to anyone",
"assignment_status": "completed",
"attributes": {
"menu_choice": "order_status",
"conversations": {
"outcome": "reshipped"
}
}
},
"reservations": [
{
"worker": "wk_30",
"status": "timeout"
},
{
"worker": "wk_12",
"status": "accepted"
}
],
"app_record": {
"customer": "cust_8842",
"contact_reason": "delivery_not_received",
"resolution": "replacement_shipped",
"joined_on": "call_sid"
}
}Synthetic record for illustration. Field names, structure and format are agreed per order.
What AI teams use it for
Voice agents on programmable telephony
Two-channel recordings with leg structure and status match the audio path a voice agent on the same infrastructure will hear.
SMS and messaging assistants
Message threads with status and error codes show real customer texting, including opt-out replies, failed deliveries and late answers.
Routing and escalation models
Task attributes, queues and reservation outcomes show which contacts went to which workers and which were rejected or timed out.
IVR and flow design
Studio executions list the widgets each caller passed through, so drop-off points and misrouted paths can be studied.
Transcript and outcome evaluation
Conversational Intelligence sentences and operator results can be scored against the audio and the outcome in the application record.
Use-case guides: Voice agents and speech models, Customer support agents, Enterprise and computer-use agents, Private evaluation sets
What makes this data valuable
SID join rate
The share of recordings and messages that resolve to a row in the business's application data.
Logs behind the audio
Recordings with a surviving Call record, counted by month, show where logs aged out.
Two-channel recordings
A channel count of two keeps the caller and the agent or bot on separate tracks.
Intact message bodies
A low share of empty bodies shows the account did not redact its stored message text.
Documented task attributes
A dictionary of the keys the business put on its tasks makes Flex data readable.
Resolvable call legs
Child legs that find their parent let a forwarded call be followed end to end.
Call to transcript
Twilio dataset
Transport facts in Twilio, meaning in the application
Twilio is infrastructure a business programs, and its records show it. A Call resource says which number called which, when the call started and ended, its final status, its duration, its price and, through parent_call_sid, which leg created it. A Message resource says the same for a text: direction, status, error code, segment count and body. Neither says who the customer was or why they made contact. Those facts were written by the business's own application, usually in the webhook handlers Twilio called during the interaction, into its own database. A Twilio dataset is therefore a join, keyed by SID.
Read the leg structure before counting anything. An inbound call that the application forwards with a Dial verb is two Call resources, the inbound parent and a child whose direction is outbound-dial. A call the application placed through the API is outbound-api, though the person who answered experienced an incoming call. In a conference every participant is a Call of its own, and the Participants resource lists only people in a conference still in progress, so a finished conference's roster has to come from an export or the application's event log. A Recording states its source and channel count, and on a two-leg call its call_sid points to the parent leg. A dual-channel file keeps each leg on its own channel. Ask which party is on which.
Flex adds a contact center on the same model. Each contact is a TaskRouter Task whose attributes are free JSON the business designed. A Workflow evaluates those attributes to pick a Task Queue, and Reservations offer the task to Workers. Do not expect a standard disposition field. A wrap-up outcome exists only if the business wrote one into the task attributes, commonly under the conversations object that Flex Insights reads, or into its CRM, or turned on Agent Copilot wrap-up notes, which are machine-written. Ask for a dictionary of the attribute keys.
Audio outlives the logs
Twilio keeps different resources for very different lengths of time. Recordings generally stay until the account deletes them, so a business can hold many years of audio. Call and Message log records are kept for a limited period, and an account can redact message bodies. Twilio's documentation gives 30 days for Studio Execution and Step data and for TaskRouter events, and says a Task is deleted minutes after it is completed or canceled. A recording from years back can therefore arrive with no Call record, task or flow path behind it. Ask for Twilio's current retention for each resource in scope and set it against the dates in the sample.
What survives is what the business copied out. Some stored every status callback in their own tables. Others sent events to a Kinesis stream or a webhook through Event Streams, pulled BulkExport day files of Calls, Messages, Conferences and Participants, which are compressed JSON with one record per line, or rely on Flex Insights. An export file holds the resource as Twilio defines it, while a callback log holds only the parameters a developer chose to save. Conversational Intelligence, which Twilio has also documented as Voice Intelligence and Conversation Intelligence, has transcripts only for recordings sent to it after it was set up, and the older transcription option on the Record verb covered only recordings under two minutes.
To test a sample, take recordings spread across the years on offer, look up each one's Call by SID and count the orphans by month. Check that no recording is longer than its call and that every child leg resolves to its parent. For messages, count rows whose body is empty to find redacted ones, and scan bodies for passcodes. Then measure how many SIDs find a row in the application's data. That join rate decides what the audio can teach.
What to check before licensing
- Ask for Twilio's current retention for each resource in scope, and get monthly counts of Recordings, Calls, Messages, Tasks and Studio Executions.
- Ask how logs older than Twilio's own retention were kept: stored status callbacks, Event Streams, BulkExport files or Flex Insights. Each route keeps different fields.
- Get the schema of the application tables joined to each SID and the join rate on a sample. Without them the calls have no customer, reason or outcome.
- Recording notice is whatever the business's own call flow played or its agents said. Get the prompt text, its dates and the numbers it covered.
- Ask how message opt-in was collected and how opt-out replies were handled for each sending number or Messaging Service.
- Check that one-time passcodes and verification messages are stripped, and that phone numbers are pseudonymized in rows, bodies, task attributes and transcripts.
- Have the buyer and the data owner each check Twilio's terms on customer content and API use with counsel, including for any subaccounts in scope.
Delivery No files move before a signed license. A listing or a request grants no files by itself.
How licensing works through SourceX
- 1
Define
Send the domain, modality, volume, format, timeline and permitted use you need.
- 2
Source
SourceX identifies businesses that hold matching data and are open to licensing it.
- 3
Qualify
Fit, rights and quality are checked, and you review samples before committing.
- 4
License
Scope, permitted use, exclusivity, price and obligations are agreed in writing.
- 5
Deliver
Approved data is prepared, de-identified where required and transferred securely.
Questions Acquisition Partners ask
Why does a Twilio dataset need the supplier's own database?
Because Twilio records transport and the application records meaning. A Call or Message resource holds numbers, status, timing and cost. The customer's identity, the reason for contact and the result were stored by the software the business wrote around Twilio. The two join on the call or message SID that Twilio passed to that software in its webhooks.
How far back does Twilio data go?
It depends on the resource. Recordings usually remain until the account deletes them, so audio can span many years. Call and Message logs are kept for a limited period, and Twilio documents 30 days for Studio execution steps and TaskRouter events, so older ones survive only if the business exported or stored them. Ask for monthly counts of each resource to see where the logs thin out.
Are transcripts included with Twilio recordings?
Only where the business produced them. Conversational Intelligence creates a transcript with timed sentences and operator results for recordings sent to it, from the date the service was set up. Older audio usually has no native transcript. If you need text throughout, say whether transcripts produced later by another engine are acceptable and how they should be marked.
What does Twilio Flex add to the records?
Flex adds the contact center layer: each contact is a TaskRouter Task with attributes the business defined, a queue and reservations offered to workers. Do not expect a standard disposition field. Wrap-up outcomes exist only if the business added them as task attributes, wrote them to a CRM or used Agent Copilot wrap-up notes. Tasks are deleted from TaskRouter minutes after completion, so history comes from Flex Insights or the business's own copies.
How are one-time passcodes and verification texts handled?
They should be removed before delivery, and the buyer should check that they were. Many Twilio accounts send login codes and password resets through the same numbers as real conversations. Ask how they were found, ask for the count removed, and scan a sample of the remaining bodies for digit strings yourself.
Is SourceX affiliated with Twilio?
Twilio is named to identify the system the records come from. That does not imply a partnership with or endorsement by Twilio. The records belong to the business that runs Twilio, which licenses them under a signed agreement, and a request does not guarantee a matching dataset. Buyers should still confirm with counsel that the vendor's terms allow the intended use of exported data.
Related datasets
- Contact center call recordings and transcripts
Recorded service and support calls with diarized transcripts, dispositions and QA scores
- Business SMS and WhatsApp message threads
Two-way business message threads with status events, templates, media and the record each thread was about
- Voice agent call logs
Calls handled by a voice bot or conversational IVR, with audio, per-turn logs and outcomes
- Amazon Connect contact records
One contact center's Amazon Connect contacts: recordings, chat transcripts and Contact Lens files joined to contact records by contact ID
- Vonage call records and recordings
Recordings joined to Call Logs from Vonage Business Communications or to Interactions from Vonage Contact Center, with voicemail, SMS and API logs where in scope
Evaluating this data for procurement?
Diligence packets are prepared per dataset. Rights, privacy processing and quality differ between datasets.
Request dataset diligenceTell us what your models need
Send your spec — domain, volume, format, timeline and permitted use — and SourceX will match it against partner data and come back with what can be licensed.
Updated 26 November 2026.