Skip to main content

List Workspace Metric Config Defaults Endpoint

GET 

/workspaces/:workspace_id/metric-config-defaults/

This workspace's current default for each metric — the highest config_version of each lineage.

Read-only in the strict sense: resolving a default writes no row, because the default is not a stored pointer. A metric with no row yet is simply absent (seeding gives every (workspace, metric) pair one, so that means the metric registered after the last seed pass).

404s on an unknown workspace rather than returning an empty list: for a platform admin the role dependency bypasses membership, so without this a typo'd id would render exactly like a real workspace whose metrics are all seeded.

Request​

Responses​

Successful Response