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

# Export Grid



## OpenAPI

````yaml https://clientapi.retailgrid.io/openapi.json get /v1/grids/{grid_id}
openapi: 3.1.0
info:
  title: Retailgrid Public API
  version: v1
servers: []
security: []
paths:
  /v1/grids/{grid_id}:
    get:
      tags:
        - grids
      summary: Export Grid
      operationId: export_grid_v1_grids__grid_id__get
      parameters:
        - name: grid_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Grid Id
        - name: offset
          in: query
          required: false
          schema:
            type: integer
            minimum: 0
            default: 0
            title: Offset
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            maximum: 1000
            minimum: 1
            default: 100
            title: Limit
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GridExportResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    GridExportResponse:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        name:
          type: string
          title: Name
        status:
          type: string
          title: Status
        row_count:
          type: integer
          title: Row Count
        column_count:
          type: integer
          title: Column Count
          description: >-
            Total columns: canonical (product/variant) plus user-defined custom
            and calculated columns. Identical in the list and export responses.
        tags:
          items:
            type: string
          type: array
          title: Tags
        created_at:
          type: string
          format: date-time
          title: Created At
        updated_at:
          type: string
          format: date-time
          title: Updated At
        columns:
          items:
            $ref: '#/components/schemas/GridExportColumn'
          type: array
          title: Columns
        rows:
          items:
            additionalProperties:
              anyOf:
                - type: string
                - type: integer
                - type: number
                - type: boolean
                - type: 'null'
            type: object
          type: array
          title: Rows
        offset:
          type: integer
          title: Offset
        limit:
          type: integer
          title: Limit
        total:
          type: integer
          title: Total
        has_more:
          type: boolean
          title: Has More
      additionalProperties: false
      type: object
      required:
        - id
        - name
        - status
        - row_count
        - column_count
        - created_at
        - updated_at
        - offset
        - limit
        - total
        - has_more
      title: GridExportResponse
      description: >-
        ``GET /v1/grids/{id}`` — grid metadata, column definitions, and a page
        of

        rows (offset/limit) with materialized calculated-column values.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    GridExportColumn:
      properties:
        key:
          type: string
          title: Key
        name:
          type: string
          title: Name
        type:
          type: string
          title: Type
        source:
          type: string
          enum:
            - canonical
            - custom
            - calculated
          title: Source
      additionalProperties: false
      type: object
      required:
        - key
        - name
        - type
        - source
      title: GridExportColumn
      description: Column definition in a grid export, tagged by its origin.
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````