OntologyHealthResponse
Ontology consistency status for the complete set of ontology query surfaces, with resynchronization, orphan cleanup, and schema-drift details.
statusStatus (string)required
Mirror health status
Possible values: [ok, degraded]
marker object
Degraded marker body when status=degraded
- MirrorHealthMarker
- null
statusStatus (string)
Constant value:
degradedDefault value:
degradedsinkSink (string)required
slotSlot (string)required
reasonReason (string)required
confirmed_flush_lsn object
anyOf
- string
- null
string
invalidated_atInvalidated At (integer)required
resync objectrequired
Resync flow run state
activeActive (boolean)required
True when a resync flow run is in flight
run_id object
Run id of the active run
- string
- null
string
state object
Run state of the active run
- string
- null
string
orphans object
Orphan-table detection marker; null when none
- OrphanMarker
- null
statusStatus (string)
Default value:
orphans_detectedcountCount (integer)required
detected_atDetected At (integer)required
Unix time in milliseconds when orphaned resources were detected.
orphans object[]required
Array [
schema_nameSchema Name (string)required
table_nameTable Name (string)required
first_seenFirst Seen (integer)required
]
orphan_cleanup object
Orphan cleanup flow run state
activeActive (boolean)required
True when a cleanup flow run is in flight
run_id object
Run id of the active run
- string
- null
string
state object
Run state of the active run
- string
- null
string
schema_drift object
Detected schema drift, or null when none exists. Remediation requires recreation or a manual migration.
- DriftMarker
- null
statusStatus (string)
Default value:
schema_drift_detectedcountCount (integer)required
detected_atDetected At (integer)required
Unix time in milliseconds when schema drift was detected.
drifts object[]required
Array [
resource_idResource Id (string)required
schema_nameSchema Name (string)required
table_nameTable Name (string)required
missing_columnsstring[]
Default value:
[]type_mismatchesstring[]
Default value:
[]first_seenFirst Seen (integer)required
]
OntologyHealthResponse
{
"status": "ok",
"marker": {
"status": "degraded",
"sink": "string",
"slot": "string",
"reason": "string",
"confirmed_flush_lsn": "string",
"invalidated_at": 0
},
"resync": {
"active": true,
"run_id": "string",
"state": "string"
},
"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
}
]
}
}