## [DEPRECATED] List Pipelines `pipelines.list(PipelineListParams**kwargs) -> PipelineListResponse` **get** `/accounts/{account_id}/pipelines` [DEPRECATED] List, filter, and paginate pipelines in an account. Use the new /pipelines/v1/pipelines endpoint instead. ### Parameters - `account_id: str` Specifies the public ID of the account. - `page: Optional[str]` Specifies which page to retrieve. - `per_page: Optional[str]` Specifies the number of pipelines per page. - `search: Optional[str]` Specifies the prefix of pipeline name to search. ### Returns - `class PipelineListResponse: …` - `result_info: ResultInfo` - `count: float` Indicates the number of items on current page. - `page: float` Indicates the current page number. - `per_page: float` Indicates the number of items per page. - `total_count: float` Indicates the total number of items. - `results: List[Result]` - `id: str` Specifies the pipeline identifier. - `destination: ResultDestination` - `batch: ResultDestinationBatch` - `max_bytes: int` Specifies rough maximum size of files. - `max_duration_s: float` Specifies duration to wait to aggregate batches files. - `max_rows: int` Specifies rough maximum number of rows per file. - `compression: ResultDestinationCompression` - `type: Literal["none", "gzip", "deflate"]` Specifies the desired compression algorithm and format. - `"none"` - `"gzip"` - `"deflate"` - `format: Literal["json"]` Specifies the format of data to deliver. - `"json"` - `path: ResultDestinationPath` - `bucket: str` Specifies the R2 Bucket to store files. - `filename: Optional[str]` Specifies the name pattern to for individual data files. - `filepath: Optional[str]` Specifies the name pattern for directory. - `prefix: Optional[str]` Specifies the base directory within the bucket. - `type: Literal["r2"]` Specifies the type of destination. - `"r2"` - `endpoint: str` Indicates the endpoint URL to send traffic. - `name: str` Defines the name of the pipeline. - `source: List[ResultSource]` - `class ResultSourceCloudflarePipelinesWorkersPipelinesHTTPSource: …` [DEPRECATED] HTTP source configuration. Use the new streams API instead. - `format: Literal["json"]` Specifies the format of source data. - `"json"` - `type: str` - `authentication: Optional[bool]` Specifies whether authentication is required to send to this pipeline via HTTP. - `cors: Optional[ResultSourceCloudflarePipelinesWorkersPipelinesHTTPSourceCORS]` - `origins: Optional[List[str]]` Specifies allowed origins to allow Cross Origin HTTP Requests. - `class ResultSourceCloudflarePipelinesWorkersPipelinesBindingSource: …` [DEPRECATED] Worker binding source configuration. Use the new streams API instead. - `format: Literal["json"]` Specifies the format of source data. - `"json"` - `type: str` - `version: float` Indicates the version number of last saved configuration. - `success: bool` Indicates whether the API call was successful. ### Example ```python import os from cloudflare import Cloudflare client = Cloudflare( api_token=os.environ.get("CLOUDFLARE_API_TOKEN"), # This is the default and can be omitted ) pipelines = client.pipelines.list( account_id="0123105f4ecef8ad9ca31a8372d0c353", ) print(pipelines.result_info) ``` #### Response ```json { "result_info": { "count": 1, "page": 0, "per_page": 10, "total_count": 1 }, "results": [ { "id": "123f8a8258064ed892a347f173372359", "destination": { "batch": { "max_bytes": 1000, "max_duration_s": 0.25, "max_rows": 100 }, "compression": { "type": "gzip" }, "format": "json", "path": { "bucket": "bucket", "filename": "${slug}${extension}", "filepath": "${date}/${hour}", "prefix": "base" }, "type": "r2" }, "endpoint": "https://123f8a8258064ed892a347f173372359.pipelines.cloudflare.com", "name": "sample_pipeline", "source": [ { "format": "json", "type": "type", "authentication": true, "cors": { "origins": [ "*" ] } } ], "version": 2 } ], "success": true } ```