---
title: "Stop a utility insights request the user no longer wants"
method: POST
path: "/utility/insights/{requestId}/cancel"
---

# Stop a utility insights request the user no longer wants

`POST /utility/insights/{requestId}/cancel`

Records the Stop of the generation whose requestId the frontend sent (Cloud Run does not pass client disconnects on). The generation, if still running, ends with 409 and is not cached. Idempotent.

## Path parameters

- `requestId` string, required

## Response `204`

The Stop is recorded

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Utility insights are not enabled

## Changes

- **2026-10-01** `b4751fd15397` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/greentally/apis/esgai-api/changes/utility/insights/:requestId/cancel/post.md)

---

[API](https://skmtc.dev/greentally/apis/esgai-api.md) · [All operations](https://skmtc.dev/greentally/apis/esgai-api/llms.txt) · [OpenAPI document](https://skmtc.dev/greentally/apis/esgai-api/revisions/b4751fd15397?raw)
