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.
Authorizations
Authorization method required to allow user to access the api endpoints.
Query Parameters
Response
Connections whose row is currently marked running.
2
Connections that finished this batch successfully.
3
Connections whose job for this batch failed (after retries).
0
Total transactions upserted across the successfully-synced connections in this batch.
12
Jobs for this batch still in-flight in the queue (waiting, delayed or active). Independent of per-connection rows.
1
True once no job for this batch remains in-flight (pending === 0). The authoritative "batch is done" signal to poll on.
false