---
title: "Launch workflow"
method: POST
path: "/workflow/launch"
tags: ["workflows"]
---

# Launch workflow

`POST /workflow/launch`

Submits a workflow execution.

## Query parameters

- `workspaceId` integer
- `sourceWorkspaceId` integer, nullable

## Request body

- SubmitWorkflowLaunchRequest
  - `launch` WorkflowLaunchRequest
    - `id` string
    - `computeEnvId` string
    - `runName` string
    - `pipeline` string
    - `workDir` string
    - `revision` string
    - `commitId` string
    - `sessionId` string
    - `configProfiles` string[]
    - `userSecrets` string[]
    - `workspaceSecrets` string[]
    - `configText` string
    - `towerConfig` string
    - `paramsText` string
    - `preRunScript` string
    - `postRunScript` string
    - `mainScript` string
    - `entryName` string
    - `schemaName` string
    - `resume` boolean
    - `pullLatest` boolean
    - `stubRun` boolean
    - `optimizationId` string
    - `optimizationTargets` string
    - `labelIds` integer[]
    - `headJobCpus` integer
    - `headJobMemoryMb` integer
    - `launchContainer` string
    - `dateCreated` string, date-time

## Response `200`

OK

- SubmitWorkflowLaunchResponse
  - `workflowId` string

## Other responses

- `400` — Bad request
- `403` — Operation not allowed

## Changes

> 3 revisions in range; 1 not diffed.

- **2026-01-20** `98d6b538c88e` — 1 info
  - added the new optional request property `launch/commitId`

[Change history](https://skmtc.dev/seqeralabs/apis/seqera-api/changes/workflow/launch/post.md)

---

[API](https://skmtc.dev/seqeralabs/apis/seqera-api.md) · [All operations](https://skmtc.dev/seqeralabs/apis/seqera-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/seqeralabs/seqera-api/revisions/98d6b538c88e/schema)
