Skip to main content
{
  "id": "<string>",
  "slug": "<string>",
  "description": "<string>",
  "organization_slug": "<string>",
  "steps": [
    {}
  ],
  "created_at": "<string>",
  "updated_at": "<string>"
}
Modify the description or steps of an existing pipeline.

Examples

from chonkie.cloud import Pipeline

# Fetch existing pipeline
pipeline = Pipeline.get("my-rag-pipeline")

# Modify steps
pipeline.chunk_with("sentence", chunk_size=256)

# Update in cloud
pipeline.update(description="Updated to use sentence chunker")

Path Parameters

slug
string
required
The pipeline slug to update.

Request

description
string
New description for the pipeline.
steps
array
New array of pipeline step configurations. If provided, replaces all existing steps.

Response

id
string
Unique identifier for the pipeline.
slug
string
The pipeline slug.
description
string
Updated pipeline description.
organization_slug
string
Organization that owns the pipeline.
steps
array
Updated array of pipeline step configurations.
created_at
string
ISO 8601 timestamp of creation.
updated_at
string
ISO 8601 timestamp of this update.

Errors

StatusDescription
400Invalid pipeline configuration
404Pipeline not found