[DEPRECATED] Get Pipeline
Deprecated
GET/accounts/{account_id}/pipelines/{pipeline_name}
[DEPRECATED] Get configuration of a pipeline. 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)
Path Parameters
[DEPRECATED] Get Pipeline
curl https://api.cloudflare.com/client/v4/accounts/$ACCOUNT_ID/pipelines/$PIPELINE_NAME \
-H "Authorization: Bearer $CLOUDFLARE_API_TOKEN"{
"result": {
"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": {
"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
}