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

# Get Version

> Retrieve one Table sheet version, including its snapshot. Requests are scoped to the workspace associated with the API key; table, sheet, column, cell, operation, and version IDs must belong to that workspace.

Retrieve one sheet version, including its snapshot.

The snapshot contains the versioned sheet structure and row data.


## OpenAPI

````yaml GET /api/public/v2/tables/{table_id}/sheets/{sheet_id}/versions/{version_id}
openapi: 3.1.0
info:
  title: FastAPI
  version: 0.1.0
servers: []
security:
  - ApiKeyAuth: []
paths:
  /api/public/v2/tables/{table_id}/sheets/{sheet_id}/versions/{version_id}:
    get:
      tags:
        - tables
      summary: Get Table Sheet Version
      description: >-
        Retrieve one Table sheet version, including its snapshot. Requests are
        scoped to the workspace associated with the API key; table, sheet,
        column, cell, operation, and version IDs must belong to that workspace.
      operationId: getTableSheetVersion
      parameters:
        - name: X-API-KEY
          in: header
          required: true
          schema:
            type: string
          description: >-
            Your PromptLayer API key. The key's workspace scopes table resources
            for this request.
        - name: table_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
          description: Table ID.
        - name: sheet_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
          description: Table sheet ID.
        - name: version_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
          description: Table sheet version ID.
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetTableSheetVersionResponse'
        '400':
          description: Invalid workspace context.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Table, sheet, or version not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    GetTableSheetVersionResponse:
      type: object
      title: GetTableSheetVersionResponse
      required:
        - success
        - version
      properties:
        success:
          type: boolean
        version:
          $ref: '#/components/schemas/TableSheetVersion'
    ErrorResponse:
      type: object
      properties:
        success:
          type: boolean
          default: false
          description: Indicates that the request failed.
        message:
          type: string
          description: Human-readable error message.
        error:
          type: string
          description: Machine-readable or fallback error message.
      additionalProperties: true
      description: >-
        Standard error response. Some legacy endpoints may return either message
        or error.
    TableSheetVersion:
      type: object
      title: TableSheetVersion
      required:
        - id
        - sheet_id
        - version_number
      properties:
        id:
          type: string
          format: uuid
        sheet_id:
          type: string
          format: uuid
        version_number:
          type: integer
          description: Sequential saved version number for this sheet.
        name:
          type: string
          nullable: true
        created_by:
          type: string
          nullable: true
        created_at:
          type: string
          format: date-time
          nullable: true
        metadata:
          additionalProperties: true
          type: object
        deltas:
          type: array
          items:
            additionalProperties: true
            type: object
        snapshot:
          additionalProperties: true
          type: object
        score:
          additionalProperties: true
          type: object
        score_configuration:
          type: object
          nullable: true
          additionalProperties: true
      additionalProperties: true
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-KEY

````