---
title: "Cancel an Entity-owned API speech generation"
method: POST
path: "/v1/generations/{generationUuid}/cancel"
---

# Cancel an Entity-owned API speech generation

`POST /v1/generations/{generationUuid}/cancel`

## Request

- Base URL: `https://giggy.ai`
- URL: `https://giggy.ai/v1/generations/{generationUuid}/cancel`
- Auth: one of:
  - HTTP bearer
  - API key in header `xi-api-key`

Uses the canonical guarded cancellation and settlement transition. Completed/failed/cancelled operations return their existing status. An ownership race may return 409. No direct worker-slot mutation or separate refund occurs.

## Path parameters

- `generationUuid` string, uuid, required

## Request body

- object

## Response `200`

Canonical resulting status

- object
  - `generation_uuid` string, uuid, required
  - `status` string, required

## Other responses

- `401`: Invalid API key
- `404`: No API speech generation owned by the key Entity
- `409`: Cancellation raced an ownership transition
- `422`: Cancellation takes an empty body
- `503`: Canonical service unavailable

---

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