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

# Get Conversation

> Get full conversation details by ID.



## OpenAPI

````yaml /openapi.json get /api/v1/conversations/{conversation_id}
openapi: 3.1.0
info:
  title: VIZOCHOK API
  description: >

    ## VIZOCHOK — AI Shopping Assistant API


    Integrate an AI-powered grocery shopping assistant into your app or website.

    The assistant helps customers find products, build shopping lists, plan
    meals, and manage recipes using your store's real inventory.


    ### Integration


    | Method | Use Case | Auth |

    |--------|----------|------|

    | **WebSocket** `/api/v1/ws/chat` | Real-time streaming chat | API key via
    first message |


    ### Authentication


    All endpoints require an API key:

    ```

    Authorization: Bearer sk_...

    ```


    **Key types:**

    - `sk_*` — **Secret key** (backend-to-backend). Full access. Pass
    `X-User-Id` header for user identity.

    - `pk_*` — **Public key** (frontend widget). Chat-only access. Pass
    `X-User-Token` (JWT) for user identity.


    Get your keys from the admin panel or contact support.


    ### Quick Start

    1. Get an API key

    2. Upload your product catalog: `PUT /catalog/products` (returns job_id,
    embedding runs in background)

    3. Connect WebSocket and start chatting!

    4. Configure webhook URLs in the admin panel for real-time prices and cart
    sync
  version: 1.0.0
servers:
  - url: https://api.vizochok.com
    description: Production
security: []
tags:
  - name: Catalog
    description: 'Product catalog management: upload, search, update, and delete products.'
  - name: Catalog Jobs
    description: Track bulk catalog upload and re-embedding job progress.
  - name: Conversations
    description: View and manage customer chat conversations.
  - name: Users
    description: 'User profile management: language, dietary preferences, favorites.'
paths:
  /api/v1/conversations/{conversation_id}:
    get:
      tags:
        - Conversations
      summary: Get Conversation
      description: Get full conversation details by ID.
      operationId: get_conversation_api_v1_conversations__conversation_id__get
      parameters:
        - name: conversation_id
          in: path
          required: true
          schema:
            type: string
            title: Conversation Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConversationDetail'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    ConversationDetail:
      properties:
        id:
          type: string
          title: Id
          description: Unique conversation identifier
        user_id:
          anyOf:
            - type: string
            - type: 'null'
          title: User Id
          description: Identifier of the user who started this conversation
        store_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Store Id
          description: Store identifier associated with this conversation
        created_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Created At
          description: Timestamp when the conversation was created (ISO 8601)
        updated_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Updated At
          description: Timestamp of the last message in this conversation (ISO 8601)
        conversation_history:
          items: {}
          type: array
          title: Conversation History
          description: Full list of messages in the conversation
          default: []
        selected_items:
          items: {}
          type: array
          title: Selected Items
          description: Products added to cart during this conversation
          default: []
        token_usage:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Token Usage
          description: Token usage breakdown for this conversation
      type: object
      required:
        - id
      title: ConversationDetail
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````