---
title: "GET /v1/projects/{projectOrProductUID}/devices/{deviceUID}/files"
method: GET
path: "/v1/projects/{projectOrProductUID}/devices/{deviceUID}/files"
tags: ["device"]
---

# GET /v1/projects/{projectOrProductUID}/devices/{deviceUID}/files

`GET /v1/projects/{projectOrProductUID}/devices/{deviceUID}/files`

Lists .qi and .db files for the device

## Path parameters

- `projectOrProductUID` string, required
- `deviceUID` string, required

## Query parameters

- `files` string[]
- `pending` boolean

## Response `200`

All notefiles and their notes

- Notefile[] — Array of notefiles, each containing its notes.
  - `id` string, required — Notefile id (e.g., "test.qi", "config.db").
  - `notes` Note[], required
    - `body` object, required — Arbitrary user-defined JSON for the note.
    - `edge` boolean — True if originated from an edge source.
    - `id` string, required — Note name/identifier (e.g., "1:435", "my_note").
    - `payload` string, byte — Optional base64-encoded payload.
    - `pending` boolean — True if the note is pending delivery or processing.
    - `time` integer, required — Unix epoch seconds.
    - `where` string — Optional location/metadata string.
  - `template` string

## Other responses

- `default` — The response body in case of an API error.

## Changes

- **2026-07-10** `1887e880199a` — 1 breaking, 6 info
  - the response's body type/format changed from ``/`` to `object`/`` for status `default`
  - added the optional property `debug` to the response with the `default` status
  - added the optional property `details` to the response with the `default` status
  - added the optional property `request` to the response with the `default` status
  - …3 more
- **2025-12-04** `61f8ce051231` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/notefile/apis/notehub-api/changes/v1/projects/:projectOrProductUID/devices/:deviceUID/files/get.md)

---

[API](https://skmtc.dev/notefile/apis/notehub-api.md) · [All operations](https://skmtc.dev/notefile/apis/notehub-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/notefile/notehub-api/revisions/9c5b2b63a991/schema)
