> ## 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.

# Fetch Files

Fetch files from an endpoint (up to 10 MB for each command) to analyze the root of a threat. This does not work for fileless threats.

This command collects the files and uploads them to the Management. Use the `Download From Cloud` action to get the files once the fetch completes.

**Note**: Regular expressions and metacharacters are not allowed in file paths. Spaces are allowed.

## Parameters

<div className="integrations-table">
  | Parameter  | Description                                                                                                                                                           |
  | ---------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Agent ID   | The ID of the agent to fetch the files from.                                                                                                                          |
  | File Paths | A list of full file paths on the endpoint to fetch.                                                                                                                   |
  | Password   | A new password to open the archive of downloaded files. The password must be 10 or more characters, with a mix of upper and lower case letters, numbers, and symbols. |
</div>

## Example Output

```json theme={"dark"}
{
	"data": {
		"success": true
	}
}
```

## Workflow Library Example

[Fetch Files with Sentinelone and Send Results Via Email](https://library.blinkops.com/workflows/fetch-files-with-sentinelone-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/fetch-files-with-sentinelone-and-send-results-via-email/canvas" />
</div>
