SYNQ Recon Audit Log

Type: object

Audit log capturing all operations performed during a synq-recon reconciliation run

Type: const

Schema version

Specific value: "1"

Type: string

synq-recon binary version

Type: string

Path to the configuration file used

Type: string

Human-readable description of the configuration suite

Type: stringFormat: date-time

RFC3339 timestamp when the run started

Type: stringFormat: date-time

RFC3339 timestamp when the run completed

Type: integer

Total run duration in milliseconds

Value must be greater or equal to 0

Type: array

Audit records for each reconciliation executed

No Additional Items

Each item of this array must be:

Type: object

Type: string

Reconciliation name from config

Type: string

Human-readable description

Type: enum (of string)

Reconciliation mode

Must be one of:

  • "row_count"
  • "full"
  • "aggregate"

Type: object

Full reconciliation configuration after defaults are applied

Type: string

Human-readable description of the reconciliation

Type: object

Type: string

Time-travel timestamp for snapshot comparison

Type: object

Type: string

Time-travel timestamp for snapshot comparison

Type: object

Each additional property must conform to the following schema

Type: string

Type: object

Original reconciliation configuration as written in the YAML file, before defaults are applied

Type: object

Type: string

Connection name from config

Type: string

Database dialect (postgres, snowflake, bigquery, etc.)

Type: string

Base SQL query for this dataset

Type: string

Column used for bisection key ranges

Type: string

Hash algorithm negotiated or configured

Type: array of string

Columns extracted from source query

No Additional Items

Each item of this array must be:

Type: object

Type: array of string

Normalized column expressions for source

No Additional Items

Each item of this array must be:

Type: array of string

Normalized column expressions for target

No Additional Items

Each item of this array must be:

Type: object

Column name mapping from source to target (e.g., {userid: USERID})

Each additional property must conform to the following schema

Type: string

Type: array

Ordered list of stages executed

No Additional Items

Each item of this array must be:

Type: object

Type: enum (of string)

Stage type

Must be one of:

  • "quick_check"
  • "bisection_drill"
  • "aggregate_check"

Type: integer

Value must be greater or equal to 0

Type: object

Stage-specific configuration (e.g., bisection factor/threshold)

Type: array

All queries executed during this stage

No Additional Items

Each item of this array must be:

Type: object

Type: string

Unique query identifier for cross-referencing

Type: enum (of string)

Whether this query ran against source or target

Must be one of:

  • "source"
  • "target"

Type: integer

Value must be greater or equal to 0

Type: integer

Number of rows returned by the query

Value must be greater or equal to 0

Type: string or null

Error message if query failed

Type: object

Segment tree for bisection drill-down stages

Type: object

Type: object

Inclusive lower bound (null = unbounded)

Type: object

Exclusive upper bound (null = unbounded)

Type: integer

Value must be greater or equal to 0

Type: integer

Value must be greater or equal to 0

Type: enum (of string)

Why the segment became a leaf node

Must be one of:

  • "threshold_reached"
  • "max_depth_reached"
  • "empty_segment"
  • "cannot_split"
  • "matched"
  • "error"

Type: integer

Total source rows in mismatched leaves beneath this node

Value must be greater or equal to 0

Type: integer

Total source rows across all leaves beneath this node

Value must be greater or equal to 0

Type: array of string

IDs of queries that produced this segment's data

No Additional Items

Each item of this array must be:

Type: array

Per-row hash comparison results at leaf segments

No Additional Items

Each item of this array must be:

Type: object

A single row-level mismatch identified by per-row hash comparison

Type: enum (of string)

Type of row mismatch

Must be one of:

  • "missing_in_target"
  • "missing_in_source"
  • "modified"

Type: integer

Row hash from source (absent for missinginsource)

Type: integer

Row hash from target (absent for missingintarget)

Type: object

Actual column values from source row (only present at 'detailed' reporting level)

Type: object

Actual column values from target row (only present at 'detailed' reporting level)

Type: object

Stage result summary

Type: object

Bisection tree statistics

Type: integer

Total nodes in bisection tree

Type: integer

Nodes where source and target match

Type: integer

Nodes where source and target differ

Type: integer

Total intermediate (non-leaf) nodes

Type: object

Count of nodes at each depth level (e.g., {"0": 1, "1": 4, "2": 16})

Each additional property must conform to the following schema

Type: integer

Type: object

Count of mismatched nodes at each depth level

Each additional property must conform to the following schema

Type: integer

Type: object

Per-depth-level breakdown of rows and segments (e.g., {"0": {totalrows: 500, mismatchedrows: 16, ...}})

Each additional property must conform to the following schema

Type: object

Per-depth-level statistics for the bisection tree

Type: integer

Source rows in mismatched segments at this depth level

Type: integer

Total rows in source across all segments

Type: integer

Total rows in target across all segments

Type: integer

Total rows in source that are in mismatched segments

Type: integer

Total rows in target that are in mismatched segments

Type: array of object

Details of leaf segments that have mismatches

No Additional Items

Each item of this array must be:

Type: object

Type: array of enum (of string)

Types of mismatch detected (can be multiple, e.g., both count and data)

No Additional Items

Each item of this array must be:

Type: enum (of string)

Must be one of:

  • "missing_in_source"
  • "missing_in_target"
  • "count_mismatch"
  • "data_mismatch"
  • "unknown"

Type: enum (of string)

Why the drill-down stopped at this leaf

Must be one of:

  • "threshold_reached"
  • "max_depth_reached"
  • "empty_segment"
  • "cannot_split"
  • "matched"
  • "error"

Type: object

Ready-to-execute SQL queries for investigating this mismatch

Type: string

SQL query to retrieve all source rows in the mismatched segment

Type: string

SQL query to retrieve all target rows in the mismatched segment

Type: array

Merged investigation queries covering adjacent mismatch leaf segments

No Additional Items

Each item of this array must be:

Type: object

A merged investigation query covering one or more adjacent mismatch leaf segments

Type: object

Inclusive lower bound of the merged key range (null = unbounded)

Type: object

Exclusive upper bound of the merged key range (null = unbounded)

Type: integer

Number of mismatch leaf segments covered by this query

Value must be greater or equal to 1

Type: string

SQL query to retrieve source rows in the merged key range

Type: string

SQL query to retrieve target rows in the merged key range

Type: boolean

Whether the reconciliation passed overall

Type: string or null

Error message if reconciliation failed