---
title: "Create a new Alloy workflow"
method: POST
path: "/alloy/workflows"
tags: ["alloy"]
---

# Create a new Alloy workflow

`POST /alloy/workflows`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/alloy/workflows`
- Auth: one of:
  - API key in cookie `session`
  - HTTP bearer

## Request body

- CreateAlloyWorkflow
  - `name` string, required
  - `description` string
  - `domain` string
  - `steps` object[]
  - `triggers` object[]

## Response `201`

Workflow created

- AlloyWorkflow
  - `id` string, required
  - `name` string, required
  - `description` string, nullable
  - `status` 'active' | 'inactive' | 'archived', required
  - `domain` string, nullable
  - `steps` object[]
  - `triggers` object[]
  - `createdAt` string, date-time, required
  - `updatedAt` string, date-time

## Other responses

- `403`: Forbidden

## Changes

- **2026-04-18** `518dcf68679a`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/szl-holdings/apis/szl-holdings-dreamstack-api/changes/alloy/workflows/post.md)

---

[API](https://skmtc.dev/szl-holdings/apis/szl-holdings-dreamstack-api.md) - [All operations](https://skmtc.dev/szl-holdings/apis/szl-holdings-dreamstack-api/llms.txt) - [OpenAPI document](https://skmtc.dev/szl-holdings/apis/szl-holdings-dreamstack-api/revisions/6ad730b13e59?raw)
