latestOpenAPI 3.0.02026-08-137192110.1 KB

75294f591cc2

Transforms

Get query preview result

Retrieve the results of a completed async query preview. Only call this endpoint after the status endpoint returns "DONE".

get/transforms/query_previews/{queryExecutionId}/result

Path parameters

queryExecutionIdstring required

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

Response

rowsobject[] required

The result rows of the query execution.

num_rows_totalnumber required

The total number of rows matching the query (may be larger than the returned rows).

Example response

{
  "rows": [
    {
      "id": 1,
      "name": "John"
    },
    {
      "id": 2,
      "name": "Jane"
    }
  ],
  "num_rows_total": 1000
}