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.| Parameter | In | Type | Required | About |
|---|---|---|---|---|
pipeline_id | path | string | yes |
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
| Field | Type | About |
|---|---|---|
id | string | |
pipeline_id | string | |
trigger | string | |
status | string | |
range_start | date or null | |
range_end | date or null | |
attempts | integer | |
rows_in | integer | |
rows_out | integer | |
error | string or null | |
queued_at | date-time | |
started_at | date-time or null | |
finished_at | date-time or null |
Errors
400The request is invalid: a bad date, range, field or limit.401No credential, or one that is unknown, revoked or expired.403The credential lacks the scope this operation needs.404No such object in the credential's workspace.409A run is already queued or running for this pipeline, or the plan does not allow it.429Over the rate limit; see the Retry-After header.