---
title: "GET /clipboard/entries/:id/file"
method: GET
path: "/clipboard/entries/{id}/file"
tags: ["clipboard"]
---

# GET /clipboard/entries/:id/file

`GET /clipboard/entries/{id}/file`

Serves the bytes of an entry's first materialized free-file (ADR-008
P5-1b). The daemon materializes inbound free-files into a controlled cache
and rewrites the entry's file-list representation; this endpoint reads that
cached file and streams it back. Binary endpoint: the response is
`application/octet-stream` (the representation MIME when known), NOT the
`{ data, ts }` JSON envelope (ADR-008 §0.2 keeps binary endpoints exempt).
A `Content-Disposition: attachment` header carries the cached filename so
CLI `recv` can name the local copy. Returns 404 when the entry is unknown
or carries no materialized free-file, 500 on a read failure.

## Path parameters

- `id` string, required

## Response `200`

Raw bytes of the entry's first materialized file

## Other responses

- `404` — Entry or file not found
- `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)
