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

# Check catalog upload progress

> Poll this endpoint to track the progress of a bulk catalog upload. Returns embedding status, counts, and any errors.



## OpenAPI

````yaml /openapi.json get /api/v1/catalog/jobs/{job_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/catalog/jobs/{job_id}:
    get:
      tags:
        - Catalog
        - Catalog Jobs
      summary: Check catalog upload progress
      description: >-
        Poll this endpoint to track the progress of a bulk catalog upload.
        Returns embedding status, counts, and any errors.
      operationId: get_job_status_api_v1_catalog_jobs__job_id__get
      parameters:
        - name: job_id
          in: path
          required: true
          schema:
            type: string
            title: Job Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/JobStatus'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    JobStatus:
      properties:
        job_id:
          type: string
          title: Job Id
          description: Unique job identifier
        tenant_id:
          type: string
          title: Tenant Id
          description: Tenant that owns this job
        status:
          type: string
          title: Status
          description: 'Job status: pending, embedding, complete, or failed'
        total:
          type: integer
          title: Total
          description: Total number of products in this job
          default: 0
        embedded:
          type: integer
          title: Embedded
          description: Number of products successfully embedded so far
          default: 0
        created:
          type: integer
          title: Created
          description: Number of new products created
          default: 0
        updated:
          type: integer
          title: Updated
          description: Number of existing products updated
          default: 0
        unchanged:
          type: integer
          title: Unchanged
          description: Number of products skipped (content unchanged)
          default: 0
        errors:
          items:
            type: string
          type: array
          title: Errors
          description: List of error messages for failed products
          default: []
        started_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Started At
          description: Timestamp when embedding started (ISO 8601)
        completed_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Completed At
          description: Timestamp when the job finished (ISO 8601)
      type: object
      required:
        - job_id
        - tenant_id
        - status
      title: JobStatus
    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

````