list_service_groups
Retrieve all service groups (folders) to browse the service hierarchy and find group IDs for monitoring operations.
Instructions
List all service groups (folders) in LogicMonitor (LM) monitoring.
Returns: Array of service groups with: id, name, parentId, full path, description, number of services, number of subgroups.
What are service groups: Organizational folders for business services, similar to resource/device groups for resources/devices. Used to categorize services by business unit, region, customer, or application stack.
When to use:
Browse service organization before creating services
Find group IDs for service operations
Understand service hierarchy
Navigate to specific service folders
Common organization patterns:
By business unit: "E-Commerce", "Marketing Platform", "Internal IT"
By customer: "Customer A Services", "Customer B Services" (MSP environments)
By region: "APAC Services", "EMEA Services", "Americas Services"
By tier: "Tier 1 Critical", "Tier 2 Standard", "Tier 3 Best Effort"
Use cases:
Organize services for different stakeholders
Group services by SLA tiers
Separate internal vs customer-facing services
Structure multi-tenant service monitoring
Workflow: Use this tool to browse hierarchy, then "list_services" filtered by groupId to see services in specific folder.
Important: A negative "total" value in the response indicates incomplete results. Use pagination (size/offset parameters) or set autoPaginate: true to retrieve all items.
Related tools: "get_service_group" (details), "list_services" (services in group), "create_service_group" (create folder).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | Number of results per page (default: 50, max: 1000). | |
| offset | No | Starting offset for pagination (default: 0). Use this to skip a specific number of results. | |
| autoPaginate | No | Automatically fetch all pages (default: false). When true, fetches all results across multiple pages. When false, returns only the requested page. Use false for large result sets to avoid long response times. | |
| filter | No | Filter expression using LogicMonitor query syntax. Examples: name:*prod*, displayName~*server*, id>100, hostStatus:normal. Available operators: : (equals), ~ (includes), !: (not equals), !~ (not includes), >: (greater than or equals), <: (less than or equals), > (greater than), < (less than). Multiple conditions: Use comma (,) for AND, use || for OR. Do NOT use &&. | |
| fields | No | Comma-separated list of fields to include in response. Examples: "id,displayName,hostStatus" or use "*" for all fields. Omit this parameter to receive a curated set of commonly used fields. |