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

# Get Historical Search Job Status

Get the status of a real-time or historical search that is in progress.

**Note:** Once the search completes, the response redirects to the results endpoint, and the search results are returned instead of the job status.

<Note>
  External Documentation

  To learn more, visit the [Trellix EDR documentation](https://docs.trellix.com/bundle/mvision-endpoint-detection-and-response-product-guide/page/UUID-f39dad9d-06d4-b0e2-fe96-3bc55c2d262f.html).
</Note>

## Parameters

<div className="integrations-table">
  | Parameter | Description                                                                        |
  | --------- | ---------------------------------------------------------------------------------- |
  | Export    | Select to return the results in an exportable file format.                         |
  | Search ID | The ID of the search. Can be obtained using the `Create Historical Search` action. |
</div>

## Example Output

```json theme={"dark"}
{
	"data": {
		"type": "queue-jobs",
		"id": "hs-01b5865f-0905-0572-002a-7003d239d812.346565425a0b6b2b7174aa555f67a043",
		"attributes": {
			"status": "in-progress"
		}
	}
}
```

## Workflow Library Example

[Get Historical Search Job Status with Trellix Edr and Send Results Via Email](https://library.blinkops.com/workflows/get-historical-search-job-status-with-trellix-edr-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/get-historical-search-job-status-with-trellix-edr-and-send-results-via-email/canvas" />
</div>
