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

List log entries for the specified incident.

An incident represents a problem or an issue that needs to be addressed and resolved.

A Log Entry are a record of all events on your account.

For more information see the ![API Concepts Document](https://developer.pagerduty.com/api-reference/ZG9jOjI3NDc5Nzc-api-concepts#incidents).

## Basic Parameters

<div className="integrations-table">
  | Parameter   | Description                                                                                               |
  | ----------- | --------------------------------------------------------------------------------------------------------- |
  | ID          | ID of the incident.                                                                                       |
  | Include     | Array of additional Models to include in response.                                                        |
  | Is Overview | If `true`, will return a subset of log entries that show only the most important changes to the incident. |
  | Since       | The start of the date range over which you want to search.                                                |
  | Time Zone   | Time zone in which dates in the result will be rendered.                                                  |
  | Until       | The end of the date range over which you want to search.                                                  |
</div>

## Advanced Parameters

<div className="integrations-table">
  | Parameter | Description                                                                                                                                                                                                                                                                               |
  | --------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Limit     | The number of results per page.                                                                                                                                                                                                                                                           |
  | Offset    | Offset to start pagination search results.                                                                                                                                                                                                                                                |
  | Total     | By default the `total` field in pagination responses is set to `null` to provide the fastest possible response times. Set `total` to `true` for this field to be populated. See our [Pagination Docs](https://developer.pagerduty.com/docs/rest-api-v2/pagination/) for more information. |
</div>

## Example Output

```json theme={"dark"}
{
	"log_entries": [
		{
			"id": "Q02JTSNZWHSEKV",
			"type": "trigger_log_entry",
			"summary": "Triggered through the API",
			"self": "https://api.pagerduty.com/log_entries/Q02JTSNZWHSEKV?incident_id=PT4KHLK",
			"html_url": "https://subdomain.pagerduty.com/incidents/PT4KHLK/log_entries/Q02JTSNZWHSEKV",
			"created_at": "2015-11-07T00:14:20Z",
			"agent": {
				"id": "PIJ90N7",
				"type": "service_reference",
				"summary": "My Mail Service",
				"self": "https://api.pagerduty.com/services/PIJ90N7",
				"html_url": "https://subdomain.pagerduty.com/service-directory/PIJ90N7"
			},
			"channel": {
				"type": "api"
			},
			"incident": {
				"id": "PT4KHLK",
				"type": "incident_reference",
				"summary": "[#1234] The server is on fire.",
				"self": "https://api.pagerduty.com/incidents/PT4KHLK",
				"html_url": "https://subdomain.pagerduty.com/incidents/PT4KHLK"
			},
			"teams": [
				{
					"id": "PQ9K7I8",
					"type": "team_reference",
					"summary": "Engineering",
					"self": "https://api.pagerduty.com/teams/PQ9K7I8",
					"html_url": "https://subdomain.pagerduty.com/teams/PQ9K7I8"
				}
			],
			"contexts": [],
			"event_details": {
				"description": "Tasks::SFDCValidator - PD_Data__c - duplicates"
			}
		}
	]
}
```

## Workflow Library Example

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