## List Pipelines

`client.pipelines.listPaginated(PipelineListPaginatedParamsquery?, RequestOptionsoptions?): PaginatedCursor<PipelineListPaginatedResponse>`

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

List the pipelines in a project, newest first.

### Parameters

- `query: PipelineListPaginatedParams`

  - `name?: string | null`

  - `organization_id?: string | null`

  - `page_size?: number | null`

  - `page_token?: string | null`

  - `pipeline_type?: "MANAGED" | "PLAYGROUND" | null`

    - `"MANAGED"`

    - `"PLAYGROUND"`

  - `project_id?: string | null`

### Returns

- `PipelineListPaginatedResponse`

  A pipeline in a project.

  - `id: string`

    The pipeline's unique identifier.

  - `name: string`

    The pipeline's display name.

  - `pipeline_type: "MANAGED" | "PLAYGROUND"`

    The pipeline's type.

    - `"MANAGED"`

    - `"PLAYGROUND"`

  - `project_id: string`

    The project the pipeline belongs to.

  - `created_at?: string | null`

    Creation datetime

  - `status?: "CREATED" | "DELETING" | null`

    The pipeline's current status.

    - `"CREATED"`

    - `"DELETING"`

  - `updated_at?: string | null`

    Update datetime

### Example

```typescript
import LlamaCloud from '@llamaindex/llama-cloud';

const client = new LlamaCloud({
  apiKey: process.env['LLAMA_CLOUD_API_KEY'], // This is the default and can be omitted
});

// Automatically fetches more pages as needed.
for await (const pipelineListPaginatedResponse of client.pipelines.listPaginated()) {
  console.log(pipelineListPaginatedResponse.id);
}
```

#### 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
}
```
