---
title: "Execute a chained pipeline"
method: POST
path: "/api/v1/cad/pipeline"
tags: ["CAD"]
---

# Execute a chained pipeline

`POST /api/v1/cad/pipeline`

Runs multiple operations sequentially in a single worker. Use `$ref:N` in params to reference step N's result. Optionally pass `outputs` to convert the final OCCT shape result into downloadable formats (STEP, GLB, decomposed mesh).

## Request body

- CadPipelineRequest
  - `steps` object[], required
    - `operation` string, required
    - `params` object — Use `$ref:N` to reference step N's result
  - `outputs` OutputOptions
    - `formats` OutputFormat[], required — Output formats to generate
    - `meshPrecision` number — Mesh tessellation precision (lower = finer)
    - `gltfMeshPrecision` number — glTF-specific mesh deflection
    - `adjustYtoZ` boolean — Swap Y↔Z axis for mesh/glTF output

## Response `202`

Task accepted for processing

- SuccessResponseTaskCreated
  - `ok` true
  - `data` TaskCreatedResult
    - `taskId` string, uuid, required
    - `status` 'queued', required
    - `statusUrl` string, required

## Other responses

- `400` — Request validation failed

## Changes

- **2026-04-17** `5eb4ed0f33c7` — 14 breaking, 5 warning, 6 info
  - added the new required request property `steps/items/operation`
  - removed `#/components/schemas/MapStep, #/components/schemas/ChoiceStep, #/components/schemas/PipelineStep` from the `steps/items/` request property `anyOf` list
  - removed the enum value `3mf` of the request property `outputs/formats/items/`
  - removed the enum value `csv` of the request property `outputs/formats/items/`
  - …21 more

[Change history](https://skmtc.dev/bitbybit-dev/apis/bitbybit-cad-cloud-api/changes/api/v1/cad/pipeline/post.md)

---

[API](https://skmtc.dev/bitbybit-dev/apis/bitbybit-cad-cloud-api.md) · [All operations](https://skmtc.dev/bitbybit-dev/apis/bitbybit-cad-cloud-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/bitbybit-dev/bitbybit-cad-cloud-api/revisions/5eb4ed0f33c7/schema)
