---
title: "Stop Generation"
method: POST
path: "/metadata/attributes/{attribute_id}/stop"
tags: ["Metadata"]
---

# Stop Generation

`POST /metadata/attributes/{attribute_id}/stop`

## Request

- Base URL: `https://api.aspect.inc`
- URL: `https://api.aspect.inc/metadata/attributes/{attribute_id}/stop`
- Auth: API key in header `Authorization`

Cancel pending AI generation for this attribute. Values already generated are kept.

## Path parameters

- `attribute_id` string, uuid, required: Attribute ID

## Query parameters

- `dry_run` boolean: Count the assets whose pending generation would be cancelled, without cancelling it.

## Response `200`

Successful Response

- CellStopResponse: API response schema for Stop running's entry count.
  - `count` integer, required: Number of assets whose pending generation was cancelled

## Other responses

- `422`: Validation Error

---

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