# List step templates

Source: https://www.jawsdeploy.net/rest-api/step-templates-list | Section: Step Templates

List the step templates in a workspace.

`GET /api/step-template`

Returns every step template visible to the workspace, including supported run modes and script language.

## Parameters

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `workspaceId` | query | string | yes | ID of the workspace. |

## Errors

| Status | Meaning |
|---|---|
| 400 | Invalid `workspaceId`. |
| 401 | Missing or invalid Basic auth credentials, or the service account lacks the required role. |

Example request:

```
GET /api/step-template?workspaceId=ws_abc
```

Example response:

```
{ "workspaceId": "ws_abc", "stepTemplates": [ { "stepTemplateId": "st_1", "name": "Deploy NuGet package", "scriptLanguage": "powershell", "supportedRunModes": ["TargetMachine"] } ] }
```

