---
title: "GET /templatesteps#templateId&stepGroupId"
method: GET
path: "/templatesteps#templateId&stepGroupId"
---

# GET /templatesteps#templateId&stepGroupId

`GET /templatesteps#templateId&stepGroupId`

List the steps in a template.

## Query parameters

- `maxResults` integer
- `nextToken` string
- `templateId` string, required
- `stepGroupId` string, required

## Response `200`

Success

- ListTemplateStepsResponse
  - `nextToken` string — The pagination token.
  - `templateStepSummaryList` TemplateStepSummary[] — The list of summaries of steps in a template.
    - `id` string — The ID of the step.
    - `stepGroupId` string — The ID of the step group.
    - `templateId` string — The ID of the template.
    - `name` string — The name of the step.
    - `stepActionType` 'MANUAL' | 'AUTOMATED' — The action type of the step. You must run and update the status of a manual step for the workflow to continue after the completion of the step.
    - `targetType` 'SINGLE' | 'ALL' | 'NONE' — The servers on which to run the script.
    - `owner` 'AWS_MANAGED' | 'CUSTOM' — The owner of the step.
    - `previous` StringListMember[] — The previous step.
    - `next` StringListMember[] — The next step.

## Other responses

- `480` — ThrottlingException
- `481` — AccessDeniedException
- `482` — InternalServerException
- `483` — ValidationException
- `484` — 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/versions/d388f030f5e3/schema)
