---
title: "Queue workflow execution"
method: POST
path: "/api/v1/workflows/{workflow_id}/executions"
tags: ["Executions"]
---

# Queue workflow execution

`POST /api/v1/workflows/{workflow_id}/executions`

Requires `executions:write`.

Creates a queued execution and enqueues an Oban job. The API currently
returns `202 Accepted` with the execution status.

## Path parameters

- `workflow_id` integer, required

## Request body

- ExecutionRequest
  - `input` object — Execution input. The API sets `trigger` to `api` when absent.

## Response `202`

Execution queued.

- ExecutionResponse
  - `data` Execution, required
    - `id` string, required — Human-readable execution public ID.
    - `internal_id` string, uuid, required
    - `workflow_id` integer, required
    - `status` 'queued' | 'running' | 'succeeded' | 'failed', required
    - `input` object, required
    - `result` object, nullable
    - `error` object, nullable
    - `logs` object[], required
    - `started_at` string, date-time, nullable
    - `finished_at` string, date-time, nullable
    - `inserted_at` string, date-time
    - `updated_at` string, date-time

## Other responses

- `401` — Missing or invalid API key.
- `403` — API key does not have the required scope.
- `404` — Resource not found.
- `422` — Request payload failed validation.

---

[API](https://skmtc.dev/fusionflow-app/apis/fusionflow-public-api.md) · [All operations](https://skmtc.dev/fusionflow-app/apis/fusionflow-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/fusionflow-app/fusionflow-public-api/revisions/21df2e48ac96/schema)
