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

# Get an AI Table

> Get detailed information of an AI Table by ID



## OpenAPI

````yaml GET /api/ai/table/{ai_table_id}
openapi: 3.0.3
info:
  title: Petal API Document
  description: Reference document for Petal app
  license:
    name: MIT
  version: 1.2.5
servers:
  - url: https://cite.petal.org
security:
  - bearerAuth: []
tags:
  - name: signup
  - name: extraction
  - name: referral
  - name: site
  - name: citegen
  - name: invite
  - name: user
  - name: tag
  - name: ai
  - name: notification
  - name: organization
  - name: annotation
  - name: search
  - name: attachment
  - name: collection
  - name: discourse
  - name: main
  - name: ai-create
  - name: document
  - name: payment
  - name: comment
  - name: lambda
  - name: sauce
  - name: admin
  - name: error
  - name: opengraph
  - name: default
  - name: media
  - name: file
  - name: oauth
paths:
  /api/ai/table/{ai_table_id}:
    get:
      tags:
        - ai
      summary: Read dict of AI table
      description: Get detailed information of an AI Table by ID
      operationId: get_/api/ai/table/{ai_table_id}
      parameters:
        - description: The unique ID of the AI Table
          in: path
          name: ai_table_id
          required: true
          schema:
            format: int32
            type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AITable'
          description: OK
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationError'
          description: Unprocessable Entity
components:
  schemas:
    AITable:
      additionalProperties: false
      properties:
        created_at:
          title: Created At
          description: Time of Table creation, in UTC
          type: string
        document_ids:
          items:
            type: integer
          title: Document IDs
          description: List of Document IDs in this Table
          type: array
        id:
          title: ID
          description: Unique ID of Table
          type: integer
        meta:
          title: Meta
          description: Metadata, for internal use
          type: object
        organization_id:
          title: Organization ID
          description: Unique ID of Organization the Table belongs to
          type: integer
        user_id:
          title: User ID
          description: Unique ID of user the Table belongs to
          type: integer
        visibility:
          title: Visibility
          description: >-
            Whether this Table can only be seen by its creator, or by the whole
            Workspace
          type: string
          enum:
            - shared
            - private
          default: shared
      required:
        - id
        - organization_id
        - user_id
        - visibility
        - created_at
        - meta
      title: AITable
      type: object
    ValidationError:
      description: Model of a validation error response.
      items:
        $ref: '#/components/schemas/ValidationError.ValidationErrorElement'
      title: ValidationError
      type: array
    ValidationError.ValidationErrorElement:
      description: Model of a validation error response element.
      properties:
        ctx:
          title: Error context
          type: object
        loc:
          items:
            type: string
          title: Missing field name
          type: array
        msg:
          title: Error message
          type: string
        type:
          title: Error type
          type: string
      required:
        - loc
        - msg
        - type
      title: ValidationErrorElement
      type: object
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````