---
title: "Get the status of a long running operation."
method: GET
path: "/operations/{operationId}"
tags: ["Operations"]
---

# Get the status of a long running operation.

`GET /operations/{operationId}`

Get the status of a long running operation.

## Path parameters

- `operationId` string, required

## Query parameters

- `api-version` string, required

## Response `200`

The request has succeeded.

- OperationStatus — Status of a long running operation.
  - `id` string, required — The unique ID of the operation.
  - `status` 'NotStarted' | 'Running' | 'Succeeded' | 'Failed' | 'Canceled', required — Enum describing allowed operation states.
  - `kind` 'CloneTest' | 'GenerateTestRunInsights' | 'TestPlanRecommendations', required — Kind of the long running operation.
  - `error` AzureCoreFoundationsError — The error object.
    - `code` string, required — One of a server-defined set of error codes.
    - `message` string, required — A human-readable representation of the error.
    - `target` string — The target of the error.
    - `details` AzureCoreFoundationsError[] — An array of details about specific errors that led to this reported error.
    - `innererror` AzureCoreFoundationsInnerError — An object containing more specific information about the error. As per Azure REST API guidelines - https://aka.ms/AzureRestApiGuidelines#handling-errors.
      - `code` string — One of a server-defined set of error codes.
      - `innererror` AzureCoreFoundationsInnerError — recursive

## Other responses

- `default` — An unexpected error response.

## Changes

- **2026-07-13** (2022-11-01) `b15721d91722` — 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/operations/:operationId/get.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)
