---
title: "Get all runs of the specified pipeline"
method: GET
path: "/kapis/devops.kubesphere.io/v1alpha2/namespaces/{devops}/pipelines/{pipeline}/runs"
tags: ["DevOps Pipeline"]
---

# Get all runs of the specified pipeline

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

## Path parameters

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

## Query parameters

- `start` string, start=%d
- `limit` string, limit=%d
- `branch` string, branch=%s

## Response `200`

ok

- DevopsPipelineRunList
  - `items` DevopsPipelineRun[], required
    - `_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` DevopsPipelineRunActions[] — the list of all actions
      - unknown
    - `artifactsZipFile` unknown
    - `branch` unknown
    - `causeOfBlockage` unknown
    - `causes` DevopsPipelineRunCauses[]
      - `_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` DevopsPipelineRunChangeSet[] — changeset information
      - unknown
    - `commitId` unknown
    - `commitUrl` unknown
    - `description` unknown
    - `durationInMillis` integer — duration time in millis
    - `enQueueTime` string — the time of enter the queue
    - `endTime` string — the time of end
    - `estimatedDurationInMillis` integer — estimated duration time in millis
    - `id` string — id
    - `name` unknown
    - `organization` string — the name of organization
    - `pipeline` string — the name of pipeline
    - `pullRequest` unknown
    - `replayable` boolean — replayable or not
    - `result` string — the result of pipeline run. e.g. SUCCESS
    - `runSummary` string — pipeline run summary
    - `startTime` string — the time of start
    - `state` string — run state. e.g. RUNNING
    - `type` string — type
  - `totalItems` integer, required

---

[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)
