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

# Search Investigations

Search for investigations.

<Note>
  External Documentation

  To learn more, visit the [Rapid7 InsightIDR documentation](https://help.rapid7.com/insightidr/en-us/api/v2/docs.html#tag/Investigations/operation/searchInvestigations).
</Note>

## Basic Parameters

<div className="integrations-table">
  | Parameter        | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
  | ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | End Time         | The end of the timeframe to filter the results by.                                                                                                                                                                                                                                                                                                                                                                                                                                                |
  | Page             | The number of the page to return results from (zero-based).                                                                                                                                                                                                                                                                                                                                                                                                                                       |
  | Page Size        | The maximum number of results to return per page. Valid range is `1-100`                                                                                                                                                                                                                                                                                                                                                                                                                          |
  | Return All Pages | Automatically fetch all resources, page by page.                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
  | Search           | An array of searching objects to filter the results by.<br /><br />**For example:**<br /><br /><pre><code>\[<br />  \{<br />  "field": "title",<br />  "operator": "EQUALS,CONTAINS,IN",<br />  "value": \{ } #Could be a value of any type.<br />  }<br />]</code></pre> For more information about optional searching fields, please refer to - [Rapid7 Insight IDR Documentation](https://help.rapid7.com/insightidr/en-us/api/v2/docs.html#tag/Investigations/operation/searchInvestigations) |
  | Sort             | An array of sorting criteria.<br /><br />**For Example:** <br /><pre><code>\[<br />  \{<br />  "field": "name",<br />  "order": "ASC"<br />  }<br />]</code></pre>For more information about optional sorting fields, please refer to - [Rapid7 Insight IDR Documentation](https://help.rapid7.com/insightidr/en-us/api/v2/docs.html#tag/Investigations/operation/searchInvestigations)                                                                                                           |
  | Start Time       | The start of the timeframe to filter the results by.                                                                                                                                                                                                                                                                                                                                                                                                                                              |
</div>

## Advanced Parameters

<div className="integrations-table">
  | Parameter      | Description                                                                                                                                                                                |
  | -------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
  | Multi Customer | When selected, investigations will be returned from all organizations the connected user has access to. <br /><br />**Note**: This feature is available for multi-customer user keys only. |
</div>

## Example Output

```json theme={"dark"}
{
	"search": [
		{
			"field": "name",
			"operator": "EQUALS,CONTAINS,IN",
			"value": {}
		}
	],
	"sort": [
		{
			"field": "name",
			"order": "ASC"
		}
	],
	"start_time": "2018-07-04T00:00:00Z",
	"end_time": "2018-07-04T00:00:00Z"
}
```

## Workflow Library Example

[Search Investigations with Rapid7 Insightidr and Send Results Via Email](https://library.blinkops.com/workflows/search-investigations-with-rapid7-insightidr-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/search-investigations-with-rapid7-insightidr-and-send-results-via-email/canvas" />
</div>
