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

# Execute Workflow

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

## Request

- Base URL: `https://api.qomplement.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.qomplement.com/api/workflows/{workflow_id}/execute`
- Auth: HTTP bearer

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

## Query parameters

- `organization_id` string, nullable

## Request body

- ExecutionRequest: Workflow parameters plus an optional, separately validated subject.
  - `parameters` object, nullable
  - `progression_subject` ExecutionProgressionSubject: Expected installed evidence pins; all case identity is server-derived.
    - `organization_id` string, required
    - `install_id` string, required
    - `version_id` string, required
    - `evidence_link_id` string, required

## 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

## Changes

- **2026-09-09** `6fe617c112ef`: 3 info
  - added the new optional `query` request parameter `organization_id`
  - added the new optional request property `progression_subject`
  - the `parameters` request property default value `{}` was removed

[Operation history](https://skmtc.dev/qomplement/apis/qomplement-api/changes/api/workflows/:workflow_id/execute/post.md)

---

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