Runs Run Pipeline

POST {{baseUrl}}/:organization/:project/_apis/pipelines/:pipelineId/runs?pipelineVersion=<integer>&api-version=<string>

Runs a pipeline.

Request Params

| Key | Datatype | Required | Description | | pipelineVersion | string | | The pipeline version. | | api-version | string | | (Required) Version of the API to use. This should be set to '6.1-preview.1' to use this version of the api. |

Request Body

{&quot;previewRun&quot;=&gt;&quot;&lt;boolean&gt;&quot;, &quot;resources&quot;=&gt;{&quot;builds&quot;=&gt;&quot;&lt;object&gt;&quot;, &quot;containers&quot;=&gt;&quot;&lt;object&gt;&quot;, &quot;packages&quot;=&gt;&quot;&lt;object&gt;&quot;, &quot;pipelines&quot;=&gt;&quot;&lt;object&gt;&quot;, &quot;repositories&quot;=&gt;&quot;&lt;object&gt;&quot;}, &quot;stagesToSkip&quot;=&gt;[&quot;&lt;string&gt;&quot;, &quot;&lt;string&gt;&quot;], &quot;templateParameters&quot;=&gt;&quot;&lt;object&gt;&quot;, &quot;variables&quot;=&gt;&quot;&lt;object&gt;&quot;, &quot;yamlOverride&quot;=&gt;&quot;&lt;string&gt;&quot;}

HEADERS

| Key | Datatype | Required | Description | | Content-Type | string | | |

RESPONSES

status: OK

{&quot;id&quot;:&quot;\u003cinteger\u003e&quot;,&quot;name&quot;:&quot;\u003cstring\u003e&quot;}