---
title: "Retrieve asynchronous query status and results"
method: GET
path: "/v3/InsightsDomains/Conversations/QueryJobs/{operationId}"
tags: ["TwilioInsightsAsync"]
---

# Retrieve asynchronous query status and results

`GET /v3/InsightsDomains/Conversations/QueryJobs/{operationId}`

## Request

- Base URL: `https://insights.twilio.com`
- URL: `https://insights.twilio.com/v3/InsightsDomains/Conversations/QueryJobs/{operationId}`
- Auth: HTTP basic

Poll 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.

## Path parameters

- `operationId` string, Proc_JobTtid, required

## Response `200`

Operation status (may include results if COMPLETED)

- QueryJobStatusResponse: The status response for an async query operation. Conforms to LongRunningOperationStatusResponse from Twilio API Standards.
  - `operationId` string, Proc_JobTtid, required: The unique identifier for the asynchronous query operation, in TTID format.
  - `status` 'PENDING' | 'RUNNING' | 'CANCELLED' | 'COMPLETED' | 'FAILED', required: The valid status values for long-running operations.
  - `statusUrl` string, uri
  - `createdAt` string, date-time, required
  - `completedAt` string, date-time, nullable: The time when the operation reached a terminal state (CANCELLED, COMPLETED, or FAILED), in RFC 3339 UTC format. Null while the operation is still PENDING or RUNNING.
  - `error` OperationError: The error details for a failed operation, embedded inside a 200 OK operation envelope.
    - `code` integer, required: Twilio-specific error code
    - `message` string, required: A human readable error message
    - `httpStatusCode` integer, required: HTTP status code that would have been returned for a synchronous failure
    - `detail` string, nullable: Additional context about the failure
  - `resultUrl` string, uri, nullable: The URL to retrieve query results, present only when status is COMPLETED. Supports pagination via the pageSize and pageToken query parameters.
  - `resultId` string, nullable: The identifier of the results resource, present only when status is COMPLETED. Equal to operationId, since results are keyed by the operation ID.
  - `resultRetentionPeriod` string, duration, nullable: The duration for how long results are retained, in ISO 8601 format.

## Other responses

- `404`: Resource not found
- `429`: Too Many requests (rate limit exceeded for request originating from public API)
- `500`: Internal server error

## Changes

- **2026-09-09** (v3) `3ac5589aa4e8`: 1 info
  - endpoint added
- **2026-08-13** (v3) `d70749dd30fe`: 1 breaking
  - api path removed without deprecation
- **2026-08-11** (v3) `f1a111f65ec1`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/twilio/apis/insights-v3/changes/v3/InsightsDomains/Conversations/QueryJobs/:operationId/get.md)

---

[API](https://skmtc.dev/twilio/apis/insights-v3.md) - [All operations](https://skmtc.dev/twilio/apis/insights-v3/llms.txt) - [OpenAPI document](https://skmtc.dev/twilio/apis/insights-v3/revisions/68c9e65dfd52?raw)
