---
title: "Update Pipeline"
method: PUT
path: "/v1/pipeline/{pipeline_slug}"
---

# Update Pipeline

`PUT /v1/pipeline/{pipeline_slug}`

Update an existing pipeline configuration.

## Path parameters

- `pipeline_slug` string, required

## Headers

- `authorization` string, nullable

## Request body

- UpdatePipelineRequest — Request to update an existing pipeline.
  - `description` string, nullable — Pipeline description
  - `steps` PipelineStep[], nullable — Pipeline steps
    - `type` string, required — Step type: fetch, process, chunk, refine, export, write
    - `component` string, required — Component name (e.g., 'recursive', 'overlap')
    - `params` object — Component parameters

## Response `200`

Successful Response

- PipelineResponse — Response containing pipeline information.
  - `id` string, required
  - `slug` string, required
  - `description` string, nullable, required
  - `organization_slug` string, required
  - `steps` object[], required
  - `created_at` string, required
  - `updated_at` string, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/chonkie/apis/chonkie-api.md) · [All operations](https://skmtc.dev/chonkie/apis/chonkie-api/llms.txt) · [OpenAPI document](https://skmtc.dev/chonkie/apis/chonkie-api/revisions/f40f036f941c?raw)
