---
title: "View the contents of any item (folder, sheet, doc bundle, memo, image). The query parameters (where/sort/select/limit/offset/boxes) are sheet-only and are ignored on every other kind."
method: GET
path: "/view"
---

# View the contents of any item (folder, sheet, doc bundle, memo, image). The query parameters (where/sort/select/limit/offset/boxes) are sheet-only and are ignored on every other kind.

`GET /view`

## Request

- Base URL: `https://api.space-ocr.com`
- URL: `https://api.space-ocr.com/view`
- Auth: HTTP bearer

## Query parameters

- `path` string, required: Slash-separated path. Folders are addressed by name. Sheets can be addressed by name (must be unique within the parent folder) or by the uniqueKey returned by /create.
- `where` union: [Sheets only] Row filter, e.g. `total>=40000` or `vendor~サクラ`. Repeatable; clauses are AND-ed. Operators: = != > >= < <= ~ (contains). Matches sheet columns plus name/ocrStatus. Ignored for folders, memos, images, and doc bundles.
  - string
  - string[]
- `sort` union: [Sheets only] Sort spec, e.g. `total:desc` or `-invoice_date`. Repeatable for tie-breaks.
  - string
  - string[]
- `select` string: [Sheets only] Comma-separated column names to return (projection), e.g. `vendor,total`. Filters both `values` keys and `cells` paths (by their first segment).
- `limit` integer: [Sheets only] Max rows to return (1–500). Does not paginate doc bundle pages.
- `offset` integer, nullable: [Sheets only] Rows to skip for pagination (pair with `limit`; see `nextOffset` in the response).
- `boxes` '0' | '1' | 'true' | 'false': [Sheets only] Set `0`/`false` to drop the per-row `cells` map (boxes/quads) for a lean payload. `values`/`review` are kept. Doc bundle page cells are always returned.

## Response `200`

OK

- unknown

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `402`: Payment Required
- `403`: Forbidden
- `404`: Not Found
- `413`: Payload Too Large
- `429`: Too Many Requests
- `500`: Internal Error
- `502`: OCR engine error (charge auto-refunded)
- `504`: OCR engine timeout (charge auto-refunded)

---

[API](https://skmtc.dev/space-ocr/apis/space-ocr-public-api.md) · [All operations](https://skmtc.dev/space-ocr/apis/space-ocr-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/space-ocr/apis/space-ocr-public-api/revisions/d7831cf1168e?raw)
