---
title: "Run Workflow"
method: POST
path: "/v1/public/workflows/{workflow_ref}/run"
tags: ["Workflows"]
---

# Run Workflow

`POST /v1/public/workflows/{workflow_ref}/run`

## Path parameters

- `workflow_ref` string, required

## Response `200`

OK

- PublicWorkflowRunResponse
  - `data` PublicWorkflowRunPayload, required
    - `run_id` string, required
    - `workflow_id` string, required
    - `workflow_history_id` string, nullable
    - `background_job_id` string, nullable
    - `status` string, required
    - `started_at` string, required
    - `completed_at` string, nullable
  - `message` string, required
  - `ctx_id` string, nullable

## Other responses

- `403` — Forbidden
- `404` — Not Found
- `409` — Conflict
- `500` — Internal Server Error

---

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