get_services
Retrieve PagerDuty services by service ID or filter by team IDs, user context, or search query. Manage service details for efficient incident handling.
Instructions
Get PagerDuty services by filters or get details for a specific service ID.
Args:
service_id (str): The service ID to retrieve (optional, cannot be used with any other filters).
current_user_context (bool): Use current user's team IDs to filter (default: True). Not used if service_id
is provided.
team_ids (List[str]): Filter results to only services assigned to teams with the given IDs (optional, cannot be used with current_user_context). Not used if service_id
is provided.
query (str): Filter services whose names contain the search query (optional). Not used if service_id
is provided.
limit (int): Limit the number of results (optional). Not used if service_id
is provided.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
current_user_context | No | ||
limit | No | ||
query | No | ||
service_id | No | ||
team_ids | No |