---
title: "GET /trainingsets"
method: GET
path: "/trainingsets"
tags: ["TrainingSet"]
---

# GET /trainingsets

`GET /trainingsets`

Gets a list of training sets for the authenticated Speech service resource.

## Query parameters

- `skip` integer
- `maxpagesize` integer
- `filter` string
- `api-version` string, required

## Response `200`

Success

- PaginatedTrainingSets — Paginated training set list
  - `value` TrainingSet[], required — Training set list
    - `id` string — Resource id
    - `displayName` string — Training set name
    - `description` string — Training set description
    - `locale` string, required — The locale of the training dataset. Locale code follows BCP-47. You can find the text to speech locale list here https://learn.microsoft.com/azure/ai-services/speech-service/language-support?tabs=tts.
    - `voiceKind` 'Male' | 'Female' — Voice kind
    - `properties` TrainingSetProperties — Training set properties
      - `utteranceCount` integer — Utterance count in this training set
    - `projectId` string, required — Resource id
    - `status` 'NotStarted' | 'Running' | 'Succeeded' | 'Failed' | 'Disabling' | 'Disabled' — Status of a resource.
    - `createdDateTime` string, date-time — The timestamp when the object was created. The timestamp is encoded as ISO 8601 date and time format ("YYYY-MM-DDThh:mm:ssZ", see https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations).
    - `lastActionDateTime` string, date-time — The timestamp when the current status was entered. The timestamp is encoded as ISO 8601 date and time format ("YYYY-MM-DDThh:mm:ssZ", see https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations).
  - `nextLink` string, uri — Link to next page.

## Other responses

- `default` — An error occurred.

---

[API](https://skmtc.net/azure/apis/cognitiveservices-speech-texttospeech.md) · [All operations](https://skmtc.net/azure/apis/cognitiveservices-speech-texttospeech/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/cognitiveservices-speech-texttospeech/revisions/ab0685f3cc0d/schema)
