OntologyHealthResponse
Ontology consistency status for the complete set of ontology query surfaces, with resynchronization, orphan cleanup, and schema-drift details.
Ontology health status — degraded when either mirror is degraded or any sinkers entry reports a state other than ok
Possible values: [ok, degraded]
marker object
Delta mirror degraded marker; null when the Delta mirror is healthy. Kept under this name for the clients that already read it
- MirrorHealthMarker
- null
degradeddegradedconfirmed_flush_lsn object
- string
- null
resynced_at object
- integer
- null
graph_marker object
Degraded-state marker for the graph store copy, or null when it is healthy.
- MirrorHealthMarker
- null
degradeddegradedconfirmed_flush_lsn object
- string
- null
resynced_at object
- integer
- null
resync object필수
Resync worker run state
True when a resync worker run is in flight
run_id object
Run id of the last run
- string
- null
state object
Run state of the last run (running / completed / failed)
- string
- null
description object
Failure cause of the last run; null when it succeeded, is still in flight, or the caller is not admin/manager (the text is an exception verbatim, so it is redacted for everyone who cannot act on it)
- string
- null
start_time object
Unix ms the last run started
- integer
- null
end_time object
Unix ms the last run finished; null while running
- integer
- null
orphans object
Orphan-table detection marker; null when none
- OrphanMarker
- null
orphans_detectedUnix time in milliseconds when orphaned resources were detected.
orphans object[]필수
orphan_cleanup object
Orphan cleanup worker run state
True when a cleanup worker run is in flight
run_id object
Run id of the active run
- string
- null
state object
Run state of the active run
- string
- null
schema_drift object
Detected schema drift, or null when none exists. Remediation requires recreation or a manual migration.
- DriftMarker
- null
schema_drift_detectedUnix time in milliseconds when schema drift was detected.
drifts object[]필수
[][]sinkers object
Health markers written by each data-synchronization worker on every drain tick, keyed by worker name. Each entry reports the state, tick counters, the consecutive-failure streak, the last error, and the replication lag in bytes. A worker that has never written a marker is absent from the map, and any entry outside the ok state also degrades the top-level status.
property name* Checkpoint
Step execution checkpoint.
Execution state (pending, running, completed, failed)
offsets object필수
Processing progress offsets
description object
- string
- null
stacktrace object
- string
- null
start_time object
- integer
- null
end_time object
- integer
- null
owner_token object
- string
- null
expires_at object
- integer
- null
Step execution checkpoint.
{
"status": "ok",
"marker": {
"status": "degraded",
"sink": "string",
"slot": "string",
"reason": "string",
"confirmed_flush_lsn": "string",
"invalidated_at": 0,
"resynced_at": 0
},
"graph_marker": {
"status": "degraded",
"sink": "string",
"slot": "string",
"reason": "string",
"confirmed_flush_lsn": "string",
"invalidated_at": 0,
"resynced_at": 0
},
"resync": {
"active": true,
"run_id": "string",
"state": "string",
"description": "string",
"start_time": 0,
"end_time": 0
},
"orphans": {
"status": "orphans_detected",
"count": 0,
"detected_at": 0,
"orphans": [
{
"schema_name": "string",
"table_name": "string",
"first_seen": 0
}
]
},
"orphan_cleanup": {
"active": true,
"run_id": "string",
"state": "string"
},
"schema_drift": {
"status": "schema_drift_detected",
"count": 0,
"detected_at": 0,
"drifts": [
{
"resource_id": "string",
"schema_name": "string",
"table_name": "string",
"missing_columns": [
"string"
],
"type_mismatches": [
"string"
],
"first_seen": 0
}
]
},
"sinkers": {}
}