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

List and query incidents.

<Note>
  External Documentation

  To learn more, visit the [Coralogix Incident Management documentation](https://docs.coralogix.com/api-reference/latest/incidents-service/list-incidents-with-filters).
</Note>

## Basic Parameters

<div className="integrations-table">
  | Parameter       | Description                                                                                                                                                                                                         |
  | --------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Filter          | Filter the incoming results, for more information see [Coralogix Incident Management documentation](https://github.com/coralogix/cx-api-incidents/blob/master/docs/incidents-api-reference.md#incidentqueryfilter). |
  | Next Page Token | The next page token returned from a previous call.                                                                                                                                                                  |
  | Page Size       | The amount of results returned.                                                                                                                                                                                     |
</div>

## Advanced Parameters

<div className="integrations-table">
  | Parameter | Description                                                                                                                                                                                            |
  | --------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
  | Order By  | Order the incoming results, for more information see [Coralogix Incident Management documentation](https://github.com/coralogix/cx-api-incidents/blob/master/docs/incidents-api-reference.md#orderby). |
</div>

## Example Output

```json theme={"dark"}
{
	"incidents": [
		{
			"id": "<string>",
			"name": null,
			"state": "<string>",
			"status": "<string>",
			"assignments": [
				{
					"assignedTo": {
						"userId": "<string>"
					},
					"assignedBy": {
						"userId": "<string>"
					}
				},
				{
					"assignedTo": {
						"userId": "<string>"
					},
					"assignedBy": {
						"userId": "<string>"
					}
				}
			],
			"description": null,
			"severity": "<string>",
			"events": [],
			"createdAt": "2001-06-18T13:48:43.772Z",
			"closedAt": null,
			"contextualLabels": {
				"alert_group_by_fields": "<string>",
				"alert_id": "<string>",
				"alert_name": "<string>",
				"alert_notification_group_grouping_fields": "<string>",
				"alert_notification_group_id": "<string>",
				"alert_notification_group_integrations_ids": "<string>",
				"alert_severity": "<string>",
				"alert_type": "<string>"
			},
			"displayLabels": {
				"okta.actor.alternateId": "<string>"
			},
			"lastStateUpdateTime": "2003-10-25T03:25:02.491Z",
			"lastStateUpdateKey": "<string>",
			"isMuted": null,
			"metaLabels": [
				{
					"key": "<string>",
					"value": "<string>"
				},
				{
					"key": "<string>",
					"value": "<string>"
				}
			],
			"duration": "<string>"
		}
	],
	"pagination": {
		"totalSize": 1,
		"nextPageToken": "<string>"
	}
}
```

## Workflow Library Example

[List Incidents with Coralogix Incident Management and Send Results Via Email](https://library.blinkops.com/workflows/list-incidents-with-coralogix-incident-management-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-incidents-with-coralogix-incident-management-and-send-results-via-email/canvas" />
</div>
