---
title: "Create Workflow"
method: POST
path: "/v1/workflows"
tags: ["workflows"]
---

# Create Workflow

`POST /v1/workflows`

## Request body

- CreateWorkflowRequest
  - `name` string, required
  - `description` string, nullable
  - `steps` object[]
  - `metadata` object

## Response `200`

Successful Response

- WorkflowResponse
  - `id` string, required
  - `name` string, required
  - `description` string, nullable
  - `steps` object[]
  - `metadata` object
  - `created_at` string, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/usesapient/apis/sapient-public-api.md) · [All operations](https://skmtc.dev/usesapient/apis/sapient-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/usesapient/sapient-public-api/revisions/b388f80fc7d0/schema)
