---
title: "Execute a workflow"
method: POST
path: "/workflows/{workflow_id}/execute"
tags: ["Workflows"]
---

# Execute a workflow

`POST /workflows/{workflow_id}/execute`

Trigger the execution of a workflow with optional input data. The workflow must be enabled.

## Path parameters

- `workflow_id` string, uuid, required

## Request body

- object — Optional input data for workflow execution

## Response `201`

Workflow execution started successfully

- object
  - `ok` boolean
  - `data` object
    - `execution_id` string, uuid
    - `workflow_id` string, uuid
    - `status` string
    - `temporal_workflow_id` string
    - `created_at` string, date-time

## Other responses

- `400` — Workflow is disabled or invalid input
- `401` — Invalid or missing API key
- `403` — Insufficient permissions
- `404` — Resource not found

---

[API](https://skmtc.net/yourang/apis/yourang-ai-external-api-v1.md) · [All operations](https://skmtc.net/yourang/apis/yourang-ai-external-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/yourang/yourang-ai-external-api-v1/versions/49680ee64400/schema)
