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

# List Detections

Retrieve a paginated list of detections with optional filtering.

<Note>
  External Documentation

  To learn more, visit the [Vectra Detect documentation](https://vectranetworks.github.io/detect-openapi/#/Detections/detectionGetSeveral).
</Note>

## Basic Parameters

<div className="integrations-table">
  | Parameter        | Description                                                                                                                                                                       |
  | ---------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Destination      | Filter detections by the destination in the detection details set.                                                                                                                |
  | Fields           | The fields to include in the response.                                                                                                                                            |
  | Page             | The page number to return.                                                                                                                                                        |
  | Page Size        | The maximum number of results to return.                                                                                                                                          |
  | Protocol         | Filter detections by the protocol in the detection details set.                                                                                                                   |
  | Return All Pages | Automatically fetch all resources, page by page.                                                                                                                                  |
  | Sort             | Order results by a specific attribute.<br /><br />**Note**: Results are sorted in ascending order by default. Add a leading `-` (minus sign) to sort in descending order instead. |
  | State            | Filter detections by their state.                                                                                                                                                 |
</div>

## Advanced Parameters

<div className="integrations-table">
  | Parameter                                        | Description                                                                                                                       |
  | ------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------- |
  | C-Score                                          | Filter detections by their `c_score` field.                                                                                       |
  | C-Score Greater Than or Equal To                 | Only return detections with a `c_score` field value greater than or equal to the specified value.                                 |
  | Category                                         | Filter detections by their `category` field.                                                                                      |
  | Certainty                                        | Filter detections by their `certainty` field.                                                                                     |
  | Certainty Greater Than or Equal To               | Only return detections with a `certainty` field value greater than or equal to the specified value.                               |
  | Detection Category                               | Filter detections by their `detection_category` field.                                                                            |
  | Detection Type                                   | Filter detections by their `detection_type` field.                                                                                |
  | Host ID                                          | Filter detections by the ID of the host object the detection is attributed to.                                                    |
  | Is Targeting Key Asset                           | Filters on detections targeting key assets.                                                                                       |
  | Last Timestamp                                   | Filter detections by their `last_timestamp` field.                                                                                |
  | Last Timestamp Greater Than or Equal To          | Only return detections with a `last_timestamp` field value greater than or equal to the specified value.                          |
  | Maximum ID                                       | Return only detections whose ID is less than or equal to the specified value.                                                     |
  | Minimum ID                                       | Return only detections whose ID is greater than or equal to the specified value.                                                  |
  | Note Modified Timestamp Greater Than or Equal To | Only return detections with a `note_modified_timestamp` field value greater than or equal to the specified value.                 |
  | Source IP                                        | Filter detections by their source IP address.                                                                                     |
  | T-Score                                          | Filter detections by their `t_score` field.                                                                                       |
  | T-Score Greater Than or Equal To                 | Only return detections with a `t_score` field value greater than or equal to the specified value.                                 |
  | Tags                                             | Filter detections based on their tags.<br /><br />**Note**: Detections that match **any** of the specified tags will be returned. |
  | Threat                                           | Filter detections by their `threat` field.                                                                                        |
  | Threat Greater Than or Equal To                  | Only return detections with a `threat` field value greater than or equal to the specified value.                                  |
</div>

## Example Output

```json theme={"dark"}
{
	"count": 0,
	"next": "https://dummy.link",
	"previous": "https://dummy.link",
	"results": [
		{
			"id": 1,
			"url": "https://dummy.link",
			"detection_url": "https://dummy.link",
			"category": "INFO",
			"detection_category": "INFO",
			"detection": "Hidden HTTP Tunnel",
			"detection_type": "Hidden HTTP Tunnel",
			"custom_detection": "string",
			"description": "string",
			"src_ip": "192.168.1.55",
			"state": "active",
			"t_score": 80,
			"threat": 80,
			"c_score": 80,
			"certainty": 80,
			"created_timestamp": "2022-01-01T00:00:00Z",
			"first_timestamp": "2022-01-01T00:00:00Z",
			"last_timestamp": "2022-01-01T00:00:00Z",
			"targets_key_asset": true,
			"is_targeting_key_asset": true,
			"src_account": {},
			"src_host": {
				"id": 1,
				"ip": "192.168.1.55",
				"name": "string",
				"url": "https://dummy.link",
				"is_key_asset": true,
				"threat": 80,
				"certainty": 80,
				"groups": [
					"string"
				]
			},
			"note": "string",
			"note_modified_by": "string",
			"note_modified_timestamp": "2022-01-01T00:00:00Z",
			"notes": [
				{
					"id": 1,
					"date_created": "2022-01-01T00:00:00Z",
					"date_modified": "2022-01-01T00:00:00Z",
					"created_by": "string",
					"modified_by": "string",
					"note": "string"
				}
			],
			"sensor": 80,
			"sensor_name": 80,
			"tags": [
				"string"
			],
			"triage_rule_id": 0,
			"assigned_to": "string",
			"assigned_date": "2022-01-01T00:00:00Z",
			"groups": [
				"string"
			],
			"is_marked_custom": true,
			"is_custom_model": true,
			"filtered_by_ai": true,
			"filtered_by_user": true,
			"filtered_by_rule": true,
			"grouped_details": [
				"string"
			],
			"summary": {
				"uuids": [
					"string"
				],
				"num_attempts": 0
			}
		}
	]
}
```

## Workflow Library Example

[List Detections with Vectra Detect and Send Results Via Email](https://library.blinkops.com/workflows/list-detections-with-vectra-detect-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/list-detections-with-vectra-detect-and-send-results-via-email/canvas" />
</div>
