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

Request

  • Base URL
    https://connect.weld.app
  • URL
    https://connect.weld.app/transforms/query_previews/{queryExecutionId}/status
  • Auth
    API key in header x-api-key

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"
}

Changes

No recorded changes to this operation across all 21 revisions of this API.