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

# Set Investigation Status

Set the status of an investigation.

<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/setStatus).
</Note>

## Basic Parameters

<div className="integrations-table">
  | Parameter                     | Description                                                                                                                                                                    |
  | ----------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
  | Disposition                   | A disposition to set the investigation to. <br /><br />**Notes:**<br />- Only used if the new status is `CLOSED`. <br />- Defaults to `UNDECIDED` upon creation.               |
  | Investigation ID              | The ID or RRN of an investigation to set the status of.                                                                                                                        |
  | Status                        | The status to set for the investigation.                                                                                                                                       |
  | Threat Command - Close Reason | The threat command reason when setting the investigation to closed.<br /><br />**Note:** Use only if the investigation being closed has an associated alert in Threat Command. |
  | Threat Command - Free Text    | Additional information to add when closing the investigation.                                                                                                                  |
</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"}
{
	"id": "174e4f99-2ac7-4481-9301-4d24c34baf06",
	"rrn": "rrn:investigation:us1:174e4f99-2ac7-4481-9301-4d24c34baf06:investigation:6A74T2A4",
	"title": "Joe enabled account Joebob",
	"status": "OPEN",
	"source": "ALERT",
	"disposition": "BENIGN",
	"assignee": {
		"name": "Ellen Example",
		"email": "example@test.com"
	},
	"alerts": [
		{
			"type": "Account Created",
			"type_description": "A new account has been created.",
			"first_event_time": "2018-06-06T16:56:42Z"
		}
	],
	"created_time": "2018-06-06T16:56:42Z"
}
```

## Workflow Library Example

[Set Investigation Status with Rapid7 Insightidr and Send Results Via Email](https://library.blinkops.com/workflows/set-investigation-status-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/set-investigation-status-with-rapid7-insightidr-and-send-results-via-email/canvas" />
</div>
