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

# Get Sync Status

> State of both delta streams + any run in flight. `_require_enabled` makes
this 409 when the module is off — the page shows that explicitly.



## OpenAPI

````yaml https://api.vellaro.io/openapi.json get /api/v1/admin/nextera/sync
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:
    get:
      tags:
        - admin:nextera
      summary: Get Sync Status
      description: >-
        State of both delta streams + any run in flight. `_require_enabled`
        makes

        this 409 when the module is off — the page shows that explicitly.
      operationId: get_sync_status_api_v1_admin_nextera_sync_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiResponse_NexteraSyncStatusOut_'
      security:
        - HTTPBearer: []
components:
  schemas:
    ApiResponse_NexteraSyncStatusOut_:
      properties:
        data:
          anyOf:
            - $ref: '#/components/schemas/NexteraSyncStatusOut'
            - type: 'null'
        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[NexteraSyncStatusOut]
    NexteraSyncStatusOut:
      properties:
        price_enabled:
          type: boolean
          title: Price Enabled
        stock_enabled:
          type: boolean
          title: Stock Enabled
        interval_minutes:
          type: integer
          title: Interval Minutes
        warehouse_count:
          type: integer
          title: Warehouse Count
        states:
          items:
            $ref: '#/components/schemas/NexteraSyncStateOut'
          type: array
          title: States
        running:
          anyOf:
            - $ref: '#/components/schemas/NexteraSyncRunOut'
            - type: 'null'
        last_run:
          anyOf:
            - $ref: '#/components/schemas/NexteraSyncRunOut'
            - type: 'null'
        next_run_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Next Run At
      type: object
      required:
        - price_enabled
        - stock_enabled
        - interval_minutes
        - warehouse_count
        - states
      title: NexteraSyncStatusOut
      description: Everything the sync page's header needs in one call.
    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
    NexteraSyncStateOut:
      properties:
        resource:
          type: string
          title: Resource
        enabled:
          type: boolean
          title: Enabled
        cursor_updated_since:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Cursor Updated Since
        last_run_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Last Run At
        last_status:
          anyOf:
            - type: string
            - type: 'null'
          title: Last Status
        last_error:
          anyOf:
            - type: string
            - type: 'null'
          title: Last Error
      type: object
      required:
        - resource
        - enabled
      title: NexteraSyncStateOut
      description: The cursor + last outcome for one delta stream (price or stock).
    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
    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

````