> ## Documentation Index
> Fetch the complete documentation index at: https://developers.myhero.so/llms.txt
> Use this file to discover all available pages before exploring further.

# Retrieve a window of a table's cells

> Returns the cells for the given rows, plus the cells that can name a row anywhere in the table — identifier cells and one-to-many relation cells.

Those always travel, because the relation and link inputs resolve a row's label from them regardless of which page that row is on.

Intended for grids that load a page at a time; omit it and `GET /table/cells/{tableId}` still returns everything.



## OpenAPI

````yaml post /table/cells/{tableId}/window
openapi: 3.1.0
info:
  title: HERO API
  version: current
  description: |-
    The HERO REST API.

    See https://developers.myhero.so for the rendered docs.
servers:
  - url: https://app.myhero.so
security: []
paths:
  /table/cells/{tableId}/window:
    post:
      tags:
        - Tables
      summary: Retrieve a window of a table's cells
      description: >-
        Returns the cells for the given rows, plus the cells that can name a row
        anywhere in the table — identifier cells and one-to-many relation cells.


        Those always travel, because the relation and link inputs resolve a
        row's label from them regardless of which page that row is on.


        Intended for grids that load a page at a time; omit it and `GET
        /table/cells/{tableId}` still returns everything.
      operationId: getWindowedCells
      parameters:
        - schema:
            type: string
            minLength: 1
          required: true
          name: tableId
          in: path
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                rowIds:
                  type: array
                  items:
                    type: string
                    minLength: 1
                  maxItems: 1000
              required:
                - rowIds
      responses:
        '200':
          description: 200 response
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        _id:
                          type: string
                        originId:
                          type: string
                        tableId:
                          type: string
                        rowId:
                          type: string
                        columnId:
                          type: string
                        workspaceId:
                          type: string
                        isIdentifier:
                          type: boolean
                          example: false
                        data: {}
                        createdAt:
                          type: number
                        updatedAt:
                          type: number
                        isDeleted:
                          type: boolean
                          example: false
                      required:
                        - _id
                        - tableId
                        - rowId
                        - columnId
                        - workspaceId
                        - isIdentifier
                        - createdAt
                        - updatedAt
                required:
                  - data
        '400':
          description: 400 response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    description: |-
                      Error class name (e.g.

                      ValidationError, NotFound)
                  message:
                    type: string
                    description: Human-readable error message
                  details:
                    type: array
                    items: {}
                required:
                  - error
                  - message
        '404':
          description: 404 response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    description: |-
                      Error class name (e.g.

                      ValidationError, NotFound)
                  message:
                    type: string
                    description: Human-readable error message
                  details:
                    type: array
                    items: {}
                required:
                  - error
                  - message
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: HERO personal access token

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.