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

# Poll the progress of a connection tx-sync batch

> Returns aggregate progress for the batch_id returned by POST /account-connections/transactions/sync. Poll `complete`: it turns true once no job for the batch is still in-flight, which stays correct even if a connection is deleted mid-sync or a state write is lost. `transactions_upserted` sums the transactions ingested by the successfully-synced connections.



## OpenAPI

````yaml /api-reference/platform-api.json get /v2/account-connections/transactions/sync/status
openapi: 3.0.0
info:
  title: Range Platform API
  description: >-
    The Range Platform API for workspace management, counterparties, and
    operational tooling.
  version: 1.7.15
  contact: {}
servers:
  - url: https://api.range.org
    description: Range API Server
security:
  - Authorization: []
  - Authorization: []
tags:
  - name: Address Information
    description: Get information about a crypto address.
  - name: Transfer Enrichments
    description: Attach workspace-scoped notes and categories to transfers.
  - name: Counterparties
    description: Manage external entities, their addresses, bank accounts, and documents.
paths:
  /v2/account-connections/transactions/sync/status:
    get:
      tags:
        - Account Connections
      summary: Poll the progress of a connection tx-sync batch
      description: >-
        Returns aggregate progress for the batch_id returned by POST
        /account-connections/transactions/sync. Poll `complete`: it turns true
        once no job for the batch is still in-flight, which stays correct even
        if a connection is deleted mid-sync or a state write is lost.
        `transactions_upserted` sums the transactions ingested by the
        successfully-synced connections.
      operationId: getConnectionTxSyncBatchStatus
      parameters:
        - name: batch_id
          required: true
          in: query
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SyncBatchStatusDto'
components:
  schemas:
    SyncBatchStatusDto:
      type: object
      properties:
        batch_id:
          type: string
          format: uuid
        running:
          type: number
          example: 2
          description: Connections whose row is currently marked running.
        succeeded:
          type: number
          example: 3
          description: Connections that finished this batch successfully.
        failed:
          type: number
          example: 0
          description: Connections whose job for this batch failed (after retries).
        transactions_upserted:
          type: number
          example: 12
          description: >-
            Total transactions upserted across the successfully-synced
            connections in this batch.
        pending:
          type: number
          example: 1
          description: >-
            Jobs for this batch still in-flight in the queue (waiting, delayed
            or active). Independent of per-connection rows.
        complete:
          type: boolean
          example: false
          description: >-
            True once no job for this batch remains in-flight (pending === 0).
            The authoritative "batch is done" signal to poll on.
      required:
        - batch_id
        - running
        - succeeded
        - failed
        - transactions_upserted
        - pending
        - complete
  securitySchemes:
    Authorization:
      type: apiKey
      in: header
      name: X-API-KEY
      description: Authorization method required to allow user to access the api endpoints.

````