---
title: "[DEPRECATED] Update Pipeline"
---

[Skip to content](#_top)

[API Reference](https://developers.cloudflare.com/api/typescript)

[Pipelines](https://developers.cloudflare.com/api/typescript/resources/pipelines)

Copy Markdown

Open in **Claude**Open in **ChatGPT**Open in **Cursor**

---

**Copy Markdown****View as Markdown**

# \[DEPRECATED] Update Pipeline

Deprecated: The v1 API does not support updates. This endpoint will be removed in the future.

client.pipelines.update(stringpipelineName, PipelineUpdateParams {account\_id, destination, name, source } params, RequestOptionsoptions?): [PipelineUpdateResponse](<https://developers.cloudflare.com/api/typescript/resources/pipelines#(resource)%20pipelines%20%3E%20(model)%20pipeline_update_response%20%3E%20(schema)>) {id, destination, endpoint, 3 more }

PUT/accounts/{account\_id}/pipelines/{pipeline\_name}

\[DEPRECATED] Update an existing pipeline. Use the new /pipelines/v1/pipelines endpoint instead.

##### Security

<details>

<summary>API Token</summary>



The preferred authorization scheme for interacting with the Cloudflare API. <a href="https://developers.cloudflare.com/fundamentals/api/get-started/create-token/">Create a token</a>.

**Example:**<code>Authorization: Bearer Sn3lZJTBX6kkg7OdcBUAxOO963GEIyGQqnFTOFYY</code>

</details>

<details>

<summary>API Email + API Key</summary>



The previous authorization scheme for interacting with the Cloudflare API, used in conjunction with a Global API key.

**Example:**<code>X-Auth-Email: user@example.com</code>

The previous authorization scheme for interacting with the Cloudflare API. When possible, use API tokens instead of Global API keys.

**Example:**<code>X-Auth-Key: 144c9defac04969c7bfad8efaa8ea194</code>

</details>

##### Accepted Permissions (at least one required)

`Pipelines Write`

##### ParametersExpand Collapse

pipelineName: string

Defines the name of the pipeline.

maxLength128

minLength1

[Link to this property](<#(resource)%20pipelines%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20pipeline_name%20%3E%20(schema)>)

<details>

<summary>

params: PipelineUpdateParams {account\_id, destination, name, source }

</summary>

account\_id: string

Path param: Specifies the public ID of the account.

<a href="#(resource)%20pipelines%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20account_id">Link to this property</a>

<details>

<summary>

destination: <a href="https://developers.cloudflare.com/api/typescript/resources/pipelines/methods/update#(resource)%20pipelines%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20destination%20%3E%20(schema)">Destination</a>

Body param

</summary>

<details>

<summary>

batch: Batch {max\_bytes, max\_duration\_s, max\_rows }

</summary>

max\_bytes?: number

Specifies rough maximum size of files.

maximum100000000

minimum1000

<a href="#(resource)%20pipelines%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20destination%20%3E%20(schema)%20%3E%20(property)%20batch%20%3E%20(property)%20max_bytes">Link to this property</a>

max\_duration\_s?: number

Specifies duration to wait to aggregate batches files.

maximum300

minimum0.25

<a href="#(resource)%20pipelines%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20destination%20%3E%20(schema)%20%3E%20(property)%20batch%20%3E%20(property)%20max_duration_s">Link to this property</a>

max\_rows?: number

Specifies rough maximum number of rows per file.

maximum10000000

minimum100

<a href="#(resource)%20pipelines%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20destination%20%3E%20(schema)%20%3E%20(property)%20batch%20%3E%20(property)%20max_rows">Link to this property</a>

</details>

<a href="#(resource)%20pipelines%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20destination%20%3E%20(schema)%20%3E%20(property)%20batch">Link to this property</a>

<details>

<summary>

compression: Compression {type }

</summary>

<details>

<summary>

type?: "none"| "gzip"| "deflate"

Specifies the desired compression algorithm and format.

</summary>

One of the following:

"none"

<a href="#(resource)%20pipelines%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20destination%20%3E%20(schema)%20%3E%20(property)%20compression%20%3E%20(property)%20type%20%3E%20(member)%200">Link to this property</a>

"gzip"

<a href="#(resource)%20pipelines%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20destination%20%3E%20(schema)%20%3E%20(property)%20compression%20%3E%20(property)%20type%20%3E%20(member)%201">Link to this property</a>

"deflate"

<a href="#(resource)%20pipelines%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20destination%20%3E%20(schema)%20%3E%20(property)%20compression%20%3E%20(property)%20type%20%3E%20(member)%202">Link to this property</a>

</details>

<a href="#(resource)%20pipelines%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20destination%20%3E%20(schema)%20%3E%20(property)%20compression%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20pipelines%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20destination%20%3E%20(schema)%20%3E%20(property)%20compression">Link to this property</a>

format: "json"

Specifies the format of data to deliver.

<a href="#(resource)%20pipelines%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20destination%20%3E%20(schema)%20%3E%20(property)%20format">Link to this property</a>

<details>

<summary>

path: Path {bucket, filename, filepath, prefix }

</summary>

bucket: string

Specifies the R2 Bucket to store files.

<a href="#(resource)%20pipelines%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20destination%20%3E%20(schema)%20%3E%20(property)%20path%20%3E%20(property)%20bucket">Link to this property</a>

filename?: string

Specifies the name pattern to for individual data files.

<a href="#(resource)%20pipelines%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20destination%20%3E%20(schema)%20%3E%20(property)%20path%20%3E%20(property)%20filename">Link to this property</a>

filepath?: string

Specifies the name pattern for directory.

<a href="#(resource)%20pipelines%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20destination%20%3E%20(schema)%20%3E%20(property)%20path%20%3E%20(property)%20filepath">Link to this property</a>

prefix?: string

Specifies the base directory within the bucket.

<a href="#(resource)%20pipelines%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20destination%20%3E%20(schema)%20%3E%20(property)%20path%20%3E%20(property)%20prefix">Link to this property</a>

</details>

<a href="#(resource)%20pipelines%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20destination%20%3E%20(schema)%20%3E%20(property)%20path">Link to this property</a>

type: "r2"

Specifies the type of destination.

<a href="#(resource)%20pipelines%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20destination%20%3E%20(schema)%20%3E%20(property)%20type">Link to this property</a>

<details>

<summary>

credentials?: Credentials {access\_key\_id, endpoint, secret\_access\_key }

</summary>

access\_key\_id: string

Specifies the R2 Bucket Access Key Id.

<a href="#(resource)%20pipelines%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20destination%20%3E%20(schema)%20%3E%20(property)%20credentials%20%3E%20(property)%20access_key_id">Link to this property</a>

endpoint: string

Specifies the R2 Endpoint.

<a href="#(resource)%20pipelines%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20destination%20%3E%20(schema)%20%3E%20(property)%20credentials%20%3E%20(property)%20endpoint">Link to this property</a>

secret\_access\_key: string

Specifies the R2 Bucket Secret Access Key.

<a href="#(resource)%20pipelines%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20destination%20%3E%20(schema)%20%3E%20(property)%20credentials%20%3E%20(property)%20secret_access_key">Link to this property</a>

</details>

<a href="#(resource)%20pipelines%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20destination%20%3E%20(schema)%20%3E%20(property)%20credentials">Link to this property</a>

</details>

<a href="#(resource)%20pipelines%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20destination">Link to this property</a>

name: string

Body param: Defines the name of the pipeline.

maxLength128

minLength1

<a href="#(resource)%20pipelines%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20name">Link to this property</a>

<details>

<summary>

source: Array&lt;CloudflarePipelinesWorkersPipelinesHTTPSource {format, type, authentication, cors } | CloudflarePipelinesWorkersPipelinesBindingSource {format, type } &gt;

Body param

</summary>

One of the following:

<details>

<summary>

CloudflarePipelinesWorkersPipelinesHTTPSource {format, type, authentication, cors }

\[DEPRECATED] HTTP source configuration. Use the new streams API instead.

</summary>

format: "json"

Specifies the format of source data.

<a href="#(resource)%20pipelines%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20source%20%3E%20(schema)%20%3E%20(items)%20%3E%20(variant)%200%20%3E%20(property)%20format">Link to this property</a>

type: string

<a href="#(resource)%20pipelines%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20source%20%3E%20(schema)%20%3E%20(items)%20%3E%20(variant)%200%20%3E%20(property)%20type">Link to this property</a>

authentication?: boolean

Specifies whether authentication is required to send to this pipeline via HTTP.

<a href="#(resource)%20pipelines%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20source%20%3E%20(schema)%20%3E%20(items)%20%3E%20(variant)%200%20%3E%20(property)%20authentication">Link to this property</a>

<details>

<summary>

cors?: CORS {origins }

</summary>

origins?: Array&lt;string&gt;

Specifies allowed origins to allow Cross Origin HTTP Requests.

<a href="#(resource)%20pipelines%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20source%20%3E%20(schema)%20%3E%20(items)%20%3E%20(variant)%200%20%3E%20(property)%20cors%20%3E%20(property)%20origins">Link to this property</a>

</details>

<a href="#(resource)%20pipelines%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20source%20%3E%20(schema)%20%3E%20(items)%20%3E%20(variant)%200%20%3E%20(property)%20cors">Link to this property</a>

</details>

<a href="#(resource)%20pipelines%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20source%20%3E%20(schema)%20%3E%20(items)%20%3E%20(variant)%200">Link to this property</a>

<details>

<summary>

CloudflarePipelinesWorkersPipelinesBindingSource {format, type }

\[DEPRECATED] Worker binding source configuration. Use the new streams API instead.

</summary>

format: "json"

Specifies the format of source data.

<a href="#(resource)%20pipelines%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20source%20%3E%20(schema)%20%3E%20(items)%20%3E%20(variant)%201%20%3E%20(property)%20format">Link to this property</a>

type: string

<a href="#(resource)%20pipelines%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20source%20%3E%20(schema)%20%3E%20(items)%20%3E%20(variant)%201%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20pipelines%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20source%20%3E%20(schema)%20%3E%20(items)%20%3E%20(variant)%201">Link to this property</a>

</details>

<a href="#(resource)%20pipelines%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20source">Link to this property</a>

</details>

[Link to this property](<#(resource)%20pipelines%20%3E%20(method)%20update%20%3E%20(params)%20default>)

##### ReturnsExpand Collapse

<details>

<summary>

PipelineUpdateResponse {id, destination, endpoint, 3 more }

\[DEPRECATED] Describes the configuration of a pipeline. Use the new streams/sinks/pipelines API instead.

</summary>

id: string

Specifies the pipeline identifier.

<a href="#(resource)%20pipelines%20%3E%20(model)%20pipeline_update_response%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

<details>

<summary>

destination: Destination {batch, compression, format, 2 more }

</summary>

<details>

<summary>

batch: Batch {max\_bytes, max\_duration\_s, max\_rows }

</summary>

max\_bytes: number

Specifies rough maximum size of files.

maximum100000000

minimum1000

<a href="#(resource)%20pipelines%20%3E%20(model)%20pipeline_update_response%20%3E%20(schema)%20%3E%20(property)%20destination%20%3E%20(property)%20batch%20%3E%20(property)%20max_bytes">Link to this property</a>

max\_duration\_s: number

Specifies duration to wait to aggregate batches files.

maximum300

minimum0.25

<a href="#(resource)%20pipelines%20%3E%20(model)%20pipeline_update_response%20%3E%20(schema)%20%3E%20(property)%20destination%20%3E%20(property)%20batch%20%3E%20(property)%20max_duration_s">Link to this property</a>

max\_rows: number

Specifies rough maximum number of rows per file.

maximum10000000

minimum100

<a href="#(resource)%20pipelines%20%3E%20(model)%20pipeline_update_response%20%3E%20(schema)%20%3E%20(property)%20destination%20%3E%20(property)%20batch%20%3E%20(property)%20max_rows">Link to this property</a>

</details>

<a href="#(resource)%20pipelines%20%3E%20(model)%20pipeline_update_response%20%3E%20(schema)%20%3E%20(property)%20destination%20%3E%20(property)%20batch">Link to this property</a>

<details>

<summary>

compression: Compression {type }

</summary>

<details>

<summary>

type: "none"| "gzip"| "deflate"

Specifies the desired compression algorithm and format.

</summary>

One of the following:

"none"

<a href="#(resource)%20pipelines%20%3E%20(model)%20pipeline_update_response%20%3E%20(schema)%20%3E%20(property)%20destination%20%3E%20(property)%20compression%20%3E%20(property)%20type%20%3E%20(member)%200">Link to this property</a>

"gzip"

<a href="#(resource)%20pipelines%20%3E%20(model)%20pipeline_update_response%20%3E%20(schema)%20%3E%20(property)%20destination%20%3E%20(property)%20compression%20%3E%20(property)%20type%20%3E%20(member)%201">Link to this property</a>

"deflate"

<a href="#(resource)%20pipelines%20%3E%20(model)%20pipeline_update_response%20%3E%20(schema)%20%3E%20(property)%20destination%20%3E%20(property)%20compression%20%3E%20(property)%20type%20%3E%20(member)%202">Link to this property</a>

</details>

<a href="#(resource)%20pipelines%20%3E%20(model)%20pipeline_update_response%20%3E%20(schema)%20%3E%20(property)%20destination%20%3E%20(property)%20compression%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20pipelines%20%3E%20(model)%20pipeline_update_response%20%3E%20(schema)%20%3E%20(property)%20destination%20%3E%20(property)%20compression">Link to this property</a>

format: "json"

Specifies the format of data to deliver.

<a href="#(resource)%20pipelines%20%3E%20(model)%20pipeline_update_response%20%3E%20(schema)%20%3E%20(property)%20destination%20%3E%20(property)%20format">Link to this property</a>

<details>

<summary>

path: Path {bucket, filename, filepath, prefix }

</summary>

bucket: string

Specifies the R2 Bucket to store files.

<a href="#(resource)%20pipelines%20%3E%20(model)%20pipeline_update_response%20%3E%20(schema)%20%3E%20(property)%20destination%20%3E%20(property)%20path%20%3E%20(property)%20bucket">Link to this property</a>

filename?: string

Specifies the name pattern to for individual data files.

<a href="#(resource)%20pipelines%20%3E%20(model)%20pipeline_update_response%20%3E%20(schema)%20%3E%20(property)%20destination%20%3E%20(property)%20path%20%3E%20(property)%20filename">Link to this property</a>

filepath?: string

Specifies the name pattern for directory.

<a href="#(resource)%20pipelines%20%3E%20(model)%20pipeline_update_response%20%3E%20(schema)%20%3E%20(property)%20destination%20%3E%20(property)%20path%20%3E%20(property)%20filepath">Link to this property</a>

prefix?: string

Specifies the base directory within the bucket.

<a href="#(resource)%20pipelines%20%3E%20(model)%20pipeline_update_response%20%3E%20(schema)%20%3E%20(property)%20destination%20%3E%20(property)%20path%20%3E%20(property)%20prefix">Link to this property</a>

</details>

<a href="#(resource)%20pipelines%20%3E%20(model)%20pipeline_update_response%20%3E%20(schema)%20%3E%20(property)%20destination%20%3E%20(property)%20path">Link to this property</a>

type: "r2"

Specifies the type of destination.

<a href="#(resource)%20pipelines%20%3E%20(model)%20pipeline_update_response%20%3E%20(schema)%20%3E%20(property)%20destination%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20pipelines%20%3E%20(model)%20pipeline_update_response%20%3E%20(schema)%20%3E%20(property)%20destination">Link to this property</a>

endpoint: string

Indicates the endpoint URL to send traffic.

<a href="#(resource)%20pipelines%20%3E%20(model)%20pipeline_update_response%20%3E%20(schema)%20%3E%20(property)%20endpoint">Link to this property</a>

name: string

Defines the name of the pipeline.

maxLength128

minLength1

<a href="#(resource)%20pipelines%20%3E%20(model)%20pipeline_update_response%20%3E%20(schema)%20%3E%20(property)%20name">Link to this property</a>

<details>

<summary>

source: Array&lt;CloudflarePipelinesWorkersPipelinesHTTPSource {format, type, authentication, cors } | CloudflarePipelinesWorkersPipelinesBindingSource {format, type } &gt;

</summary>

One of the following:

<details>

<summary>

CloudflarePipelinesWorkersPipelinesHTTPSource {format, type, authentication, cors }

\[DEPRECATED] HTTP source configuration. Use the new streams API instead.

</summary>

format: "json"

Specifies the format of source data.

<a href="#(resource)%20pipelines%20%3E%20(model)%20pipeline_update_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(items)%20%3E%20(variant)%200%20%3E%20(property)%20format">Link to this property</a>

type: string

<a href="#(resource)%20pipelines%20%3E%20(model)%20pipeline_update_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(items)%20%3E%20(variant)%200%20%3E%20(property)%20type">Link to this property</a>

authentication?: boolean

Specifies whether authentication is required to send to this pipeline via HTTP.

<a href="#(resource)%20pipelines%20%3E%20(model)%20pipeline_update_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(items)%20%3E%20(variant)%200%20%3E%20(property)%20authentication">Link to this property</a>

<details>

<summary>

cors?: CORS {origins }

</summary>

origins?: Array&lt;string&gt;

Specifies allowed origins to allow Cross Origin HTTP Requests.

<a href="#(resource)%20pipelines%20%3E%20(model)%20pipeline_update_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(items)%20%3E%20(variant)%200%20%3E%20(property)%20cors%20%3E%20(property)%20origins">Link to this property</a>

</details>

<a href="#(resource)%20pipelines%20%3E%20(model)%20pipeline_update_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(items)%20%3E%20(variant)%200%20%3E%20(property)%20cors">Link to this property</a>

</details>

<a href="#(resource)%20pipelines%20%3E%20(model)%20pipeline_update_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(items)%20%3E%20(variant)%200">Link to this property</a>

<details>

<summary>

CloudflarePipelinesWorkersPipelinesBindingSource {format, type }

\[DEPRECATED] Worker binding source configuration. Use the new streams API instead.

</summary>

format: "json"

Specifies the format of source data.

<a href="#(resource)%20pipelines%20%3E%20(model)%20pipeline_update_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(items)%20%3E%20(variant)%201%20%3E%20(property)%20format">Link to this property</a>

type: string

<a href="#(resource)%20pipelines%20%3E%20(model)%20pipeline_update_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(items)%20%3E%20(variant)%201%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20pipelines%20%3E%20(model)%20pipeline_update_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(items)%20%3E%20(variant)%201">Link to this property</a>

</details>

<a href="#(resource)%20pipelines%20%3E%20(model)%20pipeline_update_response%20%3E%20(schema)%20%3E%20(property)%20source">Link to this property</a>

version: number

Indicates the version number of last saved configuration.

<a href="#(resource)%20pipelines%20%3E%20(model)%20pipeline_update_response%20%3E%20(schema)%20%3E%20(property)%20version">Link to this property</a>

</details>

[Link to this property](<#(resource)%20pipelines%20%3E%20(model)%20pipeline_update_response%20%3E%20(schema)>)

### \[DEPRECATED] Update Pipeline

TypeScript

HTTPTypeScriptPythonGoTerraform

```
import Cloudflare from 'cloudflare';

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

const pipeline = await client.pipelines.update('sample_pipeline', {
  account_id: '0123105f4ecef8ad9ca31a8372d0c353',
  destination: {
    batch: {},
    compression: {},
    format: 'json',
    path: { bucket: 'bucket' },
    type: 'r2',
  },
  name: 'sample_pipeline',
  source: [{ format: 'json', type: 'type' }],
});

console.log(pipeline.id);
```

200 example

```
{
  "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

200 example

```
{
  "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
}
```