> ## 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.

# Create cell without AI

> Create a cell within an AI table, without invoking the AI to generate any response. Cell contents will still be embedded to be used as context for AI chat, if needed



## OpenAPI

````yaml POST /api/ai/table/{ai_table_id}/cell/create
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}/cell/create:
    post:
      tags:
        - ai
      summary: Create a cell in AI table, without invoking the AI on it
      description: >-
        Create a cell within an AI table, without invoking the AI to generate
        any response. Cell contents will still be embedded to be used as context
        for AI chat, if needed
      operationId: post_/api/ai/table/{ai_table_id}/cell/create
      parameters:
        - description: The unique ID of the AI Table
          in: path
          name: ai_table_id
          required: true
          schema:
            format: int32
            type: integer
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AICellCreateBody'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AICell'
          description: OK
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationError'
          description: Unprocessable Entity
components:
  schemas:
    AICellCreateBody:
      additionalProperties: false
      properties:
        ai_column_id:
          title: AI Column ID
          description: The unique ID of the AI column that contains this cell
          type: integer
        document_id:
          title: Document ID
          description: The unique ID of the Document associated with the cell
          type: integer
        meta:
          title: Meta
          description: Metadata, for internal use
          type: object
        response:
          title: Response
          description: >-
            The AI's response to the user based on the column query of this
            cell, or a user-submitted response
          type: string
      required:
        - document_id
        - ai_column_id
      title: AICellCreateBody
      type: object
    AICell:
      additionalProperties: false
      properties:
        ai_column_id:
          title: AI Column ID
          description: The unique ID of the column the cell belongs to
          type: integer
        document_id:
          title: Document ID
          description: The unique ID of the Document associated with the cell
          type: integer
        id:
          title: ID
          description: The unique ID of the cell
          type: integer
        meta:
          title: Meta
          description: Metadata, for internal use
          type: object
        modified_at:
          title: Modified At
          description: Modification time, by UTC
          type: string
        response:
          title: Response
          description: >-
            The AI's response to the user based on the column query of this
            cell, or a user-submitted response
          type: string
        task_id:
          title: Task ID
          description: Task ID for internal use
          type: string
        task_status:
          title: Task Status
          description: AI task status for this cell
          type: string
      required:
        - id
        - ai_column_id
        - document_id
        - response
        - modified_at
        - meta
        - task_id
        - task_status
      title: AICell
      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

````