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

# Create Workflow

`POST /v1/workflows`

Create a new workflow with a default 'new asset uploaded' trigger.

Parameters:
- request_body (CreateWorkflowRequestBody): Request containing the workflow name and project ID

Returns:
- CreateWorkflowResponse: Response containing the created workflow ID

## Headers

- `API-Version` string — Pass in an API version to guarantee a consistent response format. The latest version should be used for all new API calls. Existing API calls should be updated to the latest version when possible. **Valid versions:** - Latest API version (recommended): `2025-03` - Previous API version (maintenance mode): `2025-02` If no API version header is included, the response format is considered unstable and could change without notice (not recommended).

## Request body

- CreateWorkflowRequestBody
  - `name` string, required
  - `project_id` string, required

## Response `200`

Successful Response

- CreateWorkflowResponse
  - `message` string, required
  - `data` CreateWorkflowBaseResponse, required
    - `workflow_id` string, required

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `404` — Not Found
- `408` — Request Timeout
- `422` — Unprocessable Entity
- `429` — Too Many Requests
- `500` — Internal Server Error

---

[API](https://skmtc.dev/runtrellis/apis/trellis.md) · [All operations](https://skmtc.dev/runtrellis/apis/trellis/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/runtrellis/trellis/revisions/b7d8570ff3cc/schema)
