---
title: "Run pipeline."
method: POST
path: "/kapis/devops.kubesphere.io/v1alpha2/namespaces/{devops}/pipelines/{pipeline}/runs"
tags: ["DevOps Pipeline"]
---

# Run pipeline.

`POST /kapis/devops.kubesphere.io/v1alpha2/namespaces/{devops}/pipelines/{pipeline}/runs`

## Path parameters

- `devops` string, required
- `pipeline` string, required

## Request body

- DevopsRunPayload
  - `parameters` DevopsParameter[]
    - `name` string — name
    - `value` unknown

## Response `200`

ok

- DevopsRunPipeline
  - `_class` string — It’s a fully qualified name and is an identifier of the producer of this resource's capability.
  - `_links` Links
    - `actions` Actions
      - `_class` string
      - `href` string
    - `branches` Branches
      - `_class` string
      - `href` string
    - `queue` Queue
      - `_class` string
      - `href` string
    - `runs` Runs
      - `_class` string
      - `href` string
    - `scm` Scm
      - `_class` string
      - `href` string
    - `self` Self
      - `_class` string
      - `href` string
    - `trends` Trends
      - `_class` string
      - `href` string
  - `actions` DevopsRunPipelineActions[] — the list of all actions
    - unknown
  - `artifactsZipFile` unknown
  - `causeOfBlockage` string — the cause of blockage
  - `causes` DevopsRunPipelineCauses[]
    - `_class` string — It’s a fully qualified name and is an identifier of the producer of this resource's capability.
    - `shortDescription` string — short description
    - `userId` string — user id
    - `userName` string — user name
  - `changeSet` DevopsRunPipelineChangeSet[] — changeset information
    - unknown
  - `description` unknown
  - `durationInMillis` unknown
  - `enQueueTime` unknown
  - `endTime` unknown
  - `estimatedDurationInMillis` unknown
  - `id` string — id
  - `name` unknown
  - `organization` string — the name of organization
  - `pipeline` string — pipeline
  - `queueId` string — queue id
  - `replayable` boolean — replayable or not
  - `result` string — the result of pipeline run. e.g. SUCCESS
  - `runSummary` unknown
  - `startTime` unknown
  - `state` string — run state. e.g. RUNNING
  - `type` string — type

---

[API](https://skmtc.dev/kubesphere/apis/kubesphere-devops.md) · [All operations](https://skmtc.dev/kubesphere/apis/kubesphere-devops/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/kubesphere/kubesphere-devops/revisions/f2642b25b303/schema)
