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

# Get A Conversation

> Get A Conversation



## OpenAPI

````yaml api-reference/openapi-spec.json get /api/external/chatbot/{chatbotId}/conversations/{sessionId}
openapi: 3.0.3
info:
  title: OKCHAT2.0
  version: 1.0.0
  contact: {}
servers:
  - url: https://v2.okchat.ai
  - url: http://localhost
security: []
tags: []
paths:
  /api/external/chatbot/{chatbotId}/conversations/{sessionId}:
    parameters:
      - name: chatbotId
        in: path
        required: true
        schema:
          type: string
          example: 5afe16ed-5fd2-4552-a993-903bc9c32bb6
      - name: sessionId
        in: path
        required: true
        schema:
          type: string
          example: 7a04ca3c-4ea8-44f5-b14d-f61bec64ea14
    get:
      summary: Get A Conversation
      description: Get A Conversation
      operationId: getAConversation
      parameters:
        - name: x-api-key
          in: header
          schema:
            type: string
            example: 15a23c21867f4f38b0b46f5e4adb1caf87a040b34eb58f68
      requestBody:
        content:
          application/json:
            examples:
              Get A Conversation:
                value: ''
      responses:
        '200':
          description: Example
          headers:
            Access-Control-Allow-Credentials:
              schema:
                type: string
                example: 'true'
            Access-Control-Allow-Headers:
              schema:
                type: string
                example: >-
                  X-CSRF-Token, X-Requested-With, Accept, Accept-Version,
                  Content-Length, Content-MD5, Content-Type, Date, X-Api-Version
            Access-Control-Allow-Methods:
              schema:
                type: string
                example: GET,OPTIONS,PATCH,DELETE,POST,PUT
            Access-Control-Allow-Origin:
              schema:
                type: string
                example: '*'
            Connection:
              schema:
                type: string
                example: keep-alive
            Date:
              schema:
                type: string
                example: Wed, 22 Jan 2025 10:40:36 GMT
            Keep-Alive:
              schema:
                type: string
                example: timeout=5
            Transfer-Encoding:
              schema:
                type: string
                example: chunked
            vary:
              schema:
                type: string
                example: >-
                  RSC, Next-Router-State-Tree, Next-Router-Prefetch,
                  Next-Router-Segment-Prefetch
          content:
            application/json:
              schema:
                type: object
                properties:
                  session:
                    type: object
                    properties:
                      active:
                        type: boolean
                        example: true
                      chatbot_id:
                        type: string
                        example: 5afe16ed-5fd2-4552-a993-903bc9c32bb6
                      created_at:
                        type: string
                        example: '2025-01-22T10:21:17.313285+00:00'
                      id:
                        type: string
                        example: 7a04ca3c-4ea8-44f5-b14d-f61bec64ea14
                      is_human_mode:
                        type: boolean
                        example: false
                      last_message:
                        type: string
                        example: Tell me about the history of the internet.
                      metadata:
                        type: object
                        properties:
                          anonymous:
                            type: boolean
                            example: true
                      migrated_data:
                        type: boolean
                        example: false
                      platform:
                        type: string
                        example: web
                      session_token:
                        nullable: true
                        example: null
                      sns_user_id:
                        type: string
                        example: sessionToken789
                      updated_at:
                        type: string
                        example: '2025-01-22T10:24:54.750912+00:00'
                      user_id:
                        nullable: true
                        example: null
                      voice_path:
                        nullable: true
                        example: null
              examples:
                Example:
                  value:
                    session:
                      active: true
                      chatbot_id: 5afe16ed-5fd2-4552-a993-903bc9c32bb6
                      created_at: '2025-01-22T10:21:17.313285+00:00'
                      id: 7a04ca3c-4ea8-44f5-b14d-f61bec64ea14
                      is_human_mode: false
                      last_message: Tell me about the history of the internet.
                      metadata:
                        anonymous: true
                      migrated_data: false
                      platform: web
                      session_token: null
                      sns_user_id: sessionToken789
                      updated_at: '2025-01-22T10:24:54.750912+00:00'
                      user_id: null
                      voice_path: null

````