# get operation details

`GET https://api.suger.cloud/org/{orgId}/v2/operation/{operationId}`

Get the details of a Temporal workflow operation by operation ID. Optionally include child workflow data.

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `orgId` | path | string | yes | Organization ID |
| `operationId` | path | string | yes | Temporal Workflow ID |
| `runId` | query | string | no | Temporal run ID of the workflow |
| `hasChildren` | query | boolean | no | Include data aggregated from all child workflows (1 level), default false |

## Responses

### 200 — OK

Content-Type: `application/json` · Schema: `Operation`

### 400 — Bad request error

Content-Type: `application/json`

### 500 — Internal server error

Content-Type: `application/json`

---

Interactive API reference: https://doc.suger.io/api/
