portainer_service_inspect
Inspect a Docker Swarm service to retrieve its full definition, including spec, update status, and endpoint. Optionally reveal environment variable values.
Instructions
Get the full Swarm service definition (spec, update status, endpoint).
Credential-looking environment values in the container spec are masked as [REDACTED] unless reveal_env=true.
Args: service_id: Service ID or name (e.g. "arena-etl_backend") reveal_env: Return credential values unmasked (default false) endpoint_id: Target endpoint ID (uses default if omitted)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reveal_env | No | ||
| service_id | Yes | ||
| endpoint_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |