catalog_workspace_content.
get_metrics_catalog
get_metrics_catalog(workspace_id: str) -> list[CatalogMetric]
Retrieve all Metrics in a given workspace.
Parameters
| name | type | description |
|---|---|---|
| workspace_id | str | Workspace identification string e.g. "demo" |
Returns
| type | description |
|---|---|
| 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")