---
title: "Get query preview status"
method: GET
path: "/transforms/query_previews/{queryExecutionId}/status"
tags: ["Transforms"]
---

# Get query preview status

`GET /transforms/query_previews/{queryExecutionId}/status`

Check the execution status of an async query preview. Poll this endpoint until the status is "DONE", then retrieve results.

## Path parameters

- `queryExecutionId` string, required

## Response `200`

- QueryPreviewStatusResponseDto
  - `status` 'RUNNING' | 'DONE' | 'FAILED', required — The current status of the query execution.
  - `error` string — Error message when the query execution has failed. Only present when status is FAILED.

---

[API](https://skmtc.net/weld/apis/weld-rest-api.md) · [All operations](https://skmtc.net/weld/apis/weld-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/weld/weld-rest-api/revisions/75294f591cc2/schema)
