---
title: "Reset Enrichment"
method: POST
path: "/api/agent/{run_id}/reset_enrichment"
---

# Reset Enrichment

`POST /api/agent/{run_id}/reset_enrichment`

Delete enrichment cache so it can be re-run (e.g. after payment).

Anonymous, like the rest of the demo — but a run enriched by a KNOWN device
may only be reset by that device (T-2296): re-running is what buys a fresh
round of real lookups, so a stranger holding the run_id could otherwise
replay that cost at will and wipe the payer's result. A run enriched
anonymously has no owner to protect and stays open — that is the
free-visitor-pays-then-re-runs path the frontend uses.

## Path parameters

- `run_id` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/explee/apis/explee-api.md) · [All operations](https://skmtc.dev/explee/apis/explee-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/explee/explee-api/revisions/f169bc6e9447/schema)
