---
title: "Trigger a workflow run"
method: POST
path: "/v1/workflows/{id}/runs"
tags: ["Workflows"]
---

# Trigger a workflow run

`POST /v1/workflows/{id}/runs`

Starts a new run of the workflow with the provided input. Runs are asynchronous; poll the run to track completion.

## Request body

- object
  - `input` object — The input payload the workflow expects.

## Response `201`

The created run.

- object
  - `data` WorkflowRun
    - `id` string
    - `workflowId` string
    - `status` string — Run status, e.g. "queued", "running", "completed", or "failed".
    - `input` object
    - `output` object
    - `createdAt` string, date-time
    - `completedAt` string, date-time

## Other responses

- `400` — The request body or parameters are invalid.
- `401` — Missing or invalid API key credentials.
- `404` — The resource does not exist in your organization.

---

[API](https://skmtc.net/metal/apis/metal-api.md) · [All operations](https://skmtc.net/metal/apis/metal-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/metal/metal-api/revisions/afb7b675d5b2/schema)
