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

# Preview Table Data



## OpenAPI

````yaml get /v3/semantic_model/table_preview/{rag_config_id}/{database_id}/{table_name}
openapi: 3.0.3
info:
  title: Table Preview Endpoint
  version: 1.0.0
servers:
  - url: https://agent-prod.studio.lyzr.ai
security:
  - ApiKeyAuth: []
paths:
  /v3/semantic_model/table_preview/{rag_config_id}/{database_id}/{table_name}:
    get:
      summary: Preview table data
      parameters:
        - in: path
          name: rag_config_id
          required: true
          schema:
            type: string
        - in: path
          name: database_id
          required: true
          schema:
            type: string
        - in: path
          name: table_name
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Table preview
          content:
            application/json:
              schema:
                type: object
                properties:
                  table_preview:
                    type: array
                    items:
                      type: object
        '422':
          description: Validation Error
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key

````