ETLMCPData Conveyance Works
Log in Start free
Docs · operation startRun

Start a run

Queue a sync of the pipeline. With no dates it re-pulls the same trailing window as the nightly run; with `start` and `end` it backfills that range (at most 366 days, within the plan's history). Needs the `run` scope. 409 while a run is already queued or running, or while the plan's limits pause the pipeline or leave no room for it.

POST /api/v1/pipelines/{pipeline_id}/runs

Scope run. Success is HTTP 202.
ParameterInTypeRequiredAbout
pipeline_idpathstringyes

Example

curl -X POST -H "Authorization: Bearer $ETLMCP_API_KEY" -H "Content-Type: application/json" -d '{}' https://app.etlmcp.com/api/v1/pipelines/<pipeline_id>/runs

Response: Run

FieldTypeAbout
idstring
pipeline_idstring
triggerstring
statusstring
range_startdate or null
range_enddate or null
attemptsinteger
rows_ininteger
rows_outinteger
errorstring or null
queued_atdate-time
started_atdate-time or null
finished_atdate-time or null

Errors

  • 400 The request is invalid: a bad date, range, field or limit.
  • 401 No credential, or one that is unknown, revoked or expired.
  • 403 The credential lacks the scope this operation needs.
  • 404 No such object in the credential's workspace.
  • 409 A run is already queued or running for this pipeline, or the plan does not allow it.
  • 429 Over the rate limit; see the Retry-After header.