Actions86
- Config Actions
- Container Actions
- Edge Group Actions
- Edge Stack Actions
- Environment Actions
- Image Actions
- Network Actions
- Node Actions
- Registry Actions
- Secret Actions
- Service Actions
- Setting Actions
- Stack Actions
- System Actions
- Team Actions
- Template Actions
- User Actions
- Volume Actions
- Webhook Actions
Node → Inspect
AI-generatedOverview
This node interacts with the Portainer API to inspect details of a specific Docker Swarm node within a given environment. It is useful for retrieving detailed information about a node's configuration and status in a Docker Swarm cluster managed by Portainer. For example, it can be used to monitor node health, check labels, roles, and availability, or troubleshoot node-related issues in a container orchestration setup.
Use Case Examples
- Inspect a Docker Swarm node by providing the environment ID and node ID to get detailed node information.
- Use this node to fetch node details for monitoring or automation workflows in Docker Swarm environments managed via Portainer.
Properties
| Name | Meaning |
|---|---|
| Environment ID | The ID of the environment/endpoint in Portainer where the node exists. This is required to specify which Docker environment to query. |
| Node ID | The ID of the Docker Swarm node to inspect. This uniquely identifies the node within the specified environment. |
| Request Options | Additional HTTP request options such as batching, SSL certificate validation, proxy settings, and timeout configurations to customize the API request behavior. |
Output
JSON
body- The JSON response body containing detailed information about the inspected Docker Swarm node.
Dependencies
- Portainer API access with an API key credential
Troubleshooting
- Ensure the environment ID and node ID are correct and correspond to existing resources in Portainer.
- Check network connectivity and proxy settings if the request fails to reach the Portainer API.
- If SSL validation errors occur, consider enabling the option to ignore SSL issues, but be aware of security implications.
- Verify that the API key credential has sufficient permissions to access node details in the specified environment.
Links
- Portainer API - Docker Swarm Nodes - Official Portainer API documentation for managing and inspecting Docker Swarm nodes.