---
title: "Retrieve a workflow's running jobs"
method: GET
path: "/root/{m-wf-id}/workflow/{wf-id}/job/running"
tags: ["Job"]
---

# Retrieve a workflow's running jobs

`GET /root/{m-wf-id}/workflow/{wf-id}/job/running`

## Request

- Base URL: `https://localhost:5000/api/v1/user/unknown`
- URL: `https://localhost:5000/api/v1/user/unknown/root/{m-wf-id}/workflow/{wf-id}/job/running`
- Auth: none declared
- TypeScript: <https://skmtc.dev/pegasus-isi/apis/monitoring-api/docs/root/:m-wf-id/workflow/:wf-id/job/running/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns a collection of running Job resource.
Note: Queries, Sorting can include fields from Job and JobInstance resource

## Query parameters

- `query` string
- `order` string
- `start-index` integer
- `max-results` integer

## Response `200`

Success

- Job[]
  - `job_id` integer
  - `exec_job_id` string
  - `submit_file` string
  - `type_desc` string
  - `max_retries` integer
  - `clustered` boolean
  - `executable` string
  - `argv` string
  - `task_count` integer

## Other responses

- `204`: No content
- `400`: Bad request
- `401`: Not authenticated
- `403`: Not authorized
- `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.dev/pegasus-isi/apis/monitoring-api/revisions/0f83c09a8c4a?raw)
