> ## 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 list of detections with optional filtering.

<Note>
  External Documentation

  To learn more, visit the [Upwind documentation](https://docs.upwind.io/restapi/v1/list-threat-detections).
</Note>

## Basic Parameters

<div className="integrations-table">
  | Parameter        | Description                                         |
  | ---------------- | --------------------------------------------------- |
  | Category         | The category to filter results by.                  |
  | Organization ID  | The ID of the organization.                         |
  | Page             | The page number to get results from.                |
  | Per Page         | The maximum number of results to return per page.   |
  | Return All Pages | Automatically fetch all resources, page by page.    |
  | Severity         | The severity of the detection to filter results by. |
  | Type             | The type of detection to filter results by.         |
</div>

## Advanced Parameters

<div className="integrations-table">
  | Parameter           | Description                                                                            |
  | ------------------- | -------------------------------------------------------------------------------------- |
  | Max First Seen Time | The date and time used to filter results that were first seen on or before this value. |
  | Max Last Seen Time  | The date and time used to filter results that were last seen on or before this value.  |
  | Min First Seen Time | The date and time used to filter results that were first seen on or after this value.  |
  | Min Last Seen Time  | The date and time used to filter results that were last seen on or after this value.   |
</div>

## Example Output

```json theme={"dark"}
[
	{
		"id": "string",
		"type": "string",
		"category": "NETWORK",
		"severity": "LOW",
		"status": "PENDING",
		"title": "string",
		"description": "string",
		"resource": {
			"id": "string",
			"external_id": "string",
			"name": "string",
			"type": "string",
			"cloud_provider": "AWS",
			"region": "string",
			"cluster_id": "string",
			"cloud_account_id": "string",
			"cloud_account_name": "string",
			"namespace": "string",
			"internet_exposure": {
				"ingress": {
					"active_communication": true
				}
			},
			"cloud_account_tags": [
				{
					"key": "string",
					"value": "string"
				}
			],
			"risk_categories": [
				"string"
			]
		},
		"triggers": [
			{
				"events": [
					{
						"id": "string",
						"description": "string",
						"event_type": "string",
						"event_time": "2024-07-29T15:51:28.071Z",
						"type": "string",
						"data": {
							"initiator": {
								"type": "string",
								"data": {
									"uid": "string",
									"groups": [
										"string"
									],
									"user_name": "string",
									"user_agent": "string",
									"source_ips": [
										"string"
									]
								}
							}
						}
					}
				],
				"policy_id": "string",
				"policy_name": "string"
			}
		],
		"first_seen_time": "2024-07-29T15:51:28.071Z",
		"last_seen_time": "2024-07-29T15:51:28.071Z",
		"occurrence_count": 0,
		"mitre_attacks": [
			{
				"tactic_id": "string",
				"tactic_name": "string",
				"technique_id": "string",
				"technique_name": "string"
			}
		]
	}
]
```

## Workflow Library Example

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