## Serve a file

**get** `/v1/assets/serve`

Stream a file given an mxc://, localmxc://, or file:// URL. Downloads first if not cached. Supports Range requests for seeking in large files.

### Query Parameters

- `url: string`

  File URL to serve. Accepts mxc://, localmxc://, or file:// URLs.

### Example

```http
curl http://localhost:23373/v1/assets/serve \
    -H "Authorization: Bearer $BEEPER_ACCESS_TOKEN"
```
