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

The event stream can be queried and filtered by time, priority, sources and tags.

**Notes**:

* If the event you’re querying contains markdown formatting of any kind,
  you may see characters such as `%`,`\`,`n` in your output.

* This endpoint returns a maximum of `1000` most recent results. To return additional results,
  identify the last timestamp of the last result and set that as the `end` query time to
  paginate the results. You can also use the page parameter to specify which set of `1000` results to return.

<Note>
  External Documentation

  To learn more, visit the [Datadog documentation](https://docs.datadoghq.com/api/latest/events/#get-a-list-of-events).
</Note>

## Basic Parameters

<div className="integrations-table">
  | Parameter | Description                                                |
  | --------- | ---------------------------------------------------------- |
  | End       | POSIX timestamp.                                           |
  | Priority  | The priority of the event. For example, `normal` or `low`. |
  | Start     | POSIX timestamp.                                           |
</div>

## Advanced Parameters

<div className="integrations-table">
  | Parameter         | Description                                                                                                                                                                                                                                                                                                                                                                     |
  | ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Exclude Aggregate | Set `exclude_aggregate` to `true` to only return unaggregated events where `is_aggregate=false` in the response. If the `exclude_aggregate` parameter is set to `true`,<br />then the unaggregated parameter is ignored and will be `true` by default.                                                                                                                          |
  | Page              | By default 1000 results are returned per request. Set page to the number of the page to return with `0` being the first page. The page parameter can only be used<br />when either unaggregated or exclude\_aggregate is set to `true.`.                                                                                                                                        |
  | Sources           | A comma separated string of sources.                                                                                                                                                                                                                                                                                                                                            |
  | Tags              | A comma separated list indicating what tags, if any, should be used to filter the list of monitors by scope.                                                                                                                                                                                                                                                                    |
  | Unaggregated      | Set unaggregated to `true` to return all events within the specified \[`start`,`end`] timeframe.<br />Otherwise if an event is aggregated to a parent event with a timestamp outside of the timeframe,<br />it won't be available in the output. Aggregated events with `is_aggregate=true` in the response will still be returned unless exclude\_aggregate is set to `true.`. |
</div>

## Example Output

```json theme={"dark"}
{
	"events": []
}
```

## Workflow Library Example

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