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

# List Products

> List products with pagination, optional filtering and text search (catalog only, no prices).



## OpenAPI

````yaml /openapi.json get /api/v1/catalog/products
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/catalog/products:
    get:
      tags:
        - Catalog
      summary: List Products
      description: >-
        List products with pagination, optional filtering and text search
        (catalog only, no prices).
      operationId: list_products_api_v1_catalog_products_get
      parameters:
        - name: page
          in: query
          required: false
          schema:
            type: integer
            minimum: 1
            default: 1
            title: Page
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            maximum: 200
            minimum: 1
            default: 50
            title: Limit
        - name: category
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Category
        - name: brand
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Brand
        - name: search
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Search
        - name: is_active
          in: query
          required: false
          schema:
            anyOf:
              - type: boolean
              - type: 'null'
            title: Is Active
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProductListResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    ProductListResponse:
      properties:
        items:
          items:
            $ref: '#/components/schemas/ProductListItem'
          type: array
          title: Items
          description: List of products matching the filter criteria
        total:
          type: integer
          title: Total
          description: Total number of products matching the filter
        page:
          type: integer
          title: Page
          description: Current page number (1-based)
        limit:
          type: integer
          title: Limit
          description: Number of products per page
      type: object
      required:
        - items
        - total
        - page
        - limit
      title: ProductListResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ProductListItem:
      properties:
        sku:
          type: string
          title: Sku
          description: Unique product identifier (SKU code)
        name:
          type: string
          title: Name
          description: Product display name
        brand:
          anyOf:
            - type: string
            - type: 'null'
          title: Brand
          description: Product brand name
        category_path:
          anyOf:
            - type: string
            - type: 'null'
          title: Category Path
          description: Category hierarchy, e.g. "Dairy > Milk"
        unit:
          anyOf:
            - type: string
            - type: 'null'
          title: Unit
          description: 'Unit of measurement: "pcs", "kg", "l", "g", "ml"'
        price:
          anyOf:
            - type: number
            - type: 'null'
          title: Price
          description: Product price (if available from webhook)
        is_active:
          type: boolean
          title: Is Active
          description: Whether the product is active in the catalog
          default: true
      type: object
      required:
        - sku
        - name
      title: ProductListItem
    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

````