Aggregate conversation data with Conversation Insights
This guide walks through querying the Conversation Insights Metadata and Query resources to count conversations, measure AI agent task completion and hallucination rates, add dimensions, and filter results. If you haven't worked with cubes, measures, and dimensions before, start with Core concepts.
Info
Conversation Insights data becomes available approximately 15 minutes after conversation events.
Complete the prerequisites:
- Create a Twilio account.
- Store your Twilio credentials in environment variables.
- Set up Conversation Orchestrator with at least one conversation.
- To query operator results, define rules in an intelligence configuration that run the operators you want to analyze. For the Task Completion and Hallucination Detection examples, see Define a rule with language operators.
Time dimension requirements
All query requests must include a greater than (GT) filter on the time dimension. The date range can be at most 31 days, measured from the GT value to the LT value, or to the current time if you don't set an LT filter. A longer range returns a 400 error. To analyze longer periods, sync ConversationSummary records to your data warehouse and query them there.
Before querying, use the Metadata resource to see what measures and dimensions are available.
Send a GET request to the Metadata resource:
1// Download the helper library from https://www.twilio.com/docs/node/install2const twilio = require("twilio"); // Or, for ESM: import twilio from "twilio";34// Find your Account SID at twilio.com/console5// Provision API Keys at twilio.com/console/runtime/api-keys6// and set the environment variables. See http://twil.io/secure7// For local testing, you can use your Account SID and Auth token8const accountSid = process.env.TWILIO_ACCOUNT_SID;9const apiKey = process.env.TWILIO_API_KEY;10const apiSecret = process.env.TWILIO_API_SECRET;11const client = twilio(apiKey, apiSecret, { accountSid: accountSid });1213async function fetchMetadata() {14const metadata = await client.insights.v3.metadata.fetch();1516console.log(metadata.domain);17}1819fetchMetadata();
The response includes a list of cubes, each with its available measures and dimensions. The following example only shows one measure and one dimension per cube. Make a request to the Metadata resource to retrieve the full list.
1{2"domain": "Conversations",3"cubes": [4{5"name": "ConversationSummary",6"description": "One wide row per conversation with rolled-up metadata, sentiment, and custom measures",7"measures": [8{9"name": "ConversationSummary.Count",10"type": "number",11"aggregation": "countDistinct",12"description": "The count of unique conversations"13}14],15"dimensions": [16{17"name": "ConversationSummary.TaskCompletion",18"type": "string",19"description": "The latest task completion result for the conversation, e.g., RESOLVED, UNRESOLVED, ESCALATED"20}21]22},23{24"name": "Conversation",25"description": "Contains aggregated conversation event data with participant details",26"measures": [27{28"name": "Conversation.Count",29"type": "number",30"aggregation": "countDistinct",31"description": "The count of unique conversations"32}33],34"dimensions": [35{36"name": "Conversation.ConversationId",37"type": "string",38"description": "The unique identifier for the conversation"39}40]41},42{43"name": "OperatorResult",44"description": "Contains results of various intelligence operators run on conversations",45"measures": [46{47"name": "OperatorResult.Count",48"type": "number",49"aggregation": "countDistinct",50"description": "The count of unique operator results"51}52],53"dimensions": [54{55"name": "OperatorResult.OperatorName",56"type": "string",57"description": "Name of the operator. Eg. Sentiment Analysis, Agent Introduction"58}59]60}61]62}
For an explanation of each cube and the full list of measures and dimensions, see Core concepts.
Find out whether your AI agents and your human agents are producing different customer sentiment. This is the kind of question the ConversationSummary cube exists to answer: because it holds one row per conversation, a Conversation Intelligence operator result and orchestration data sit side by side and you can group by both at once.
1// Download the helper library from https://www.twilio.com/docs/node/install2const twilio = require("twilio"); // Or, for ESM: import twilio from "twilio";34// Find your Account SID at twilio.com/console5// Provision API Keys at twilio.com/console/runtime/api-keys6// and set the environment variables. See http://twil.io/secure7// For local testing, you can use your Account SID and Auth token8const accountSid = process.env.TWILIO_ACCOUNT_SID;9const apiKey = process.env.TWILIO_API_KEY;10const apiSecret = process.env.TWILIO_API_SECRET;11const client = twilio(apiKey, apiSecret, { accountSid: accountSid });1213async function createQueryResults() {14const query = await client.insights.v3.query.create({15domain: "Conversations",16query: {17measures: ["ConversationSummary.Count"],18dimensions: [19"ConversationSummary.HasAIAgent",20"ConversationSummary.Sentiment",21],22filters: [23{24expressions: [25{26op: "GT",27field: "ConversationSummary.CreatedDate",28values: ["2026-04-02"],29},30],31},32],33},34});3536console.log(query.domain);37}3839createQueryResults();
The response returns one row per combination, so you can compare sentiment in conversations with and without an AI agent directly:
1{2"domain": "Conversations",3"items": [4{5"ConversationSummary.HasAIAgent": true,6"ConversationSummary.Sentiment": "positive",7"ConversationSummary.Count": "42"8},9{10"ConversationSummary.HasAIAgent": false,11"ConversationSummary.Sentiment": "positive",12"ConversationSummary.Count": "17"13}14],15"meta": {16"key": "items",17"nextToken": null,18"pageSize": 50,19"previousToken": null20}21}
On a silver cube the same question takes two queries and a join in your own application, because participant data and operator results live on separate rows. Conversation Insights writes the summary row when a conversation reaches the CLOSED state, so this cube covers completed conversations only.
Find out how often your AI agents resolve the customer's task. The Task Completion operator (public beta) writes its label to ConversationSummary.TaskCompletion. Filter on HasAIAgent and group by the label:
1// Download the helper library from https://www.twilio.com/docs/node/install2const twilio = require("twilio"); // Or, for ESM: import twilio from "twilio";34// Find your Account SID at twilio.com/console5// Provision API Keys at twilio.com/console/runtime/api-keys6// and set the environment variables. See http://twil.io/secure7// For local testing, you can use your Account SID and Auth token8const accountSid = process.env.TWILIO_ACCOUNT_SID;9const apiKey = process.env.TWILIO_API_KEY;10const apiSecret = process.env.TWILIO_API_SECRET;11const client = twilio(apiKey, apiSecret, { accountSid: accountSid });1213async function createQueryResults() {14const query = await client.insights.v3.query.create({15domain: "Conversations",16query: {17measures: ["ConversationSummary.Count"],18dimensions: ["ConversationSummary.TaskCompletion"],19filters: [20{21expressions: [22{23op: "GT",24field: "ConversationSummary.CreatedDate",25values: ["2026-11-01"],26},27{28op: "EQ",29field: "ConversationSummary.HasAIAgent",30values: ["true"],31},32],33},34],35},36});3738console.log(query.domain);39}4041createQueryResults();
The response returns one row per label:
1{2"domain": "Conversations",3"items": [4{5"ConversationSummary.TaskCompletion": "RESOLVED",6"ConversationSummary.Count": "84"7},8{9"ConversationSummary.TaskCompletion": "ESCALATED",10"ConversationSummary.Count": "21"11},12{13"ConversationSummary.TaskCompletion": "UNRESOLVED",14"ConversationSummary.Count": "15"15}16],17"meta": {18"key": "items",19"nextToken": null,20"pageSize": 50,21"previousToken": null22}23}
To calculate the resolution rate, divide the RESOLVED count by the total across all labels. In this example, AI agents resolved 84 of 120 conversations, a resolution rate of 70%. Conversations the operator didn't run on have a null label, so leave that group out of the total.
Find out how often your AI agents give customers incorrect or inconsistent information. The Hallucination Detection operator (public beta) sets ConversationSummary.HasHallucination to true when it finds at least one hallucination in a conversation. Filter on HasAIAgent and group by HasHallucination:
1// Download the helper library from https://www.twilio.com/docs/node/install2const twilio = require("twilio"); // Or, for ESM: import twilio from "twilio";34// Find your Account SID at twilio.com/console5// Provision API Keys at twilio.com/console/runtime/api-keys6// and set the environment variables. See http://twil.io/secure7// For local testing, you can use your Account SID and Auth token8const accountSid = process.env.TWILIO_ACCOUNT_SID;9const apiKey = process.env.TWILIO_API_KEY;10const apiSecret = process.env.TWILIO_API_SECRET;11const client = twilio(apiKey, apiSecret, { accountSid: accountSid });1213async function createQueryResults() {14const query = await client.insights.v3.query.create({15domain: "Conversations",16query: {17measures: ["ConversationSummary.Count"],18dimensions: ["ConversationSummary.HasHallucination"],19filters: [20{21expressions: [22{23op: "GT",24field: "ConversationSummary.CreatedDate",25values: ["2026-11-01"],26},27{28op: "EQ",29field: "ConversationSummary.HasAIAgent",30values: ["true"],31},32],33},34],35},36});3738console.log(query.domain);39}4041createQueryResults();
The response returns the number of conversations with and without a hallucination:
1{2"domain": "Conversations",3"items": [4{5"ConversationSummary.HasHallucination": false,6"ConversationSummary.Count": "102"7},8{9"ConversationSummary.HasHallucination": true,10"ConversationSummary.Count": "18"11}12],13"meta": {14"key": "items",15"nextToken": null,16"pageSize": 50,17"previousToken": null18}19}
To calculate the hallucination rate, divide the true count by the total. In this example, 18 of 120 AI agent conversations contained a hallucination, a rate of 15%. Conversations the operator didn't run on have null for HasHallucination, so leave that group out of the total. To see which kind of hallucination occurred, add HasExternalContextConflict or HasConversationContextConflict to dimensions.
Compare how often AI agents and human agents resolve the customer's task. Group the Task Completion label by both agent flags, so conversations handled only by an AI agent, only by a human agent, or handed off between them each form their own group:
1// Download the helper library from https://www.twilio.com/docs/node/install2const twilio = require("twilio"); // Or, for ESM: import twilio from "twilio";34// Find your Account SID at twilio.com/console5// Provision API Keys at twilio.com/console/runtime/api-keys6// and set the environment variables. See http://twil.io/secure7// For local testing, you can use your Account SID and Auth token8const accountSid = process.env.TWILIO_ACCOUNT_SID;9const apiKey = process.env.TWILIO_API_KEY;10const apiSecret = process.env.TWILIO_API_SECRET;11const client = twilio(apiKey, apiSecret, { accountSid: accountSid });1213async function createQueryResults() {14const query = await client.insights.v3.query.create({15domain: "Conversations",16query: {17measures: ["ConversationSummary.Count"],18dimensions: [19"ConversationSummary.HasAIAgent",20"ConversationSummary.HasHumanAgent",21"ConversationSummary.TaskCompletion",22],23filters: [24{25expressions: [26{27op: "GT",28field: "ConversationSummary.CreatedDate",29values: ["2026-11-01"],30},31],32},33],34},35});3637console.log(query.domain);38}3940createQueryResults();
The response returns one row per combination of agent type and label:
1{2"domain": "Conversations",3"items": [4{5"ConversationSummary.HasAIAgent": true,6"ConversationSummary.HasHumanAgent": false,7"ConversationSummary.TaskCompletion": "RESOLVED",8"ConversationSummary.Count": "84"9},10{11"ConversationSummary.HasAIAgent": true,12"ConversationSummary.HasHumanAgent": false,13"ConversationSummary.TaskCompletion": "UNRESOLVED",14"ConversationSummary.Count": "15"15},16{17"ConversationSummary.HasAIAgent": true,18"ConversationSummary.HasHumanAgent": true,19"ConversationSummary.TaskCompletion": "ESCALATED",20"ConversationSummary.Count": "21"21},22{23"ConversationSummary.HasAIAgent": false,24"ConversationSummary.HasHumanAgent": true,25"ConversationSummary.TaskCompletion": "RESOLVED",26"ConversationSummary.Count": "63"27},28{29"ConversationSummary.HasAIAgent": false,30"ConversationSummary.HasHumanAgent": true,31"ConversationSummary.TaskCompletion": "UNRESOLVED",32"ConversationSummary.Count": "22"33}34],35"meta": {36"key": "items",37"nextToken": null,38"pageSize": 50,39"previousToken": null40}41}
In this example, human agents resolved 63 of 85 conversations, a resolution rate of 74%, compared with 70% for conversations that involved an AI agent. The 21 escalated conversations have both flags set to true because the human agent joined the same conversation after the AI agent handed it off. If your escalations continue in a separate conversation, the escalated conversation has only HasAIAgent set to true. For a full walkthrough of supervising AI agents with these operators, see Supervise AI agents.
Find out which kinds of hallucinations your AI agents produce. The Hallucination Detection operator sets a separate dimension for each finding type:
HasExternalContextConflict: The agent contradicted your Enterprise Knowledge or Conversation Memory.HasConversationContextConflict: The agent contradicted something said earlier in the conversation.HasContextGap: The agent made a claim that can't be verified. A context gap isn't counted as a hallucination.
Group by all three to count conversations for each combination of finding types. The type dimensions are null for conversations the operator didn't analyze and false when it ran but found no finding of that type. To leave out conversations the operator didn't analyze, filter with NE null on HasHallucination:
1// Download the helper library from https://www.twilio.com/docs/node/install2const twilio = require("twilio"); // Or, for ESM: import twilio from "twilio";34// Find your Account SID at twilio.com/console5// Provision API Keys at twilio.com/console/runtime/api-keys6// and set the environment variables. See http://twil.io/secure7// For local testing, you can use your Account SID and Auth token8const accountSid = process.env.TWILIO_ACCOUNT_SID;9const apiKey = process.env.TWILIO_API_KEY;10const apiSecret = process.env.TWILIO_API_SECRET;11const client = twilio(apiKey, apiSecret, { accountSid: accountSid });1213async function createQueryResults() {14const query = await client.insights.v3.query.create({15domain: "Conversations",16query: {17measures: ["ConversationSummary.Count"],18dimensions: [19"ConversationSummary.HasExternalContextConflict",20"ConversationSummary.HasConversationContextConflict",21"ConversationSummary.HasContextGap",22],23filters: [24{25op: "AND",26expressions: [27{28op: "IN",29field: "OperatorResult.Value",30values: ["positive", "negative"],31},32],33},34],35},36});3738console.log(query.domain);39}4041createQueryResults();
The response returns one row per combination of finding types:
1{2"domain": "Conversations",3"items": [4{5"ConversationSummary.HasExternalContextConflict": true,6"ConversationSummary.HasConversationContextConflict": false,7"ConversationSummary.HasContextGap": false,8"ConversationSummary.Count": "12"9},10{11"ConversationSummary.HasExternalContextConflict": false,12"ConversationSummary.HasConversationContextConflict": true,13"ConversationSummary.HasContextGap": false,14"ConversationSummary.Count": "4"15},16{17"ConversationSummary.HasExternalContextConflict": true,18"ConversationSummary.HasConversationContextConflict": true,19"ConversationSummary.HasContextGap": false,20"ConversationSummary.Count": "2"21},22{23"ConversationSummary.HasExternalContextConflict": false,24"ConversationSummary.HasConversationContextConflict": false,25"ConversationSummary.HasContextGap": true,26"ConversationSummary.Count": "9"27},28{29"ConversationSummary.HasExternalContextConflict": false,30"ConversationSummary.HasConversationContextConflict": false,31"ConversationSummary.HasContextGap": false,32"ConversationSummary.Count": "93"33}34],35"meta": {36"key": "items",37"nextToken": null,38"pageSize": 50,39"previousToken": null40}41}
To calculate the rate for a finding type, add the counts of every row where that dimension is true and divide by the total. A conversation can have more than one finding type, so the same conversation can count toward more than one rate. In this example, out of 120 AI agent conversations:
| Finding type | Conversations | Rate |
|---|---|---|
| External context conflict | 14 | 11.7% |
| Conversation context conflict | 6 | 5% |
| Context gap | 9 | 7.5% |
To break findings down further by source, such as Enterprise Knowledge or Conversation Memory, query OperatorResult.DetectedHallucination on the OperatorResult cube. See Query Twilio-authored operator results.
If you have registered a custom measure, it behaves like any built-in measure, with a Sum, Avg, Min, and Max aggregation for each. This example uses LeadScoreAvg to average a LeadScore measure by channel, so you can see which channels produce the highest-intent conversations:
1// Download the helper library from https://www.twilio.com/docs/node/install2const twilio = require("twilio"); // Or, for ESM: import twilio from "twilio";34// Find your Account SID at twilio.com/console5// Provision API Keys at twilio.com/console/runtime/api-keys6// and set the environment variables. See http://twil.io/secure7// For local testing, you can use your Account SID and Auth token8const accountSid = process.env.TWILIO_ACCOUNT_SID;9const apiKey = process.env.TWILIO_API_KEY;10const apiSecret = process.env.TWILIO_API_SECRET;11const client = twilio(apiKey, apiSecret, { accountSid: accountSid });1213async function createQueryResults() {14const query = await client.insights.v3.query.create({15domain: "Conversations",16query: {17measures: ["ConversationSummary.LeadScoreAvg"],18dimensions: ["ConversationSummary.Channels"],19filters: [20{21expressions: [22{23op: "GT",24field: "ConversationSummary.CreatedDate",25values: ["2026-04-02"],26},27],28},29],30},31});3233console.log(query.domain);34}3536createQueryResults();
Replace LeadScore with the name you chose when registering the measure. Conversations where the source operator didn't run return null, so they form their own group rather than counting toward another channel's average.
To get the total conversation count, make a POST request to the Query endpoint.
1// Download the helper library from https://www.twilio.com/docs/node/install2const twilio = require("twilio"); // Or, for ESM: import twilio from "twilio";34// Find your Account SID at twilio.com/console5// Provision API Keys at twilio.com/console/runtime/api-keys6// and set the environment variables. See http://twil.io/secure7// For local testing, you can use your Account SID and Auth token8const accountSid = process.env.TWILIO_ACCOUNT_SID;9const apiKey = process.env.TWILIO_API_KEY;10const apiSecret = process.env.TWILIO_API_SECRET;11const client = twilio(apiKey, apiSecret, { accountSid: accountSid });1213async function createQueryResults() {14const query = await client.insights.v3.query.create({15domain: "Conversations",16query: {17measures: ["Conversation.Count"],18filters: [19{20expressions: [21{22op: "GT",23field: "Conversation.CreatedDate",24values: ["2026-04-02"],25},26],27},28],29},30});3132console.log(query.domain);33}3435createQueryResults();
The response includes your aggregated data:
1{2"domain": "Conversations",3"items": [4{5"Conversation.Count": "2"6}7],8"meta": {9"key": "items",10"nextToken": null,11"pageSize": 50,12"previousToken": null13}14}
Query conversations grouped by dimensions. This example counts conversations by status:
1// Download the helper library from https://www.twilio.com/docs/node/install2const twilio = require("twilio"); // Or, for ESM: import twilio from "twilio";34// Find your Account SID at twilio.com/console5// Provision API Keys at twilio.com/console/runtime/api-keys6// and set the environment variables. See http://twil.io/secure7// For local testing, you can use your Account SID and Auth token8const accountSid = process.env.TWILIO_ACCOUNT_SID;9const apiKey = process.env.TWILIO_API_KEY;10const apiSecret = process.env.TWILIO_API_SECRET;11const client = twilio(apiKey, apiSecret, { accountSid: accountSid });1213async function createQueryResults() {14const query = await client.insights.v3.query.create({15domain: "Conversations",16query: {17measures: ["Conversation.Count"],18dimensions: ["Conversation.ConversationStatus"],19filters: [20{21expressions: [22{23op: "GT",24field: "Conversation.CreatedDate",25values: ["2026-04-02"],26},27],28},29],30},31});3233console.log(query.domain);34}3536createQueryResults();
The response groups results by status:
1{2"domain": "Conversations",3"items": [4{5"Conversation.ConversationStatus": "ACTIVE",6"Conversation.Count": "15"7}8],9"meta": {10"key": "items",11"nextToken": null,12"pageSize": 50,13"previousToken": null14}15}
Query operator results to analyze intelligence operators run on your conversations. This example counts operator results grouped by operator name:
1// Download the helper library from https://www.twilio.com/docs/node/install2const twilio = require("twilio"); // Or, for ESM: import twilio from "twilio";34// Find your Account SID at twilio.com/console5// Provision API Keys at twilio.com/console/runtime/api-keys6// and set the environment variables. See http://twil.io/secure7// For local testing, you can use your Account SID and Auth token8const accountSid = process.env.TWILIO_ACCOUNT_SID;9const apiKey = process.env.TWILIO_API_KEY;10const apiSecret = process.env.TWILIO_API_SECRET;11const client = twilio(apiKey, apiSecret, { accountSid: accountSid });1213async function createQueryResults() {14const query = await client.insights.v3.query.create({15domain: "Conversations",16query: {17measures: ["OperatorResult.Count"],18dimensions: ["OperatorResult.OperatorName"],19filters: [20{21expressions: [22{23op: "GT",24field: "OperatorResult.CreatedDate",25values: ["2026-04-02"],26},27],28},29],30},31});3233console.log(query.domain);34}3536createQueryResults();
The response groups results by operator name:
1{2"domain": "Conversations",3"items": [4{5"OperatorResult.Count": "168",6"OperatorResult.OperatorName": "Sentiment"7},8{9"OperatorResult.Count": "205",10"OperatorResult.OperatorName": "Agent-Task-Completion"11},12{13"OperatorResult.Count": "205",14"OperatorResult.OperatorName": "Hallucination-Detection"15}16],17"meta": {18"key": "items",19"nextToken": null,20"pageSize": 50,21"previousToken": null22}23}
Query operator results that used a specific Knowledge Base. This example retrieves conversations and operator names filtered by Knowledge Base ID:
1// Download the helper library from https://www.twilio.com/docs/node/install2const twilio = require("twilio"); // Or, for ESM: import twilio from "twilio";34// Find your Account SID at twilio.com/console5// Provision API Keys at twilio.com/console/runtime/api-keys6// and set the environment variables. See http://twil.io/secure7// For local testing, you can use your Account SID and Auth token8const accountSid = process.env.TWILIO_ACCOUNT_SID;9const apiKey = process.env.TWILIO_API_KEY;10const apiSecret = process.env.TWILIO_API_SECRET;11const client = twilio(apiKey, apiSecret, { accountSid: accountSid });1213async function createQueryResults() {14const query = await client.insights.v3.query.create({15domain: "Conversations",16query: {17dimensions: [18"OperatorResult.ConversationId",19"OperatorResult.OperatorName",20"OperatorResult.KnowledgeBaseId",21],22filters: [23{24op: "AND",25expressions: [26{27op: "GT",28field: "OperatorResult.CreatedDate",29values: ["2026-04-10"],30},31{32op: "EQ",33field: "OperatorResult.KnowledgeBaseId",34values: ["know_knowledgebase_xxxxxxxxxxxxxxxxxxxxxxxxxxxx"],35},36],37},38],39},40});4142console.log(query.domain);43}4445createQueryResults();
The response returns operator results filtered by the specified Knowledge Base:
1{2"domain": "Conversations",3"items": [4{5"OperatorResult.ConversationId": "conv_conversation_xxxxxxxxxxxxxxxxxxxxxxxxxxxx",6"OperatorResult.OperatorName": "Sentiment",7"OperatorResult.KnowledgeBaseId": "know_knowledgebase_xxxxxxxxxxxxxxxxxxxxxxxxxxxx"8}9],10"meta": {11"key": "items",12"nextToken": null,13"pageSize": 1,14"previousToken": null15}16}
To run queries asynchronously, use the QueryJobs resource instead of the Query resource. If you don't need results immediately, such as a query that takes longer than a synchronous request allows, you can submit it and check back for results later.
1// Download the helper library from https://www.twilio.com/docs/node/install2const twilio = require("twilio"); // Or, for ESM: import twilio from "twilio";34// Find your Account SID at twilio.com/console5// Provision API Keys at twilio.com/console/runtime/api-keys6// and set the environment variables. See http://twil.io/secure7// For local testing, you can use your Account SID and Auth token8const accountSid = process.env.TWILIO_ACCOUNT_SID;9const apiKey = process.env.TWILIO_API_KEY;10const apiSecret = process.env.TWILIO_API_SECRET;11const client = twilio(apiKey, apiSecret, { accountSid: accountSid });1213async function createQueryJob() {14const queryJob = await client.insights.v3.queryJobs.create({15domain: "Conversations",16query: {17dimensions: [18"OperatorResult.ConversationId",19"OperatorResult.OperatorName",20"OperatorResult.OperatorLabel",21],22filters: [23{24expressions: [25{26op: "GT",27field: "OperatorResult.CreatedDate",28values: ["2026-01-01"],29},30],31},32],33},34});3536console.log(queryJob.operationId);37}3839createQueryJob();
Twilio returns an operationId and a statusUrl. See Asynchronous queries for how to poll for completion and retrieve results.
To learn more about Conversation Insights, see the following resources:
- Core concepts: Understand cubes, measures, and dimensions.
- Query syntax: Learn how to construct complex queries with filters, ordering, and pagination.
- Sync to Data Destinations: Send one summary record per conversation to your data warehouse, observability, or analytics tools.