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

# Execute Workflow

`POST /api/workflows/{workflow_id}/execute`

Execute a workflow.

Path Parameters:
    - workflow_id: UUID of the workflow to execute

Request Body:
    - parameters: Optional execution parameters

Returns:
    Execution details (will be in 'running' status initially)

Note: This starts the execution and returns immediately.
      Use GET /workflows/{id}/executions/{execution_id} to check progress.

## Path parameters

- `workflow_id` string, required

## Request body

- ExecutionRequest — Request model for executing a workflow
  - `parameters` object, nullable

## Response `200`

Successful Response

- ExecutionResponse — Response model for a workflow execution
  - `id` string, required
  - `workflow_id` string, required
  - `user_id` string, required
  - `status` string, required
  - `started_at` string, required
  - `completed_at` string, nullable, required
  - `result_data` object, nullable, required
  - `error_message` string, nullable, required
  - `execution_log` object[], required
  - `rows_processed` integer, required
  - `bytes_processed` integer, required
  - `execution_time_ms` integer, nullable, required
  - `metadata_json` object, required
  - `workflow_name` string, nullable
  - `workflow_snapshot` object, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/qomplement/apis/fastapi.md) · [All operations](https://skmtc.net/qomplement/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/qomplement/fastapi/versions/b6c76b02a94a/schema)
