---
title: "Update the latest insights for the test run."
method: PATCH
path: "/test-runs/{testRunId}/insights/latest"
tags: ["TestRun"]
---

# Update the latest insights for the test run.

`PATCH /test-runs/{testRunId}/insights/latest`

Update the latest insights for the test run.

## Path parameters

- `testRunId` string, required

## Query parameters

- `api-version` string, required

## Response `200`

The request has succeeded.

- TestRunInsights — Represents insights for the test run.
  - `columns` TestRunInsightColumn[] — The columns of the insights.
    - `name` string, required — Name of the column.
    - `dataType` string, required — The data type of the column.
  - `rows` object — The rows of the insights.
  - `version` integer — The version of the insights.
  - `status` 'NotStarted' | 'Running' | 'Succeeded' | 'Failed' | 'Canceled' — Enum describing allowed operation states.

## Other responses

- `default` — An unexpected error response.

## Changes

- **2026-07-13** (2022-11-01) `85cf9b10e498` — 1 info
  - endpoint added
- **2025-06-26** (2022-11-01) `e991fe514f8b` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/azure/apis/loadtestservice-loadtesting/changes/test-runs/:testRunId/insights/latest/patch.md)

---

[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)
