[DEPRECATED] List Pipelines
Deprecated
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.
Security
API Token
The preferred authorization scheme for interacting with the Cloudflare API. Create a token.
Example:
API Email + API Key
The previous authorization scheme for interacting with the Cloudflare API, used in conjunction with a Global API key.
Example:
The previous authorization scheme for interacting with the Cloudflare API. When possible, use API tokens instead of Global API keys.
Example:
Accepted Permissions (at least one required)
Parameters
[DEPRECATED] List Pipelines
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){
"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
}Returns Examples
{
"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
}