---
title: "POST /testsets/{testSetId}/testsetdiscrepancy"
method: POST
path: "/testsets/{testSetId}/testsetdiscrepancy"
---

# POST /testsets/{testSetId}/testsetdiscrepancy

`POST /testsets/{testSetId}/testsetdiscrepancy`

Create a report that describes the differences between the bot and the test set.

## Path parameters

- `testSetId` string, required

## Request body

- object
  - `target` object, required — Contains information about the resource used for the test set discrepancy report.
    - `botAliasTarget` object — Contains information about the bot alias used as the resource for the test set discrepancy report.
      - `botId` string, required — The unique identifier for the bot alias.
      - `botAliasId` string, required — The unique identifier for the bot associated with the bot alias.
      - `localeId` string, required — The unique identifier of the locale associated with the bot alias.

## Response `202`

Success

- CreateTestSetDiscrepancyReportResponse
  - `testSetDiscrepancyReportId` string — The unique identifier of the test set discrepancy report to describe.
  - `creationDateTime` string, date-time — The creation date and time for the test set discrepancy report.
  - `testSetId` string — The test set Id for the test set discrepancy report.
  - `target` object — The target bot for the test set discrepancy report.
    - `botAliasTarget` object — Contains information about the bot alias used as the resource for the test set discrepancy report.
      - `botId` string, required — The unique identifier for the bot alias.
      - `botAliasId` string, required — The unique identifier for the bot associated with the bot alias.
      - `localeId` string, required — The unique identifier of the locale associated with the bot alias.

## Other responses

- `480` — ThrottlingException
- `481` — ServiceQuotaExceededException
- `482` — ValidationException
- `483` — ConflictException
- `484` — InternalServerException
- `485` — ResourceNotFoundException

---

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