---
title: "Move document steps into a reusable pipeline"
method: POST
path: "/v1/processes/{id}/extract-pipeline"
tags: ["Processes"]
---

# Move document steps into a reusable pipeline

`POST /v1/processes/{id}/extract-pipeline`

## Request

- Base URL: `https://api.talonic.com`
- URL: `https://api.talonic.com/v1/processes/{id}/extract-pipeline`
- Auth: HTTP bearer

The draft's document steps and fields become a new pipeline that other processes can use too; one pipeline step takes their place in the draft. Needs process_build and the `processes:write` scope.

## Path parameters

- `id` string, uuid, required

## Request body

- object
  - `name` string: Name of the new pipeline.

## Response `201`

`{ process, pipeline }`.

## Other responses

- `403`: The key has no person, the person lacks the Process Plane permission, or the key lacks the scope.
- `404`: The requested resource was not found.
- `422`: The draft has no document steps to move, or it is already a pipeline.

## Changes

- **2026-11-26** `622d429de7ea`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/talonic/apis/talonic-api/changes/v1/processes/:id/extract-pipeline/post.md)

---

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