---
title: "GET /persongroups/{personGroupId}/training"
method: GET
path: "/persongroups/{personGroupId}/training"
---

# GET /persongroups/{personGroupId}/training

`GET /persongroups/{personGroupId}/training`

To check Person Group training status completed or still ongoing. Person Group training is an asynchronous operation triggered by "Train Person Group" API.

## Path parameters

- `personGroupId` string, required

## Response `200`

A successful call returns the Person Group's training status.

- TrainingResult — Training result of a container
  - `status` 'notStarted' | 'running' | 'succeeded' | 'failed', required — The status of long running operation.
  - `createdDateTime` string, date-time, required — A combined UTC date and time string that describes the created time of the person group, large person group or large face list.
  - `lastActionDateTime` string, date-time, required — A combined UTC date and time string that describes the last modify time of the person group, large person group or large face list, could be null value when the group is not successfully trained.
  - `lastSuccessfulTrainingDateTime` string, date-time, required — A combined UTC date and time string that describes the last successful training time of the person group, large person group or large face list.
  - `message` string — Show failure message when training failed (omitted when training succeed).

## Other responses

- `default` — An unexpected error response.

---

[API](https://skmtc.net/azure/apis/ai-face.md) · [All operations](https://skmtc.net/azure/apis/ai-face/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/ai-face/versions/e9a68c525be6/schema)
