---
title: "Retrieve all workflow files"
method: GET
path: "/root/{m-wf-id}/workflow/{wf-id}/files"
tags: ["Workflow", "Workflow File"]
---

# Retrieve all workflow files

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

Returns a collection of the WorkflowFiles resource.

## Query parameters

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

## Response `200`

Success

- WorkflowFile[]
  - `wf_id` integer
  - `lfn_id` integer
  - `lfn` string
  - `pfns` RCPFN[]
    - `pfn_id` integer
    - `pfn` string
    - `site` string
  - `meta` RCMeta[]
    - `meta_id` integer
    - `key` string
    - `value` string

## 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-service-production.skmtc.workers.dev/v1/apis/pegasus-isi/monitoring-api/revisions/0f83c09a8c4a/schema)
