> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List Files In Location

List files in a location.

<Note>
  External Documentation

  To learn more, visit the [Egnyte Secure Govern documentation](https://developers.egnyteprotect.com/#tag/sc/operation/scListFiles).
</Note>

## Parameters

<div className="integrations-table">
  | Parameter   | Description                                                  |
  | ----------- | ------------------------------------------------------------ |
  | Count       | Number of items to return at most. Possible values: 1 - 100. |
  | Cursor      | The cursor returned in previous request.                     |
  | Location ID | ID of the location to list.                                  |
  | Source ID   | ID of the source.                                            |
</div>

## Example Output

```json theme={"dark"}
{
	"cursor": 0,
	"files": [
		{
			"id": "ID of the file, as listed by the source",
			"lastUpdated": 0,
			"latestVersionId": "from latestEntryId or from versionId in CLFS sources",
			"locationId": "uuid",
			"name": "FROM: filename in Secure and Govern",
			"path": "example: /Shared/Documents/GoldenDataset longNames/Bank info",
			"policies": [
				"ID of the policy (not tag)"
			],
			"risk": 0,
			"sourceId": "TODO: seems redundant",
			"url": "string"
		}
	]
}
```

## Workflow Library Example

[List Files in Location with Egnyte Secure Govern and Send Results Via Email](https://library.blinkops.com/workflows/list-files-in-location-with-egnyte-secure-govern-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/list-files-in-location-with-egnyte-secure-govern-and-send-results-via-email/canvas" />
</div>
