---
title: "Undo an enrichment accept/discard decision"
method: POST
path: "/api/1/agent/enrichment/executions/{id}/revert"
tags: ["Enrichment"]
---

# Undo an enrichment accept/discard decision

`POST /api/1/agent/enrichment/executions/{id}/revert`

## Request

- Base URL: `https://{your-bynder-domain}`
- URL: `https://{your-bynder-domain}/api/1/agent/enrichment/executions/{id}/revert`
- Auth: HTTP bearer

Reverts a previous accept or discard decision for one or more asset executions under an agent execution, restoring their suggestions to the pending state.

## Path parameters

- `id` string, uuid, required

## Request body

- ReviewSuggestionsRequest: Accept/discard/revert request. The agent execution comes from the {id} path segment. Empty or absent assetExecutionIds acts on every asset execution under this agent execution that has suggestions.
  - `assetExecutionIds` string[]

## Response `202`

Revert command published; applied asynchronously

- CommandAcceptedResponse
  - `correlationId` string, uuid
  - `skippedIds` string[]: Requested ids not owned by this account and so not processed. The rest of the request still went through.

## Other responses

- `400`: The request body failed validation
- `401`: Missing or invalid bearer token
- `403`: Caller lacks the required permission for this operation
- `429`: Caller exceeded its configured request rate
- `5XX`: Gateway or a downstream service failed to process the request

---

[API](https://skmtc.dev/bynder/apis/ai-agents.md) - [All operations](https://skmtc.dev/bynder/apis/ai-agents/llms.txt) - [OpenAPI document](https://skmtc.dev/bynder/apis/ai-agents/revisions/60a586064d6f?raw)
