---
title: "Deploy Workflow"
method: POST
path: "/api/workflows/{workflow_id}/deployments/"
tags: ["workflows"]
---

# Deploy Workflow

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

Deploy a committed workflow version. Sets is_enabled=True on the target version and False on all others in the family.

## Path parameters

- `workflow_id` string, required

## Headers

- `Authorization` string, required

## Request body

- WorkflowDeployRequestRequest
  - `version` integer — Version number to deploy. If omitted, deploys the latest committed version.

## Response `200`

- WorkflowDeployResponse
  - `id` string, required
  - `workflow_id` string, required — Logical workflow family key shared across versions
  - `version` integer, required
  - `is_enabled` boolean, required — Only committed (is_read_only=True) versions may be enabled. At most one version per workflow family should be enabled at a time.
  - `is_read_only` boolean, required — True for committed versions; only the latest version is editable

---

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