---
title: "Create pipeline template"
method: POST
path: "/api/v1/pipelines/templates"
tags: ["Pipelines"]
---

# Create pipeline template

`POST /api/v1/pipelines/templates`

## Request

- Base URL: `https://numonic.ai`
- URL: `https://numonic.ai/api/v1/pipelines/templates`
- Auth: API key in header `x-api-key`

Create a new reusable pipeline template.

## Request body

- CloneTemplateRequest
  - `source_pipeline_h` string, required: Hash of the pipeline to clone as template
  - `name` string, required: Name for the new template

## Response `201`

Template created

- SuccessMessage
  - `message` string, required: Human-readable success message

## Other responses

- `400`: Validation failed

---

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