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

List existing Services.

A service may represent an application, component, or team you wish to open incidents against.

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

## Basic Parameters

<div className="integrations-table">
  | Parameter | Description                                                                                                                              |
  | --------- | ---------------------------------------------------------------------------------------------------------------------------------------- |
  | Include   | Array of additional details to include.                                                                                                  |
  | Query     | Filters the result, showing only the tags whose labels match the query.                                                                  |
  | Sort By   | Used to specify the field you wish to sort the results on.                                                                               |
  | Team IDs  | An array of team IDs. Only results related to these teams will be returned. Account must have the `teams` ability to use this parameter. |
  | Time Zone | Time zone in which dates in the result will be rendered.                                                                                 |
</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"}
{
	"services": [
		{
			"id": "PIJ90N7",
			"summary": "My Application Service",
			"type": "service",
			"self": "https://api.pagerduty.com/services/PIJ90N7",
			"html_url": "https://subdomain.pagerduty.com/service-directory/PIJ90N7",
			"name": "My Application Service",
			"auto_resolve_timeout": 14400,
			"acknowledgement_timeout": 600,
			"created_at": "2015-11-06T11:12:51-05:00",
			"status": "active",
			"alert_creation": "create_alerts_and_incidents",
			"alert_grouping_parameters": {
				"type": "intelligent"
			},
			"integrations": [
				{
					"id": "PQ12345",
					"type": "generic_email_inbound_integration_reference",
					"summary": "Email Integration",
					"self": "https://api.pagerduty.com/services/PIJ90N7/integrations/PQ12345",
					"html_url": "https://subdomain.pagerduty.com/services/PIJ90N7/integrations/PQ12345"
				}
			],
			"escalation_policy": {
				"id": "PT20YPA",
				"type": "escalation_policy_reference",
				"summary": "Another Escalation Policy",
				"self": "https://api.pagerduty.com/escalation_policies/PT20YPA",
				"html_url": "https://subdomain.pagerduty.com/escalation_policies/PT20YPA"
			},
			"teams": [
				{
					"id": "PQ9K7I8",
					"type": "team_reference",
					"summary": "Engineering",
					"self": "https://api.pagerduty.com/teams/PQ9K7I8",
					"html_url": "https://subdomain.pagerduty.com/teams/PQ9K7I8"
				}
			],
			"incident_urgency_rule": {
				"type": "use_support_hours",
				"during_support_hours": {
					"type": "constant",
					"urgency": "high"
				},
				"outside_support_hours": {
					"type": "constant",
					"urgency": "low"
				}
			},
			"support_hours": {
				"type": "fixed_time_per_day",
				"time_zone": "America/Lima",
				"start_time": "09:00:00",
				"end_time": "17:00:00",
				"days_of_week": [
					1,
					2,
					3,
					4,
					5
				]
			},
			"scheduled_actions": [
				{
					"type": "urgency_change",
					"at": {
						"type": "named_time",
						"name": "support_hours_start"
					},
					"to_urgency": "high"
				}
			],
			"auto_pause_notifications_parameters": {
				"enabled": true,
				"timeout": 300
			}
		}
	],
	"limit": 25,
	"offset": 0,
	"more": false,
	"total": null
}
```

## Workflow Library Example

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