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

# Create Gemini Prompt

> Create a Gemini prompt.

Args:
    prompt (GeminiPromptSchema): The Gemini prompt to create
    _admin_user (User): The current user

Returns:
    GeminiPromptSchema: The created Gemini prompt



## OpenAPI

````yaml https://dev-api.cattix.com/openapi.json post /api/v1/chat/gemini_prompts
openapi: 3.1.0
info:
  title: CATTIX API
  description: CATTIX Backend API
  version: 0.107.0
servers:
  - url: http://localhost:8000
    description: Local
  - url: https://dev-api.cattix.com
    description: Development
  - url: https://staging-api.cattix.com
    description: Staging
  - url: https://api.cattix.com
    description: Production
security: []
paths:
  /api/v1/chat/gemini_prompts:
    post:
      tags:
        - Chat
      summary: Create Gemini Prompt
      description: |-
        Create a Gemini prompt.

        Args:
            prompt (GeminiPromptSchema): The Gemini prompt to create
            _admin_user (User): The current user

        Returns:
            GeminiPromptSchema: The created Gemini prompt
      operationId: create_gemini_prompt_api_v1_chat_gemini_prompts_post
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GeminiPromptCreateSchema'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GeminiPromptSchema'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - OAuth2PasswordBearer: []
components:
  schemas:
    GeminiPromptCreateSchema:
      properties:
        type:
          $ref: '#/components/schemas/GeminiPromptTypes'
          title: The type of the prompt
        prompt:
          type: string
          title: The prompt
      type: object
      required:
        - type
        - prompt
      title: GeminiPromptCreateSchema
      description: The schema for creating a Gemini prompt.
    GeminiPromptSchema:
      properties:
        type:
          $ref: '#/components/schemas/GeminiPromptTypes'
          title: The type of the prompt
        prompt:
          type: string
          title: The prompt
        id:
          type: integer
          title: The ID of the prompt
        date_added:
          type: string
          format: date-time
          title: The date the prompt was added
        date_updated:
          type: string
          format: date-time
          title: The date the prompt was updated
      type: object
      required:
        - type
        - prompt
        - id
        - date_added
        - date_updated
      title: GeminiPromptSchema
      description: The schema for a Gemini prompt.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    GeminiPromptTypes:
      type: string
      enum:
        - negative_keyword_recommendations
        - negative_keyword_shopping_pmax_recommendations
        - keyword_pause_recommendations
        - double_check_pause_keywords_recommendation
        - keyword_pause_context_validation
        - headline_recommendations
        - description_recommendations
        - keyword_to_ad_groups_splitting
        - rsa_generation
        - extension_generation
      title: GeminiPromptTypes
      description: The types of prompts for the Gemini API.
    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
  securitySchemes:
    OAuth2PasswordBearer:
      type: oauth2
      flows:
        password:
          scopes: {}
          tokenUrl: api/v1/users/authorization/token

````