---
title: "Stop a running investigation"
method: POST
path: "/v1/investigations/{investigationId}/stop"
tags: ["Investigations"]
---

# Stop a running investigation

`POST /v1/investigations/{investigationId}/stop`

## Request

- Base URL: `https://docs.grepr.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://docs.grepr.ai/v1/investigations/{investigationId}/stop`
- Auth: one of:
  - API key in header `GREPR-API-KEY`
  - OpenID Connect (`https://grepr-prod.us.auth0.com/.well-known/openid-configuration`)

Durably marks a running investigation as STOPPING and returns 202. An asynchronous reconciler signals the workflow, which pauses at its next turn boundary and records STOPPED; it can then be resumed with a message.

## Path parameters

- `investigationId` string, required

## Response `202`

Stop requested

## Other responses

- `401`: Unauthorized
- `404`: Investigation not found
- `409`: Investigation is not running

---

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