---
title: "Patch"
method: PATCH
path: "/v4/pipelines/{pipeline_id}"
tags: ["Pipelines"]
---

# Patch

`PATCH /v4/pipelines/{pipeline_id}`

Update selected fields on a pipeline

## Path parameters

- `pipeline_id` string, required

## Request body

- Patch — Base model for schemas.
  - `public` boolean
  - `description` string
  - `website_url` string, uri
  - `repository_url` string, uri
  - `paper_url` string, uri
  - `license_url` string, uri
  - `image_url` string, uri
  - `readme` string
  - `input_variables` IOVariable[]
    - `run_io_type` 'integer' | 'string' | 'fp' | 'dictionary' | 'boolean' | 'none' | 'array' | 'pkl' | 'file' | 'stream', required — An enumeration.
    - `title` string
    - `description` string
    - `examples` unknown[]
      - unknown
    - `gt` integer
    - `ge` integer
    - `lt` integer
    - `le` integer
    - `multiple_of` integer
    - `allow_inf_nan` boolean
    - `max_digits` integer
    - `decimal_places` integer
    - `min_length` integer
    - `max_length` integer
    - `choices` unknown[]
      - unknown
    - `dict_schema` object[]
    - `default` unknown
    - `optional` boolean
  - `output_variables` IOVariable[]
    - `run_io_type` 'integer' | 'string' | 'fp' | 'dictionary' | 'boolean' | 'none' | 'array' | 'pkl' | 'file' | 'stream', required — An enumeration.
    - `title` string
    - `description` string
    - `examples` unknown[]
      - unknown
    - `gt` integer
    - `ge` integer
    - `lt` integer
    - `le` integer
    - `multiple_of` integer
    - `allow_inf_nan` boolean
    - `max_digits` integer
    - `decimal_places` integer
    - `min_length` integer
    - `max_length` integer
    - `choices` unknown[]
      - unknown
    - `dict_schema` object[]
    - `default` unknown
    - `optional` boolean
  - `accelerators` Accelerator[]
  - `extras` object
  - `scaling_config` string

## Response `200`

Successful Response

- GetDetailedPatch — Response from patching a pipeline (includes readme)
  - `public` boolean, required
  - `description` string
  - `website_url` string
  - `repository_url` string
  - `paper_url` string
  - `license_url` string
  - `image_url` string
  - `readme` string
  - `name` string, required
  - `image` string, required
  - `input_variables` IOVariable[], required
    - `run_io_type` 'integer' | 'string' | 'fp' | 'dictionary' | 'boolean' | 'none' | 'array' | 'pkl' | 'file' | 'stream', required — An enumeration.
    - `title` string
    - `description` string
    - `examples` unknown[]
      - unknown
    - `gt` integer
    - `ge` integer
    - `lt` integer
    - `le` integer
    - `multiple_of` integer
    - `allow_inf_nan` boolean
    - `max_digits` integer
    - `decimal_places` integer
    - `min_length` integer
    - `max_length` integer
    - `choices` unknown[]
      - unknown
    - `dict_schema` object[]
    - `default` unknown
    - `optional` boolean
  - `output_variables` IOVariable[], required
    - `run_io_type` 'integer' | 'string' | 'fp' | 'dictionary' | 'boolean' | 'none' | 'array' | 'pkl' | 'file' | 'stream', required — An enumeration.
    - `title` string
    - `description` string
    - `examples` unknown[]
      - unknown
    - `gt` integer
    - `ge` integer
    - `lt` integer
    - `le` integer
    - `multiple_of` integer
    - `allow_inf_nan` boolean
    - `max_digits` integer
    - `decimal_places` integer
    - `min_length` integer
    - `max_length` integer
    - `choices` unknown[]
      - unknown
    - `dict_schema` object[]
    - `default` unknown
    - `optional` boolean
  - `extras` object
  - `id` string, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required
  - `accelerators` Accelerator[]
  - `cluster` PipelineClusterConfig
    - `id` string, required
    - `node_pool` string, required
  - `scaling_config` string
  - `failed_state_info` PipelineContainerState — Base model for schemas.
    - `state` 'not_loaded' | 'loading' | 'loaded' | 'load_failed' | 'startup_failed' | 'failed', required — An enumeration.
    - `message` string

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/mystic/apis/mystic-api.md) · [All operations](https://skmtc.net/mystic/apis/mystic-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mystic/mystic-api/versions/60e569344994/schema)
