---
title: "Abort a running or pending execution"
method: POST
path: "/executions/{executionId}/abort"
tags: ["Executions"]
---

# Abort a running or pending execution

`POST /executions/{executionId}/abort`

Signals the worker to stop the execution between steps and marks it cancelled. Idempotent-ish: already-terminal executions return 409.

## Path parameters

- `executionId` string, uuid, required

## Response `200`

Execution aborted

- object
  - `data` FlowExecution, required
    - `id` string, uuid, required
    - `flowId` string, uuid, required
    - `triggerId` string, uuid, required
    - `eventId` string, uuid, nullable, required
    - `flowName` string, nullable, required
    - `triggerName` string, nullable, required
    - `status` 'pending' | 'running' | 'success' | 'failed' | 'cancelled' | 'skipped' | 'invalid', nullable, required
    - `kind` 'live' | 'dry_run', required
    - `result` unknown
    - `error` string, nullable, required
    - `startedAt` string, nullable, required
    - `finishedAt` string, nullable, required

## Other responses

- `404` — Not Found
- `409` — Conflict

---

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