Skip to main content

Overview

Retrieves a paginated list of all services in your PagerDuty account. You can filter services by name or team membership.
This is a read-only tool. It retrieves data without modifying your PagerDuty account.

Parameters

query_model
ServiceQuery
required
Query parameters for filtering and pagination.

Response

Returns a ListResponseModel[Service] containing an array of services.
response
Service[]
Array of Service objects matching the query parameters.
response_summary
string
A human-readable summary of the response including the count and type of records returned.

Example Usage

List all services

Example Response

{
  "response": [
    {
      "id": "PSERVICE1",
      "type": "service",
      "name": "Production Web Service",
      "description": "Main web application service",
      "escalation_policy": {
        "id": "PEPOLICY1",
        "type": "escalation_policy_reference",
        "summary": "Production Escalation Policy"
      },
      "teams": [
        {
          "id": "PTEAM1",
          "type": "team_reference",
          "summary": "Engineering Team"
        }
      ]
    },
    {
      "id": "PSERVICE2",
      "type": "service",
      "name": "Production Database Service",
      "description": "PostgreSQL database cluster",
      "escalation_policy": {
        "id": "PEPOLICY1",
        "type": "escalation_policy_reference",
        "summary": "Production Escalation Policy"
      },
      "teams": [
        {
          "id": "PTEAM1",
          "type": "team_reference",
          "summary": "Engineering Team"
        }
      ]
    }
  ],
  "response_summary": "ListResponseModel<Service>:\n- Returned 2 record(s) of type 'Service'."
}

get_service

Retrieve a specific service by ID

create_service

Create a new service

update_service

Update an existing service

list_incidents

List incidents for services

Build docs developers (and LLMs) love