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

Search for detections.

> [!NOTE]
>
> External Documentation
>
> To learn more, visit the [Extrahop documentation](https://docs.extrahop.com/current/rest-api-guide/#:~:text=the%20tuning%20rule.-,POST%20/detections/search,-Specify%20the%20following).

## Basic Parameters

| Parameter | Description |
| - | - |
| Categories | A comma-separated list of detection categories to filter by. |
| Creation Time | The date to return detections created from. |
| From | The date to return detections from. |
| Limit | The maximum number of detections to return. **Note:** Maximum 20000. Maximum 1000000 when ID Only is selected. |
| Minimum Risk Score | The minimum risk score of the detections to return. |
| Modification Time | The date to return detections updated from. |
| Offset | The number of detections to skip for pagination. |
| Return All Pages | Automatically fetch all resources, page by page. |
| Status | A comma-separated list of detection statuses to filter by. **Note:** Specify `.none` to search for detections with a null status, which is displayed in ExtraHop as `Open`. |
| Types | A comma-separated list of detection types to filter by. |
| Until | The date to return detections until. |

## Advanced Parameters

| Parameter | Description |
| - | - |
| Assignee | A comma-separated list of users to filter detections by assignee. **Note:** Specify `.none` to search for unassigned detections, or `.me` to search for detections assigned to the authenticated user. |
| ID Only | Select to return only the IDs of the detections. |
| Include Activity Log | Select to return an `activity_log` array for each detection, containing `start_time`, `end_time`, `participants`, and `properties` per activity. **Note:** When selected, the top-level `participants` and `properties` fields are omitted. Ignored when `ID Only` is selected. |
| Recommended | Select to return only detections recommended for triage. **Note:** This parameter is valid only on a console. |
| Resolution | A comma-separated list of ticket resolutions to filter detections by. **None:** Specify `.none` to search for detections without a resolution. |
| Sort | An array of sort objects. Each object contains a `field` (`creation_time` or `mod_time`) and a `direction` (`asc` or `desc`). **For example:** <pre>`[  {    "field": "creation_time",    "direction": "asc"  }]`</pre> |
| Ticket IDs | A comma-separated list of ticket IDs to filter detections by. **Note:** Specify `.none` to search for detections that are not associated with tickets. |
| Update Time | The date to return detections related to events that occurred from. |

## Example Output

```json theme={"dark"}
[
	{
		"appliance_id": 0,
		"assignee": null,
		"categories": [
			"sec",
			"sec.exploit"
		],
		"create_time": 1676895361452,
		"description": "The offender was recently observed carrying out a TCP SYN Scan and has now made a successful TCP 3-way handshake to the victim device. Investigate to determine if this is the result of the SYN Scan.",
		"end_time": 1676895361452,
		"id": 1110161,
		"is_user_created": true,
		"mitre_tactics": [],
		"mitre_techniques": [],
		"mod_time": 1676895361452,
		"participants": [
			{
				"external": false,
				"id": 2187135,
				"object_type": "ipaddr",
				"object_value": "0.0.0.0",
				"role": "offender"
			},
			{
				"external": true,
				"id": 2187136,
				"object_type": "ipaddr",
				"object_value": "0.0.0.2",
				"role": "victim"
			}
		],
		"properties": {},
		"resolution": null,
		"risk_score": 50,
		"start_time": 1676895361452,
		"status": null,
		"ticket_id": null,
		"title": "Test_Detection_1_1676895361452",
		"type": "Test_Detection_1_1676895361452"
	}
]
```
