---
title: "ListFOTAJobExecutionsForDevice"
method: GET
path: "/fota-job-executions/{deviceId}"
tags: ["FOTA Job Executions"]
---

# ListFOTAJobExecutionsForDevice

`GET /fota-job-executions/{deviceId}`

## Path parameters

- `deviceId` string, required — This is the canonical device id used in the device certificate, and as the MQTT client id.

## Query parameters

- `pageLimit` integer — Maximum number of items you want returned in the response (<=100).
- `pageNextToken` string — If available in the initial response, use this token to retrieve the next page of items in the list. When supplying as a request parameter, use URL-encoding.

## Response `200`

Ok

- PaginatedResultFOTAJobExecution
  - `items` FOTAJobExecution[], required
    - `tenantId` string, required — The UUID of the team owning the device(s)
    - `status` 'QUEUED' | 'IN_PROGRESS' | 'FAILED' | 'SUCCEEDED' | 'TIMED_OUT' | 'CANCELLED' | 'REJECTED' | 'DOWNLOADING', required
    - `executionId` string, required — Universally unique identifier
    - `jobId` string, required — Universally unique identifier
    - `statusDetail` string
    - `jobDocument` FotaV2JobDocumentModel, required
      - `firmwareType` 'APP' | 'MODEM' | 'BOOT' | 'SOFTDEVICE' | 'BOOTLOADER' | 'MDM_FULL' | 'SMP' | 'CUSTOM', required — Firmware types that can be specified in the device's shadow in reported.device.serviceInfo.fota_v2 and in its Elasticsearch document in the firmware.supports array.
      - `fileSize` number, double, required
      - `host` string, required
      - `path` string, required
      - `version` string, required
      - `bundleId` string, required — Unique bundle identifier
    - `createdAt` string, date-time, required
    - `deviceId` string, required — This is the canonical device id used in the device certificate, and as the MQTT client id.
    - `lastUpdatedAt` string, date-time, required
  - `total` integer — Reflects the total results returned by the query, which may be less than the total number of items available. If the response contains a `pageNextToken` value, you can supply the `pageNextToken` in the next request to get more results. The maximum value of `total` is the page limit of the request, or ten pages if no page limit is provided.
  - `pageNextToken` string — Token used to retrieve the next page of items in the list. Present in a response only if the total available results exceeds the specified limit on a page. This token does not change between requests. When supplying as a request parameter, use URL-encoding.

---

[API](https://skmtc.dev/nrfcloud/apis/nrf-cloud-rest-api.md) · [All operations](https://skmtc.dev/nrfcloud/apis/nrf-cloud-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/nrfcloud/nrf-cloud-rest-api/revisions/c4e56e458ebf/schema)
