---
title: "Cancel a running Enrichment"
method: POST
path: "/v0/websets/{webset}/enrichments/{id}/cancel"
tags: ["Enrichments"]
---

# Cancel a running Enrichment

`POST /v0/websets/{webset}/enrichments/{id}/cancel`

## Request

- Base URL: `https://api.exa.ai/websets`
- URL: `https://api.exa.ai/websets/v0/websets/{webset}/enrichments/{id}/cancel`
- Auth: one of:
  - API key in header `x-api-key`
  - HTTP bearer

All running enrichments will be canceled. You can not resume an Enrichment after it has been canceled.

## Path parameters

- `webset` string, required
- `id` string, required

## Response `200`

Enrichment cancelled

- WebsetEnrichment
  - `id` string, required: The unique identifier for the enrichment
  - `object` 'webset_enrichment', required: The type of object
  - `status` 'pending' | 'canceled' | 'completed', required: The status of the enrichment
  - `websetId` string, required: The unique identifier for the Webset this enrichment belongs to.
  - `title` string, nullable, required: The title of the enrichment. This will be automatically generated based on the description and format.
  - `description` string, required: The description of the enrichment task provided during the creation of the enrichment.
  - `format` 'text' | 'date' | 'number' | 'options' | 'email' | 'phone' | 'url', required
  - `options` object[], nullable, required: When the format is options, the different options for the enrichment agent to choose from.
    - `label` string, required: The label of the option
  - `instructions` string, nullable, required: The instructions for the enrichment Agent. This will be automatically generated based on the description and format.
  - `metadata` object: The metadata of the enrichment
  - `createdAt` string, date-time, required: The date and time the enrichment was created
  - `updatedAt` string, date-time, required: The date and time the enrichment was updated

## Changes

- **2026-09-13** `068993f25c35`: 1 info
  - added 'propertyNames' constraint to the `metadata` response property for the status `200`
- **2026-06-07** `25384fdd189e`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/exa/apis/exa-public-api/changes/v0/websets/:webset/enrichments/:id/cancel/post.md)

---

[API](https://skmtc.dev/exa/apis/exa-public-api.md) - [All operations](https://skmtc.dev/exa/apis/exa-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/exa/apis/exa-public-api/revisions/9fa4de48c6af?raw)
