Skip to Content
OpenETL
ReferenceAPIPipeline Service

Preflight pipeline

Whether the current version would run, without reading or writing records. On a runner of the pipeline's data plane it checks the source's and the destination's connections, settles what a sync would read and write, and runs both connectors' preflights for that; then it refreshes the source's catalog and plans the pipeline. It waits for all of it.

POST
/v1/workspaces/{workspace}/pipelines/{pipeline}:preflight

Whether the current version would run, without reading or writing records. On a runner of the pipeline's data plane it checks the source's and the destination's connections, settles what a sync would read and write, and runs both connectors' preflights for that; then it refreshes the source's catalog and plans the pipeline. It waits for all of it.

Path Parameters

workspace*string

The workspace id.

pipeline*string

The pipeline id.

Request Body

application/json
  1. body
name?string

workspaces/{workspace}/pipelines/{pipeline}

Response Body

OK

application/json
  1. response
result?

PreflightResult is a pipeline's preflight: its parts, in the order they ran.

Example Request
curl -X POST 'http://localhost:8080/v1/workspaces/string/pipelines/string:preflight' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "result": {    "ok": true,    "version": "string",    "parts": [      {        "role": "string",        "stage": "string",        "resource": "string",        "version": "string",        "ok": true,        "code": "string",        "message": "string",        "skipped": "string",        "items": [          {            "name": "string",            "title": "string",            "status": "string",            "message": "string",            "code": "string",            "fix": "string",            "field": "string",            "kind": "string",            "description": "string",            "reason": "string",            "params": {              "property1": "string",              "property2": "string"            },            "detail": "string",            "duration": "string"          }        ]      }    ]  }}