Get dashboard lineage topics
Returns detailed topic-level lineage information including source, transforms, destinations, and per-topic metrics. Supports filtering and pagination.
/dashboard/lineage/topicsAuthorizationBearer token · headerrequiredsource_idstringFilter by source entity ID
destination_idstringFilter by destination entity ID
transform_idstringFilter by transform entity ID
topic_namestringFilter by topic name (substring match)
filterstringComma-separated topic filters: has_destination, orphaned, has_transform, dlq, snapshotting
include_dlqbooleanWhen false, exclude DLQ topics
snapshotstringComma-separated snapshot status filter: running, completed, pending
pageintegerPage number (1-indexed)
page_sizeintegerResults per page
sortstringSort field
byteTotallatencyspeedlagnamesort_dirstringSort direction
ascdescinclude_metricsbooleanWhen false, skip ClickHouse metrics and return metrics as null for faster initial render
Successful Response
pageintegerCurrent page number
page_sizeintegerResults per page
totalinteger | nullTotal number of results
Show propertiesHide properties
integernullhas_nextboolean | nullWhether more pages exist
Show propertiesHide properties
booleannullresultLineageTopicRes[]List of topics with lineage info
Show propertiesHide properties
LineageTopicResidstringrequiredTopic entity ID
namestringrequiredFull topic name
sourceTopicSourceRefrequiredReference to the source that produces a topic.
Show propertiesHide properties
idstringrequiredSource entity ID
namestringrequiredSource display name
connectorstringSource connector type
snapshot_progressSourceSnapshotProgressRes | nullSnapshot progress. Null when include_metrics=false or no snapshot data.
Show propertiesHide properties
statestringrequiredSnapshot state: running, pending, completed, failed, or not_started
snapshot_typestringSnapshot type: incremental or blocking
total_topic_countintegerLogical topics (selectors) in the snapshot — what the user sees. Equals total_table_count unless a selector fanned out (sharded/regex).
remaining_topic_countintegerLogical topics still to be processed
done_topic_countintegerLogical topics in a terminal DONE/COMPLETED state
cancelled_topic_countintegerLogical topics cancelled by the user before completing
failed_topic_countintegerLogical topics that terminated in a FAILED state
total_table_countintegerPhysical tables in the snapshot — expanded per shard/regex match. Exceeds total_topic_count only on fanout.
remaining_table_countintegerPhysical tables still to be processed
rows_totalintegerTotal source rows across all tables (from QA metrics). 0 if unavailable.
rows_scannedintegerTotal rows scanned across all tables. 0 if unavailable.
progress_typestringWhether percent_complete is based on row counts ('rows') or table counts ('tables').
rowstablespercent_completenumberSnapshot completion percentage (0-100)
eta_msintegerEstimated milliseconds to completion
start_timestampstring | nullSnapshot start time (UTC)
Show propertiesHide properties
stringnullend_timestampstring | nullSnapshot end time (UTC)
Show propertiesHide properties
stringnullnullmetricsTopicMetricsDetailRes | nullTopic-level metrics. Null when include_metrics=false.
Show propertiesHide properties
StreamingMilliSecondsBehindSourceintegerStreaming latency in milliseconds
SnapshotPercentageCompleteintegerSnapshot completion percentage (uppercase)
recordSendTotalintegerTotal records sent
sourceRecordWriteTotalintegerTotal source records written
snapshotPercentageCompleteintegerSnapshot completion percentage (lowercase)
recordsLagintegerConsumer records lag
byteTotalintegerTotal bytes processed
sourceRecordPollRatenumberSource record poll rate (records/sec)
sourceQaCountnumber | nullSource DB row count from metrics_qa. Null when not collected.
Show propertiesHide properties
numbernullnullsnapshot_statusstring | nullLatest snapshot status for this topic: running, pending, completed, failed, or null if never snapshotted.
Show propertiesHide properties
stringnullsnapshot_detailsTopicSnapshotStatusRes[]Detailed snapshot history for this topic. Empty list if never snapshotted.
Show propertiesHide properties
TopicSnapshotStatusResstatusstringrequiredSnapshot status: running, pending, completed, failed
start_timestampstring | nullSnapshot start time (UTC)
Show propertiesHide properties
stringnullend_timestampstring | nullSnapshot end time (UTC)
Show propertiesHide properties
stringnullduration_msinteger | nullSnapshot duration in milliseconds
Show propertiesHide properties
integernullrows_scannedintegerNumber of rows scanned so far
rows_totalintegerTotal number of rows to scan
tracestring | nullError trace message for failed snapshots
Show propertiesHide properties
stringnulleta_msintegerEstimated milliseconds to completion
transformsTopicTransformRef[]Transforms applied to this topic
Show propertiesHide properties
TopicTransformRefidstringrequiredTransform entity ID
namestringrequiredTransform display name
statusstringTransform status (e.g. RUNNING)
metricsTransformMetricsRes | nullTransform-level metrics. Null when include_metrics=false.
Show propertiesHide properties
latencyintegerTransform processing latency in milliseconds
nulloutput_topicsstring[]Output topics from this transform
transform_typeTransformsLibraryEnum | nullTransform library type (e.g. topic_router, sql_join)
Show propertiesHide properties
stringnulldestinationsTopicDestinationRef[]Destinations consuming this transform's output topics, with lag/count keyed to the output topic.
destinationsTopicDestinationRef[]Destinations consuming this topic
Show propertiesHide properties
TopicDestinationRefidstringrequiredDestination entity ID
namestringrequiredDestination display name
connectorstringDestination connector type
pipeline_idstringPipeline entity ID
pipeline_statusstringPipeline status
laginteger | nullDestination consumer lag. Null when include_metrics=false.
Show propertiesHide properties
integernulllatency_msinteger | nullDestination wall-clock consumer latency in milliseconds (worst partition). Null when include_metrics=false or no probe sample exists yet.
Show propertiesHide properties
integernullqaCountnumber | nullDestination row count for this topic from metrics_qa. Null when not collected.
Show propertiesHide properties
numbernulle2e_eta_msinteger | nullEstimated milliseconds for destination to fully consume remaining data. Shown during active snapshots or when lag exceeds threshold. -1 means records are remaining but destination is not consuming (stalled). Null when not applicable.
Show propertiesHide properties
integernullValidation Error
detailValidationError[]Show propertiesHide properties
ValidationErrorlocstring | integer[]requiredShow propertiesHide properties
string | integerstringintegermsgstringrequiredtypestringrequiredinputanyctxobject