---
title: "Retrieve a root workflow"
method: GET
path: "/root/{m-wf-id}"
tags: ["Root Workflow"]
---

# Retrieve a root workflow

`GET /root/{m-wf-id}`

Returns a Root Workflow resource identified by m_wf_id

## Response `200`

Success

- RootWorkflow[]
  - `wf_id` integer
  - `wf_uuid` string
  - `submit_hostname` string
  - `submit_dir` string
  - `planner_arguments` string
  - `planner_version` string
  - `user` string
  - `grid_dn` string
  - `dax_label` string
  - `dax_version` string
  - `dax_file` string
  - `dag_file_name` string
  - `timestamp` number
  - `workflow_state` Workflowstate
    - `wf_id` integer
    - `state` string
    - `status` integer
    - `restart_count` integer
    - `timestamp` number
  - `archived` boolean

## Other responses

- `401` — Not authenticated
- `403` — Not authorized
- `404` — Not found
- `default` — Internal server error

---

[API](https://skmtc.dev/pegasus-isi/apis/monitoring-api.md) · [All operations](https://skmtc.dev/pegasus-isi/apis/monitoring-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/pegasus-isi/monitoring-api/revisions/0f83c09a8c4a/schema)
