Accept enrichment agent results

Accepts the agent-produced suggestions for one or more asset executions under an agent execution, applying them to the asset(s). Leaving assetExecutionIds empty accepts every asset execution under this agent execution that has suggestions.

post
https://{your-bynder-domain}/api/1/agent/enrichment/executions/{id}/accept

Path Parameters

idstring(uuid)required

Id of the agent execution

Body

application/json

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.

assetExecutionIdsarray[string](uuid)

Response

application/json

Accept command published; applied asynchronously

CommandAcceptedResponse

correlationIdstring(uuid)
skippedIdsarray[string](uuid)

Requested ids not owned by this account and so not processed. The rest of the request still went through.

post/api/1/agent/enrichment/executions/{id}/accept

Body

{}
 
application/json

Discard enrichment agent results

Discards the agent-produced suggestions for one or more asset executions under an agent execution, without applying them. Leaving assetExecutionIds empty discards every asset execution under this agent execution that has suggestions.

post
https://{your-bynder-domain}/api/1/agent/enrichment/executions/{id}/discard

Path Parameters

idstring(uuid)required

Id of the agent execution

Body

application/json

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.

assetExecutionIdsarray[string](uuid)

Response

application/json

Discard command published; applied asynchronously

CommandAcceptedResponse

correlationIdstring(uuid)
skippedIdsarray[string](uuid)

Requested ids not owned by this account and so not processed. The rest of the request still went through.

post/api/1/agent/enrichment/executions/{id}/discard

Body

{}
 
application/json

Undo an enrichment accept/discard decision

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

post
https://{your-bynder-domain}/api/1/agent/enrichment/executions/{id}/revert

Path Parameters

idstring(uuid)required

Id of the agent execution

Body

application/json

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.

assetExecutionIdsarray[string](uuid)

Response

application/json

Revert command published; applied asynchronously

CommandAcceptedResponse

correlationIdstring(uuid)
skippedIdsarray[string](uuid)

Requested ids not owned by this account and so not processed. The rest of the request still went through.

post/api/1/agent/enrichment/executions/{id}/revert

Body

{}
 
application/json

Edit enrichment suggestion values

Edits specific suggestion values under an agent execution before they are accepted. Suggestions that do not belong to this agent execution are reported in skippedIds.

patch
https://{your-bynder-domain}/api/1/agent/enrichment/executions/{id}/edit

Path Parameters

idstring(uuid)required

Id of the agent execution

Body

application/json

EditSuggestionsRequest

Edit request. The agent execution comes from the {id} path segment.

inlineChangesarray[object]required

>= 1 items

Show Child Parameters

Response

application/json

Edit command published; applied asynchronously

CommandAcceptedResponse

correlationIdstring(uuid)
skippedIdsarray[string](uuid)

Requested ids not owned by this account and so not processed. The rest of the request still went through.

patch/api/1/agent/enrichment/executions/{id}/edit

Body

{ "inlineChanges": [ { "suggestionId": "suggestionId" } ] }
 
application/json

Undo inline edits of enrichment suggestions

Undoes earlier inline edits, restoring the given suggestions to their original values. Same resource as PATCH: PATCH applies an edit, DELETE removes it. Suggestions that do not belong to this agent execution are reported in skippedIds.

delete
https://{your-bynder-domain}/api/1/agent/enrichment/executions/{id}/edit

Path Parameters

idstring(uuid)required

Id of the agent execution

Body

application/json

UndoEditSuggestionsRequest

Undo-edit request. The agent execution comes from the {id} path segment.

suggestionIdsarray[string](uuid)required

>= 1 items

Response

application/json

Undo-edit command published; applied asynchronously

CommandAcceptedResponse

correlationIdstring(uuid)
skippedIdsarray[string](uuid)

Requested ids not owned by this account and so not processed. The rest of the request still went through.

delete/api/1/agent/enrichment/executions/{id}/edit

Body

{ "suggestionIds": [] }
 
application/json