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

# List Sync Runs

> Paginated run history. `page_size` capped — the rows JSONB per run can be
large, so we never hand back an unbounded page.



## OpenAPI

````yaml https://api.vellaro.io/openapi.json get /api/v1/admin/nextera/sync/runs
openapi: 3.1.0
info:
  title: Vellaro API
  description: Vellaro 2026 — E-commerce API
  version: 0.1.0
servers:
  - url: https://api.vellaro.io
    description: Produzione
security: []
tags: []
paths:
  /api/v1/admin/nextera/sync/runs:
    get:
      tags:
        - admin:nextera
      summary: List Sync Runs
      description: >-
        Paginated run history. `page_size` capped — the rows JSONB per run can
        be

        large, so we never hand back an unbounded page.
      operationId: list_sync_runs_api_v1_admin_nextera_sync_runs_get
      parameters:
        - name: page
          in: query
          required: false
          schema:
            type: integer
            minimum: 1
            default: 1
            title: Page
        - name: page_size
          in: query
          required: false
          schema:
            type: integer
            maximum: 50
            minimum: 1
            default: 20
            title: Page Size
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiResponse_list_NexteraSyncRunOut__'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    ApiResponse_list_NexteraSyncRunOut__:
      properties:
        data:
          anyOf:
            - items:
                $ref: '#/components/schemas/NexteraSyncRunOut'
              type: array
            - type: 'null'
          title: Data
        meta:
          anyOf:
            - $ref: '#/components/schemas/PaginationMeta'
            - type: 'null'
        error:
          anyOf:
            - type: string
            - type: 'null'
          title: Error
        error_code:
          anyOf:
            - type: string
            - type: 'null'
          title: Error Code
      type: object
      title: ApiResponse[list[NexteraSyncRunOut]]
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    NexteraSyncRunOut:
      properties:
        id:
          type: string
          title: Id
        resource:
          type: string
          title: Resource
        kind:
          type: string
          title: Kind
        dry_run:
          type: boolean
          title: Dry Run
        status:
          type: string
          title: Status
        started_at:
          type: string
          format: date-time
          title: Started At
        finished_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Finished At
        total:
          type: integer
          title: Total
        updated:
          type: integer
          title: Updated
        skipped:
          type: integer
          title: Skipped
        errors:
          type: integer
          title: Errors
        cursor_from:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Cursor From
        cursor_to:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Cursor To
        rows:
          items:
            $ref: '#/components/schemas/NexteraSyncRowOut'
          type: array
          title: Rows
        error:
          anyOf:
            - type: string
            - type: 'null'
          title: Error
      type: object
      required:
        - id
        - resource
        - kind
        - dry_run
        - status
        - started_at
        - total
        - updated
        - skipped
        - errors
      title: NexteraSyncRunOut
    PaginationMeta:
      properties:
        page:
          type: integer
          title: Page
        page_size:
          type: integer
          title: Page Size
        total:
          type: integer
          title: Total
        total_pages:
          type: integer
          title: Total Pages
      type: object
      required:
        - page
        - page_size
        - total
        - total_pages
      title: PaginationMeta
    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
    NexteraSyncRowOut:
      properties:
        nextera_product_id:
          type: string
          title: Nextera Product Id
        product_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Product Id
        name:
          anyOf:
            - type: string
            - type: 'null'
          title: Name
        resource:
          type: string
          title: Resource
        action:
          type: string
          title: Action
        price_old:
          anyOf:
            - type: string
            - type: 'null'
          title: Price Old
        price_new:
          anyOf:
            - type: string
            - type: 'null'
          title: Price New
        stock_old:
          anyOf:
            - type: integer
            - type: 'null'
          title: Stock Old
        stock_new:
          anyOf:
            - type: integer
            - type: 'null'
          title: Stock New
        reason:
          anyOf:
            - type: string
            - type: 'null'
          title: Reason
      type: object
      required:
        - nextera_product_id
        - resource
        - action
      title: NexteraSyncRowOut
      description: |-
        One product's outcome in a run. Only real changes and errors are listed;
        no-op skips are counted, not enumerated.
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````