---
title: "Cancel an unfinished request"
method: DELETE
path: "/v2/generate/status/{id}"
tags: ["v2"]
---

# Cancel an unfinished request

`DELETE /v2/generate/status/{id}`

This request will include all already generated images in base64 encoded .webp files.

## Headers

- `Client-Agent` string
- `X-Fields` string, mask

## Response `200`

Async Request Full Status

- RequestStatusStable
  - `finished` integer — The amount of finished jobs in this request.
  - `processing` integer — The amount of still processing jobs in this request.
  - `restarted` integer — The amount of jobs that timed out and had to be restarted or were reported as failed by a worker.
  - `waiting` integer — The amount of jobs waiting to be picked up by a worker.
  - `done` boolean — True when all jobs in this request are done. Else False.
  - `faulted` boolean — True when this request caused an internal server error and could not be completed.
  - `wait_time` integer — The expected amount to wait (in seconds) to generate all jobs in this request.
  - `queue_position` integer — The position in the requests queue. This position is determined by relative Kudos amounts.
  - `kudos` number — The amount of total Kudos this request has consumed until now.
  - `is_possible` boolean — If False, this request will not be able to be completed with the pool of workers currently available.
  - `generations` GenerationStable[]
    - `worker_id` string — The UUID of the worker which generated this image.
    - `worker_name` string — The name of the worker which generated this image.
    - `model` string — The model which generated this image.
    - `state` 'ok' | 'censored', required — OBSOLETE (Use the gen_metadata field). The state of this generation.
    - `img` string — The generated image as a Base64-encoded .webp file.
    - `seed` string — The seed which generated this image.
    - `id` string — The ID for this image.
    - `censored` boolean — When true this image has been censored by the worker's safety filter.
    - `gen_metadata` GenerationMetadataStable[]
      - `type` 'lora' | 'ti' | 'censorship' | 'source_image' | 'source_mask' | 'extra_source_images' | 'batch_index' | 'information', required — The relevance of the metadata field
      - `value` 'download_failed' | 'parse_failed' | 'baseline_mismatch' | 'csam' | 'nsfw' | 'see_ref', required — The value of the metadata field
      - `ref` string — Optionally a reference for the metadata (e.g. a lora ID)
  - `shared` boolean — If True, These images have been shared with LAION.

## Other responses

- `404` — Request Not found

---

[API](https://skmtc.net/haidra-org/apis/ai-horde.md) · [All operations](https://skmtc.net/haidra-org/apis/ai-horde/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/haidra-org/ai-horde/versions/dfeb0bedd935/schema)
