---
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

---

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