TwilioInsightsAsync
Retrieve asynchronous query results
Changed onRetrieve paginated results for a completed asynchronous query operation. The resultUrl in the status response points to this endpoint. Returns 404 if the operation is not yet COMPLETED or has expired.
get/v3/InsightsDomains/Conversations/QueryJobs/{operationId}/Results
Request
- Base URLhttps://insights.twilio.com
- URLhttps://insights.twilio.com/v3/InsightsDomains/Conversations/QueryJobs/{operationId}/Results
- AuthHTTP basic
Path parameters
operationIdstring Proc_JobTtid required
Example:proc_job_01h9d8r0vte3hz8tykdj329t7r
The unique identifier for the asynchronous query operation, in TTID format.
Query parameters
pageSizeinteger
The maximum number of resources to return
pageTokenstring
Token for pagination
Response
Query results
Example response
{
"domain": "Insights",
"items": [
{
"Id": "conv1",
"Languages": [
"en"
],
"Channels": [
"voice"
],
"OperatorResult.Value": "positive"
},
{
"Id": "conv2",
"Languages": [
"en",
"es"
],
"Channels": [
"chat"
],
"OperatorResult.Value": "negative"
}
],
"meta": {
"key": "items",
"pageSize": 20,
"previousToken": "eyJwYWdlIjowLCJxdWVyeSI6ImJvb2tzIn0=",
"nextToken": "eyJwYWdlIjoyLCJxdWVyeSI6ImJvb2tzIn0="
}
}Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking