portainer_services_list
List Docker services in a Portainer environment with running and desired replica counts, including cron-triggered services and optional stack filtering.
Instructions
List Swarm services with running/desired replica counts.
On a Swarm endpoint this is the primary view (like docker service ls): services are the stable units, containers are their tasks.
Cron-driven services (swarm-cronjob) carry cron: true and their
last run's outcome instead of a meaningful replica count.
Args: endpoint_id: Target endpoint ID (uses default if omitted) stack_filter: Only services of this stack (exact stack name)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endpoint_id | No | ||
| stack_filter | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |