AgentHub

Interact with AgentHub AI agents

Overview

This node interacts with the AgentHub API to manage deployments of AI agents. Specifically, the 'Stop Deployment' operation allows users to stop a running deployment by providing its deployment ID. This is useful in scenarios where a deployment needs to be halted due to errors, updates, or resource management.

Use Case Examples

  1. Stopping a deployment that is currently running to apply updates.
  2. Halting a deployment that is no longer needed to save resources.

Properties

Name Meaning
Deployment ID The unique identifier of the deployment to stop, required to specify which deployment to halt.

Output

JSON

  • response - The JSON response from the AgentHub API after attempting to stop the deployment, typically containing status or confirmation details.

Dependencies

  • Requires an API key credential for AgentHub API access, provided via the node's credentials configuration.

Troubleshooting

  • Ensure the Deployment ID is correct and corresponds to an active deployment; otherwise, the API may return an error.
  • Check that the API key credential is valid and has the necessary permissions to stop deployments.
  • Common error messages may include authorization errors if the API key is invalid, or not found errors if the deployment ID does not exist.

Links

Discussion