---
title: "PATCH /workflows/{workflowId}/executions/{executionId}"
method: PATCH
path: "/workflows/{workflowId}/executions/{executionId}"
---

# PATCH /workflows/{workflowId}/executions/{executionId}

`PATCH /workflows/{workflowId}/executions/{executionId}`

## Path parameters

- `executionId` string, required
- `workflowId` string, required

## Headers

- `Content-Type` string, required

## Request body

- PatchWorkflowExecutionId
  - `nextTransitionId` union, required
    - string
    - string

## Response `200`

200 response

- WorkflowExecution
  - `completedBy` union[]
    - union
      - string
      - string
  - `completedTaskLogId` string, nullable
  - `endTime` string, nullable, required
  - `events` object[]
  - `executionId` string, required
  - `input` object, nullable, required
  - `logId` string, nullable
  - `output` object, nullable, required
  - `startTime` string, nullable, required
  - `status` 'running' | 'succeeded' | 'failed' | 'rejected' | 'retry' | 'error', required
  - `transitionExecutions` object, nullable, required
  - `workflowId` string, required

## Other responses

- `400` — 400 response
- `403` — 403 response
- `404` — 404 response
- `415` — 415 response
- `500` — 500 response

## Changes

- **2023-02-27** `38ef4f3feaaf` — 1 info
  - the `completedBy/items/anyOf[subschema #2]/` response's property pattern was changed from `^las:app-client:[a-f0-9]{32}$` to `^las:app-client:[a-z0-9-_]+$` for the status `200`
- **2022-09-29** `424af607ab69` — 3 breaking
  - the response property `input` became nullable for the status `200`
  - the response property `output` became nullable for the status `200`
  - the response property `transitionExecutions` became nullable for the status `200`
- **2021-11-05** `9788e6bfa925` — 1 breaking, 2 warning, 2 info
  - the request property `nextTransitionId` became required
  - removed the request property `status`
  - removed the optional property `createdBy` from the response with the `200` status
  - removed the `completed` enum value from the `status` response property for the response status `200`
  - …1 more

[Change history](https://skmtc.dev/lucidtechai/apis/lucidtech-api/changes/workflows/:workflowId/executions/:executionId/patch.md)

---

[API](https://skmtc.dev/lucidtechai/apis/lucidtech-api.md) · [All operations](https://skmtc.dev/lucidtechai/apis/lucidtech-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/lucidtechai/lucidtech-api/revisions/654101a6bca7/schema)
