AgentHub

Interact with AgentHub AI agents

Overview

This node interacts with the AgentHub API to retrieve the status of a specific execution by its ID. It is useful for monitoring the progress or result of an execution initiated in AgentHub, such as checking the state of an AI agent's task or process. For example, after triggering an execution of an AI agent, you can use this node to poll and get the current status of that execution to decide subsequent workflow steps.

Use Case Examples

  1. Check the status of an AI agent execution by providing the execution ID to monitor completion or errors.
  2. Use in a workflow to conditionally branch based on whether an execution is still running, completed successfully, or failed.

Properties

Name Meaning
Execution ID The unique identifier of the execution whose status you want to retrieve. This is a required string input.

Output

JSON

  • status - The current status of the execution retrieved from AgentHub.
  • executionId - The ID of the execution queried.
  • result - The result or output data of the execution, if available.
  • error - Error details if the execution failed or could not be retrieved.

Dependencies

  • AgentHub API accessed via an API key credential

Troubleshooting

  • Ensure the provided Execution ID is correct and exists in AgentHub; otherwise, the API will return an error.
  • Verify that the API key credential is valid and has permissions to access execution data.
  • Common errors include network issues, invalid credentials, or non-existent execution IDs. Check error messages returned by the node for guidance.

Links

Discussion