---
title: "GET /templatestepgroups/{templateId}"
method: GET
path: "/templatestepgroups/{templateId}"
---

# GET /templatestepgroups/{templateId}

`GET /templatestepgroups/{templateId}`

List the step groups in a template.

## Path parameters

- `templateId` string, required

## Query parameters

- `maxResults` integer
- `nextToken` string

## Response `200`

Success

- ListTemplateStepGroupsResponse
  - `nextToken` string — The pagination token.
  - `templateStepGroupSummary` TemplateStepGroupSummary[], required — The summary of the step group in the template.
    - `id` string — The ID of the step group.
    - `name` string — The name of the step group.
    - `previous` StringListMember[] — The previous step group.
    - `next` StringListMember[] — The next step group.

## Other responses

- `480` — ThrottlingException
- `481` — AccessDeniedException
- `482` — InternalServerException
- `483` — ResourceNotFoundException

---

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