---
title: "PUT /v2/domains/{domainIdentifier}/assets/{identifier}/accept-predictions"
method: PUT
path: "/v2/domains/{domainIdentifier}/assets/{identifier}/accept-predictions"
---

# PUT /v2/domains/{domainIdentifier}/assets/{identifier}/accept-predictions

`PUT /v2/domains/{domainIdentifier}/assets/{identifier}/accept-predictions`

Accepts automatically generated business-friendly metadata for your Amazon DataZone assets.

## Path parameters

- `domainIdentifier` string, required
- `identifier` string, required

## Query parameters

- `revision` string

## Request body

- object
  - `acceptRule` object — Specifies the rule and the threshold under which a prediction can be accepted.
    - `rule` 'ALL' | 'NONE' — Specifies whether you want to accept the top prediction for all targets or none.
    - `threshold` number, float — The confidence score that specifies the condition at which a prediction can be accepted.
  - `acceptChoices` AcceptChoice[] — Specifies the prediction (aka, the automatically generated piece of metadata) and the target (for example, a column name) that can be accepted.
    - `predictionTarget` string, required — Specifies the target (for example, a column name) where a prediction can be accepted.
    - `predictionChoice` integer — Specifies the prediction (aka, the automatically generated piece of metadata) that can be accepted.
    - `editedValue` string, password — The edit of the prediction.
  - `clientToken` string — A unique, case-sensitive identifier to ensure idempotency of the request. This field is automatically populated if not provided.

## Response `200`

Success

- AcceptPredictionsOutput
  - `domainId` string, required — The identifier of the Amazon DataZone domain.
  - `assetId` string, required — The ID of the asset.
  - `revision` string, required — The revision that is to be made to the asset.

## Other responses

- `480` — InternalServerException
- `481` — ResourceNotFoundException
- `482` — AccessDeniedException
- `483` — ThrottlingException
- `484` — ConflictException
- `485` — ValidationException
- `486` — UnauthorizedException

---

[API](https://skmtc.net/aws/apis/datazone.md) · [All operations](https://skmtc.net/aws/apis/datazone/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/datazone/versions/055599054b53/schema)
