---
title: "Gets details of a specific long running operation."
method: GET
path: "/operations/{operationId}"
tags: ["Operations"]
---

# Gets details of a specific long running operation.

`GET /operations/{operationId}`

## Path parameters

- `operationId` string, required

## Response `200`

Details of the long running operation.

- Operation — Record to track long running operation.
  - `operationState` 'Failed' | 'NotStarted' | 'Running' | 'Succeeded' — Enumeration of operation states.
  - `createdTimestamp` string — Timestamp when the operation was created.
  - `lastActionTimestamp` string — Timestamp when the current state was entered.
  - `resourceLocation` string — Relative URI to the target resource location for completed resources.
  - `userId` string — User Id
  - `operationId` string — Operation Id.
  - `errorResponse` ErrorResponse — Error response. As per Microsoft One API guidelines - https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses.
    - `error` Error — The error object. As per Microsoft One API guidelines - https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses.
      - `code` 'BadArgument' | 'Forbidden' | 'NotFound' | 'KbNotFound' | 'Unauthorized' | 'Unspecified' | 'EndpointKeysError' | 'QuotaExceeded' | 'QnaRuntimeError' | 'SKULimitExceeded' | 'OperationNotFound' | 'ServiceError' | 'ValidationFailure' | 'ExtractionFailure', required — Human readable error code.
      - `message` string — A human-readable representation of the error.
      - `target` string — The target of the error.
      - `details` Error[] — An array of details about specific errors that led to this reported error.
      - `innerError` InnerErrorModel — An object containing more specific information about the error. As per Microsoft One API guidelines - https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses.
        - `code` string — A more specific error code than was provided by the containing error.
        - `innerError` InnerErrorModel — recursive

## Other responses

- `default` — Error response.

---

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