Skip to main content

List Metric Configs

GET 

/metric-configs

List metric configs, newest first.

A caller sees configs in workspaces they belong to; admins see everything. Filtering by an inaccessible workspace is 403, not 404 — the caller named it explicitly, so there is no existence to leak they did not already assert.

metric_name filters by the implementation configured, not the config's own name — what a config picker for a given metric needs.

Returns summaries, not full documents: prompt_slots names each configured prompt and the templates themselves are on the detail endpoint. total counts matched rows, and every matched row renders (see :class:MetricConfigSummary), so it is exactly the number of items available to page through. Each summary's usage_count/last_used_at are computed in one extra round trip alongside the page (:func:get_metric_config_usage), not per row.

Request​

Responses​

Successful Response