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

# Seed Chat



## OpenAPI

````yaml POST /chat/seed-chat-session
openapi: 3.1.0
info:
  title: Onyx API
  description: Onyx API for AI-powered enterprise search and chat
  version: Development
servers:
  - url: https://cloud.onyx.app/api
security: []
paths:
  /chat/seed-chat-session:
    post:
      tags:
        - public
      summary: Seed Chat
      operationId: seed_chat
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ChatSeedRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ChatSeedResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - BearerAuth: []
components:
  schemas:
    ChatSeedRequest:
      properties:
        persona_id:
          type: integer
          title: Persona Id
        llm_override:
          anyOf:
            - $ref: '#/components/schemas/LLMOverride'
            - type: 'null'
        prompt_override:
          anyOf:
            - $ref: '#/components/schemas/PromptOverride'
            - type: 'null'
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: Description
        message:
          anyOf:
            - type: string
            - type: 'null'
          title: Message
      type: object
      required:
        - persona_id
      title: ChatSeedRequest
    ChatSeedResponse:
      properties:
        redirect_url:
          type: string
          title: Redirect Url
      type: object
      required:
        - redirect_url
      title: ChatSeedResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    LLMOverride:
      properties:
        model_provider:
          anyOf:
            - type: string
            - type: 'null'
          title: Model Provider
        model_version:
          anyOf:
            - type: string
            - type: 'null'
          title: Model Version
        temperature:
          anyOf:
            - type: number
            - type: 'null'
          title: Temperature
      type: object
      title: LLMOverride
    PromptOverride:
      properties:
        system_prompt:
          anyOf:
            - type: string
            - type: 'null'
          title: System Prompt
        task_prompt:
          anyOf:
            - type: string
            - type: 'null'
          title: Task Prompt
      type: object
      title: PromptOverride
    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:
    BearerAuth:
      type: http
      scheme: bearer
      description: Authorization header with Bearer token

````