---
title: "Stop ALL Long-Running Executions"
method: POST
path: "/api/admin/diagnostics/executions/stop-all-long-running"
tags: ["v2", "admin", "diagnostics", "admin"]
---

# Stop ALL Long-Running Executions

`POST /api/admin/diagnostics/executions/stop-all-long-running`

Stop ALL long-running executions (RUNNING >24h) by sending cancel signals (admin only).
Operates on entire dataset, not limited to pagination.

Returns:
    Number of executions stopped and success message

## Response `200`

Successful Response

- StopExecutionResponse — Response model for stop execution operations
  - `success` boolean, required
  - `stopped_count` integer
  - `message` string, required

## Other responses

- `401` — Authentication required

---

[API](https://skmtc.net/significant-gravitas/apis/autogpt-agent-server.md) · [All operations](https://skmtc.net/significant-gravitas/apis/autogpt-agent-server/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/significant-gravitas/autogpt-agent-server/versions/382041c7ecb2/schema)
