---
title: "Get Long-Running Operation (LRO) status and result"
method: GET
path: "/operations/{operationId}"
tags: ["Operation"]
---

# Get Long-Running Operation (LRO) status and result

`GET /operations/{operationId}`

Get the Long-Running Operation (LRO) status and result.
The response will include either result or error if the operation is done.

## Path parameters

- `operationId` string, required

## Response `200`

OK

- XiqOperationObject — Long Running Operation (LRO) model
  - `id` string, required — The unique identifier of the operation
  - `metadata` XiqOperationMetadata, required — The metadata of Long Running Operation (LRO)
    - `status` 'PENDING' | 'RUNNING' | 'CANCELING' | 'SUCCEEDED' | 'FAILED' | 'CANCELED', required — The current operation status
    - `cancelable` boolean, required — Indicates if the operation can be canceled in the current status
    - `percentage` integer — The progress in percentage ranges from 0 to 100 (it's not guaranteed to be accurate)
    - `step` string — The optional step name for multiple steps operations when the operation is running
    - `create_time` string, date-time, required — The operation's create time, which is the time when the operation is in PENDING status
    - `update_time` string, date-time, required — The operation's last update time
    - `start_time` string, date-time — The operation's start time, which is the time when the operation is in RUNNING status
    - `end_time` string, date-time — The operation's end time, which is the time when the operation is done
    - `expires_in` integer, required — The number of seconds remaining until the operation expires and is to be deleted.
  - `done` boolean, required — Whether the operation is done
  - `response` object — The API response of the operation if the status is SUCCEEDED
  - `error` XiqError
    - `error_code` string, required — The error code
    - `error_id` string, required — The error ID for internal troubleshooting
    - `error_message` string, required — The error detail message
    - `error_message_code` string — The error message code
    - `error_message_description` string, required — The error detail message description
    - `error_params` object — Additional error parameters

---

[API](https://skmtc.net/extremecloudiq/apis/extremecloud-iq-api.md) · [All operations](https://skmtc.net/extremecloudiq/apis/extremecloud-iq-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/extremecloudiq/extremecloud-iq-api/versions/5ff7ab84e8e8/schema)
