---
title: "Create Workflow Execution"
method: POST
path: "/workspaces/{workspace_id}/workflow-executions"
tags: ["workflow-executions"]
---

# Create Workflow Execution

`POST /workspaces/{workspace_id}/workflow-executions`

## Request

- Base URL: `https://platform.tracecat.com/api`
- URL: `https://platform.tracecat.com/api/workspaces/{workspace_id}/workflow-executions`
- Auth: one of:
  - API key in cookie `fastapiusersauth`
  - HTTP bearer

Create and schedule a workflow execution.

## Path parameters

- `workspace_id` string, uuid, required

## Request body

- WorkflowExecutionCreate
  - `workflow_id` union, required
    - string
    - string
  - `inputs` unknown
  - `case_task_id` string, uuid, nullable: Case task that started this run. The run is then listed under the task's workflow runs.
  - `time_anchor` string, date-time, nullable: Override the workflow's time anchor for FN.now() and related functions. If not provided, computed from TemporalScheduledStartTime (for schedules) or workflow start_time (for other triggers).

## Response `200`

Successful Response

- WorkflowExecutionCreateResponse
  - `message` string, required
  - `wf_id` string, required
  - `wf_exec_id` string, required
  - `trace_id` string
  - `payload` unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/tracecat/apis/tracecat-api.md) - [All operations](https://skmtc.dev/tracecat/apis/tracecat-api/llms.txt) - [OpenAPI document](https://skmtc.dev/tracecat/apis/tracecat-api/revisions/2efdda25045f?raw)
