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

# Get batch status and progress



## OpenAPI

````yaml GET /products/ingestions/{batch_id}
openapi: 3.1.0
info:
  title: Products Ingestion API
  version: 0.1.0-preview
  description: >
    Asynchronous product ingestion (append/upsert). Deduplication by
    `external_id` (product) and `sku` (variant).

    Policy: partial acceptance. No idempotency for now. Tenancy comes from
    token.
servers:
  - url: https://api.example.com
    description: Production (placeholder)
  - url: https://sandbox.api.example.com
    description: Sandbox (placeholder)
security:
  - bearerAuth: []
paths:
  /products/ingestions/{batch_id}:
    get:
      summary: Queries the status and progress of a batch
      parameters:
        - name: batch_id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Batch status
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BatchStatusResponse'
        '401':
          $ref: '#/components/responses/Problem'
        '403':
          $ref: '#/components/responses/Problem'
        '404':
          $ref: '#/components/responses/Problem'
        default:
          $ref: '#/components/responses/Problem'
      security:
        - bearerAuth: []
components:
  schemas:
    BatchStatusResponse:
      type: object
      additionalProperties: false
      properties:
        batch_id:
          type: string
        status:
          $ref: '#/components/schemas/BatchStatus'
        received_count:
          type: integer
        validated_ok:
          type: integer
        validated_failed:
          type: integer
        upserted:
          type: integer
        failed:
          type: integer
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
      required:
        - batch_id
        - status
        - received_count
        - created_at
    BatchStatus:
      type: string
      enum:
        - accepted
        - validating
        - processing
        - completed
        - completed_with_errors
        - failed
    Problem:
      type: object
      additionalProperties: false
      properties:
        type:
          type: string
          format: uri
        title:
          type: string
        detail:
          type: string
        status:
          type: integer
        instance:
          type: string
        errors:
          type: array
          items:
            type: object
            additionalProperties: false
            properties:
              code:
                type: string
              field:
                type: string
              message:
                type: string
      required:
        - title
        - status
  responses:
    Problem:
      description: Error in RFC 7807 format
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/Problem'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````