---
title: "GET /clipboard/entries?limit=50&offset=0"
method: GET
path: "/clipboard/entries"
tags: ["clipboard"]
deprecated: true
---

# GET /clipboard/entries?limit=50&offset=0

`GET /clipboard/entries`

> **Deprecated.**

**Deprecated.** Browsing has moved to the unified search endpoint
(`GET /search/query` with an empty query). This list endpoint is kept only
for the CLI compatibility window and is removed in a later phase. New callers
MUST use search.

Lists clipboard entries with pagination. Returns camelCase entry projections.
Populates `linkDomains` from `linkUrls`. Limit is clamped to 1000.

## Query parameters

- `limit` integer
- `offset` integer

## Response `200`

Clipboard entries listed

- ListEntriesEnvelope — Canonical success envelope: `{ "data": T, "ts": <unix millis i64> }`. `ts` is `chrono::Utc::now().timestamp_millis()`, set in the webserver handler via [`ApiEnvelope::now`] (the contract carries only the type + the clock helper, not a hard dependency on when the handler reads the clock). `rename_all = "camelCase"` is a no-op for the single-word fields here but is declared for forward-compat. IMPORTANT (utoipa v4): every concrete `ApiEnvelope<X>` that needs a named OpenAPI component is declared in the `#[aliases(...)]` block below. Add a new alias line whenever a new payload type needs enveloping. NEVER register the bare `ApiEnvelope` in `components(schemas(...))` — utoipa errors on a bare generic, and an un-aliased generic inlines an anonymous schema.
  - `data` EntryProjectionResponseDto[], required
    - `activeTime` integer, required
    - `capturedAt` integer, required
    - `contentTags` string[]
    - `contentType` string, required
    - `fileSizes` integer[], nullable
    - `fileTransferReason` string, nullable
    - `fileTransferStatus` string, nullable
    - `hasDetail` boolean, required
    - `id` string, required
    - `imageHeight` integer, nullable — Original image height in pixels (only for image entries).
    - `imageWidth` integer, nullable — Original image width in pixels (only for image entries).
    - `isDirectory` boolean — Whether this file entry was captured as a directory. `true` lets the sender UI render status only (no byte percentage) for directory sends, whose reverse progress aliases every member onto one id. Defaults to `false` for non-file entries and older responses that omit the field.
    - `isEncrypted` boolean, required
    - `isFavorited` boolean, required
    - `linkDomains` string[], nullable
    - `linkUrls` string[], nullable
    - `payloadState` string, nullable — `paste_rep` 的 payload_state, 仅在 `Lost` 时输出。前端用此把"内容已 丢失"的 entry 灰显, 让用户在点击粘贴前就知道这条记录已不可用。
    - `preview` string, required
    - `sizeBytes` integer, required
    - `thumbnailUrl` string, nullable
    - `updatedAt` integer, required
  - `ts` integer, required — Server time when the response was built (unix epoch milliseconds).

## Other responses

- `500` — Internal server error

---

[API](https://skmtc.net/uniclipboard/apis/uniclipboard-daemon-api.md) · [All operations](https://skmtc.net/uniclipboard/apis/uniclipboard-daemon-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/uniclipboard/uniclipboard-daemon-api/versions/c1c97b0df585/schema)
