---
title: "List device deployment events"
method: GET
path: "/api/{projectId}/devices/{deviceId}/deployment-events"
tags: ["Devices"]
---

# List device deployment events

`GET /api/{projectId}/devices/{deviceId}/deployment-events`

## Request

- Base URL: `https://studio.edgeimpulse.com/v1`
- URL: `https://studio.edgeimpulse.com/v1/api/{projectId}/devices/{deviceId}/deployment-events`
- Auth: one of:
  - API key in header `x-api-key`
  - API key in cookie `jwt`
  - API key in header `x-jwt-token`
  - OAuth 2
    - Authorization code: `/v1/oauth/authorize`
    - Client credentials
    - Implicit: `/v1/oauth/authorize`
    - Password
    - Token URL: `/v1/oauth/token`
- TypeScript: <https://skmtc.dev/edgeimpulse/apis/edge-impulse-api/docs/api/:projectId/devices/:deviceId/deployment-events/get.ts> (a function with typed inputs; its response is checked against the schema)

Lists model deployment and rollback events reported by this device, newest first.

## Path parameters

- `projectId` integer, required
- `deviceId` string, required

## Query parameters

- `since` integer
- `limit` integer
- `offset` integer

## Response `200`

OK

- ListDeviceDeploymentHistoryResponse
  - `success` boolean, required: Whether the operation succeeded
  - `error` string: Optional error description (set if 'success' was false)
  - `events` DeviceDeploymentEvent[], required: Device deployment events in newest-first order.
    - `id` integer, required: Unique identifier for this deployment event.
    - `receivedAt` string, date-time, required: Date and time when Remote Management received the result from the device.
    - `status` 'success' | 'failure', required: Whether the device successfully completed the operation.
    - `operation` 'deploy' | 'rollback': Deployment operation performed by the device. Omitted for legacy results that did not report it.
    - `deploymentVersion` integer: Project deployment version targeted by the operation, when reported by the device.
    - `imageDigest` string: SHA-256 digest of the runner container image active after a successful operation, when reported by the device.
    - `bundleDigest` string: SHA-256 digest of the model artifact or inference bundle active after a successful operation, when reported by the device.
    - `error` string: Device-reported failure reason. Omitted for successful operations.
  - `totalDeploymentEventCount` integer, required: Total number of deployment events for this device, before pagination.

---

[API](https://skmtc.dev/edgeimpulse/apis/edge-impulse-api.md) - [All operations](https://skmtc.dev/edgeimpulse/apis/edge-impulse-api/llms.txt) - [OpenAPI document](https://skmtc.dev/edgeimpulse/apis/edge-impulse-api/revisions/e2a976d38427?raw)
