---
title: "Create a workflow"
method: POST
path: "/v1/workflows"
tags: ["Workflows"]
---

# Create a workflow

`POST /v1/workflows`

Creates a new workflow definition.

## Request body

- object
  - `name` string, required — The workflow's display name.
  - `description` string — A description of what the workflow does.

## Response `201`

A workflow.

- object
  - `data` Workflow
    - `id` string
    - `name` string
    - `description` string
    - `createdAt` string, date-time
    - `updatedAt` string, date-time

## Other responses

- `400` — The request body or parameters are invalid.
- `401` — Missing or invalid API key credentials.

---

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