catalog_workspace_content.

get_metrics_catalog

get_metrics_catalog(workspace_id: str) -> list[CatalogMetric]

Retrieve all Metrics in a given workspace.

Parameters

nametypedescription
workspace_idstrWorkspace identification string e.g. "demo"

Returns

typedescription
list[CatalogMetric]list[CatalogMetric]: List of all metrics in a given workspace.

Example

# Get all metrics
metrics = sdk.catalog_workspace_content.get_metrics_catalog(workspace_id="123")