TwilioInsightsAsync
Retrieve asynchronous query status and results
Changed onPoll the operation status. When status is COMPLETED, the response includes query results inline. When FAILED, the response includes error details conforming to the OperationError schema.
get/v3/InsightsDomains/Conversations/QueryJobs/{operationId}
Request
- Base URLhttps://insights.twilio.com
- URLhttps://insights.twilio.com/v3/InsightsDomains/Conversations/QueryJobs/{operationId}
- AuthHTTP basic
Path parameters
operationIdstring Proc_JobTtid required
Example:proc_job_01h9d8r0vte3hz8tykdj329t7r
The unique identifier for the asynchronous query operation, in TTID format.
Response
Operation status (may include results if COMPLETED)
Example response
{
"operationId": "proc_job_01h9d8r0vte3hz8tykdj329t7r",
"statusUrl": "https://insights.twilio.com/v3/InsightsDomains/Conversations/QueryJobs/proc_job_01h9d8r0vte3hz8tykdj329t7r",
"createdAt": "2026-05-25T14:30:00Z",
"completedAt": "2026-05-25T14:32:17Z",
"error": {
"code": 50001,
"message": "Query execution timeout exceeded",
"httpStatusCode": 504,
"detail": "Query exceeded the 120s execution limit."
},
"resultUrl": "https://insights.twilio.com/v3/InsightsDomains/Conversations/QueryJobs/proc_job_01h9d8r0vte3hz8tykdj329t7r/Results",
"resultId": "proc_job_01h9d8r0vte3hz8tykdj329t7r",
"resultRetentionPeriod": "P7D"
}Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking