presentation
slug: step-catalogProvides a complete inventory of all active datasets, reports, and workflow logs (waterfalls) in the current interpreter session. Useful for auditing, reporting, and understanding the available data and artifacts in a workflow.
Queries the interpreter for all objects in the workflow:
work)html)waterfalls)For each object type, builds a summary record:
Combines all objects into a single catalog array.
Generates an HTML table for easy visualization using manageTable().
Returns the catalog as both structured data (data) and HTML (html).
Provides summary statistics in extras.stats for total counts of datasets, reports, and waterfalls.
_interpreter (object) – The workflow interpreter instance that stores datasets, reports, and waterfalls.work), HTML reports, or waterfall logs.data)An array of catalog items, each with fields depending on type:
Dataset
name – Dataset nametype – 'dataset'rows – Number of rowscolumns – Number of columnshas_pdv – Boolean, indicates if PDV metadata existshas_extras – Boolean, indicates if extras existextras_items – Number of items in extrasReport
name – Report nametype – 'report'size_kb – Approximate size in KBWaterfall
name – Waterfall log nametype – 'waterfall'steps – Number of steps loggedhtml)extras)stats:
total_datasets – Count of datasetstotal_reports – Count of reportstotal_waterfalls – Count of waterfallsoutputType: 'html'steps:
- loadInline:
data:
- {id: 1, name: Alice, sales: 200}
- {id: 2, name: Bob, sales: 350}
output: salesData
- catalog:
Explanation:
catalog step produces an overview of all datasets, HTML outputs, and workflow logs.extras.stats provides quick high-level metrics for workflow monitoring.