---
title: "GET /executions#taskId"
method: GET
path: "/executions#taskId"
---

# GET /executions#taskId

`GET /executions#taskId`

Returns the status of tasks for one or more target devices.

## Query parameters

- `maxResults` integer
- `nextToken` string
- `state` 'QUEUED' | 'IN_PROGRESS' | 'CANCELED' | 'FAILED' | 'SUCCEEDED' | 'REJECTED' | 'TIMED_OUT'
- `taskId` string, required

## Response `200`

Success

- ListExecutionsOutput
  - `executions` ExecutionSummary[] — A list of executions. Each execution contains the task ID, the device that the task is executing on, the execution ID, and the status of the execution.
    - `executionId` string — The ID of the execution.
    - `managedDeviceId` string — The ID of the managed device that the task is being executed on.
    - `state` 'QUEUED' | 'IN_PROGRESS' | 'CANCELED' | 'FAILED' | 'SUCCEEDED' | 'REJECTED' | 'TIMED_OUT' — The state of the execution.
    - `taskId` string — The ID of the task.
  - `nextToken` string — A pagination token to continue to the next page of executions.

## Other responses

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

---

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