---
title: "GET /testsetgenerations/{testSetGenerationId}"
method: GET
path: "/testsetgenerations/{testSetGenerationId}"
---

# GET /testsetgenerations/{testSetGenerationId}

`GET /testsetgenerations/{testSetGenerationId}`

Gets metadata information about the test set generation.

## Path parameters

- `testSetGenerationId` string, required

## Response `200`

Success

- DescribeTestSetGenerationResponse
  - `testSetGenerationId` string — The unique identifier of the test set generation.
  - `testSetGenerationStatus` 'Generating' | 'Ready' | 'Failed' | 'Pending' — The status for the test set generation.
  - `failureReasons` FailureReason[] — The reasons the test set generation failed.
  - `testSetId` string — The unique identifier for the test set created for the generated test set.
  - `testSetName` string — The test set name for the generated test set.
  - `description` string — The test set description for the test set generation.
  - `storageLocation` object — The Amazon S3 storage location for the test set generation.
    - `s3BucketName` string, required — The name of the Amazon S3 bucket in which the test set is stored.
    - `s3Path` string, required — The path inside the Amazon S3 bucket where the test set is stored.
    - `kmsKeyArn` string — The Amazon Resource Name (ARN) of an Amazon Web Services Key Management Service (KMS) key for encrypting the test set.
  - `generationDataSource` object — The data source of the test set used for the test set generation.
    - `conversationLogsDataSource` object — Contains information about the bot from which the conversation logs are sourced.
      - `botId` string, required — The bot Id from the conversation logs.
      - `botAliasId` string, required — The bot alias Id from the conversation logs.
      - `localeId` string, required — The locale Id of the conversation log.
      - `filter` object, required — The filter for the data source of the conversation log.
        - `startTime` string, date-time, required — The start time for the conversation log.
        - `endTime` string, date-time, required — The end time for the conversation log.
        - `inputMode` 'Speech' | 'Text', required — The selection to filter by input mode for the conversation logs.
  - `roleArn` string — The roleARN of the test set used for the test set generation.
  - `creationDateTime` string, date-time — The creation date and time for the test set generation.
  - `lastUpdatedDateTime` string, date-time — The date and time of the last update for the test set generation.

## Other responses

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

---

[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)
