---
title: "File preview"
method: GET
path: "/file/preview"
---

# File preview

`GET /file/preview`

File preview

## Query parameters

- `sid` string, required
- `f` integer
- `l` integer
- `c` 1 | 2 | 3 | 4
- `m` integer
- `b` string
- `e` 0 | 1 — 0 = don't escape, 1 = default behavior

## Response `200`

OK

## Other responses

- `400` — Bad request

## Changes

- **2025-12-04** `c421471d8fe3` — 1 info
  - added the new optional `query` request parameter `e`
- **2025-11-25** `d120313f50a9` — 2 info
  - added the non-success response with the status `400`
  - added the success response with the status `200`
- **2025-11-19** `722b0ddb9ec4` — 1 info
  - endpoint added
- **2025-11-14** `218f8a8b8952` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/intelligencex/apis/intelx-io-search-api/changes/file/preview/get.md)

---

[API](https://skmtc.dev/intelligencex/apis/intelx-io-search-api.md) · [All operations](https://skmtc.dev/intelligencex/apis/intelx-io-search-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/intelligencex/intelx-io-search-api/revisions/09fb9b26ddff/schema)
