---
title: "List tasks for a device"
method: GET
path: "/devices/{deviceId}/tasks"
tags: ["Devices"]
---

# List tasks for a device

`GET /devices/{deviceId}/tasks`

Returns a paginated list of tasks that have run on the device, along with pagination metadata.

## Path parameters

- `deviceId` string, required

## Query parameters

- `page` integer
- `pageSize` integer
- `orderBy` 'id' | 'createdAt' | 'updatedAt' | 'assignedAt'
- `orderByDirection` 'asc' | 'desc'

## Response `200`

OK

- ResponseTask
  - `$schema` string, uri — A URL to the JSON Schema for this object.
  - `items` Task[], nullable, required
    - `createdAt` string, date-time, required
    - `taskId` string, required
    - `updatedAt` string, date-time, required
  - `pagination` Meta, required
    - `hasNext` boolean, required
    - `hasPrev` boolean, required
    - `page` integer, required
    - `pageSize` integer, required
    - `pages` integer, required
    - `total` integer, required

## Other responses

- `default` — Error

## Changes

- **2026-08-01** `cd80ab1b29b0` — 1 info
  - endpoint added
- **2026-08-01** `3183ec3153d1` — 1 breaking
  - api path removed without deprecation
- **2026-06-29** `3cb3612f45e0` — 1 info
  - endpoint added
- **2026-06-29** `8ea6db3daeac` — 1 breaking
  - api path removed without deprecation
- **2026-05-11** `12719a46e639` — 2 info
  - api tag `Devices` added
  - api tag `devices` removed

[Change history](https://skmtc.dev/droidrun/apis/droidrun-cloud/changes/devices/:deviceId/tasks/get.md)

---

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