---
title: "List the metric namespaces for a load test run."
method: GET
path: "/test-runs/{testRunId}/metric-namespaces"
tags: ["TestRun"]
---

# List the metric namespaces for a load test run.

`GET /test-runs/{testRunId}/metric-namespaces`

List the metric namespaces for a load test run.

## Path parameters

- `testRunId` string, required

## Query parameters

- `api-version` string, required

## Response `200`

The request has succeeded.

- MetricNamespaceCollection — Represents collection of metric namespaces.
  - `value` MetricNamespace[], required — The values for the metric namespaces.
    - `description` string — The namespace description.
    - `name` string — The metric namespace name.

## Other responses

- `default` — An unexpected error response.

---

[API](https://skmtc.dev/azure/apis/loadtestservice-loadtesting.md) · [All operations](https://skmtc.dev/azure/apis/loadtestservice-loadtesting/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/azure/loadtestservice-loadtesting/revisions/a39805b6167f/schema)
