latestOpenAPI 3.0.02026-08-137192110.1 KB

75294f591cc2

Transforms

Get query preview status

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

get/transforms/query_previews/{queryExecutionId}/status

Path parameters

queryExecutionIdstring required

The query execution ID returned from the create query preview endpoint.

Response

status'RUNNING' | 'DONE' | 'FAILED' required

The current status of the query execution.

errorstring

Error message when the query execution has failed. Only present when status is FAILED.

Example response

{
  "status": "DONE",
  "error": "SQL compilation error: Object does not exist"
}