---
title: "Read a file's raw contents. Use this for direct data download."
method: GET
path: "/file/view"
---

# Read a file's raw contents. Use this for direct data download.

`GET /file/view`

Show a file's contents based on its storageid (sid), convert to text where necessary.

## Query parameters

- `f` integer
- `storageid` string, required
- `bucket` string
- `escape` 0 | 1 — 0 = don't escape, 1 = default behavior

## Response `200`

Data as payload according to the type

## Other responses

- `400` — Invalid Input
- `404` — item was not found

## Changes

- **2025-11-25** `d120313f50a9` — 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/view/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)
