## List Pipelines

`PipelineListPaginatedPageResponse Pipelines.ListPaginated(PipelineListPaginatedParams?parameters, CancellationTokencancellationToken = default)`

**get** `/api/v2/pipelines`

List the pipelines in a project, newest first.

### Parameters

- `PipelineListPaginatedParams parameters`

  - `string? name`

  - `string? organizationID`

  - `Long? pageSize`

  - `string? pageToken`

  - `PipelineType? pipelineType`

    - `"MANAGED"Managed`

    - `"PLAYGROUND"Playground`

  - `string? projectID`

### Returns

- `class PipelineListPaginatedPageResponse:`

  A page of pipelines.

  - `required IReadOnlyList<PipelineListPaginatedResponse> Items`

    The list of items.

    - `required string ID`

      The pipeline's unique identifier.

    - `required string Name`

      The pipeline's display name.

    - `required PipelineType PipelineType`

      The pipeline's type.

      - `"MANAGED"Managed`

      - `"PLAYGROUND"Playground`

    - `required string ProjectID`

      The project the pipeline belongs to.

    - `DateTimeOffset? CreatedAt`

      Creation datetime

    - `Status? Status`

      The pipeline's current status.

      - `"CREATED"Created`

      - `"DELETING"Deleting`

    - `DateTimeOffset? UpdatedAt`

      Update datetime

  - `string? NextPageToken`

    A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

  - `Long? TotalSize`

    The total number of items available. This is only populated when specifically requested. The value may be an estimate and can be used for display purposes only.

### Example

```csharp
PipelineListPaginatedParams parameters = new();

var page = await client.Pipelines.ListPaginated(parameters);
await foreach (var item in page.Paginate())
{
    Console.WriteLine(item);
}
```

#### Response

```json
{
  "items": [
    {
      "id": "id",
      "name": "name",
      "pipeline_type": "MANAGED",
      "project_id": "project_id",
      "created_at": "2019-12-27T18:11:19.117Z",
      "status": "CREATED",
      "updated_at": "2019-12-27T18:11:19.117Z"
    }
  ],
  "next_page_token": "next_page_token",
  "total_size": 0
}
```
