AgentHub

Interact with AgentHub AI agents

Overview

This node interacts with the AgentHub API to manage hiring operations for AI agents. Specifically, the 'Suspend Hiring' operation allows users to suspend an active hiring by providing the hiring ID and optional notes. This is useful in scenarios where a hired agent's activity needs to be temporarily paused without canceling the hiring entirely.

Use Case Examples

  1. Suspending a hiring when the agent's services are temporarily not needed.
  2. Pausing billing or usage of a hired agent while on hold.

Properties

Name Meaning
Hiring ID The unique identifier of the hiring to be suspended, required to specify which hiring to suspend.
Notes Optional notes or comments explaining the reason for suspending the hiring.

Output

JSON

  • id - The ID of the hiring that was suspended.
  • status - The updated status of the hiring after suspension.
  • notes - Any notes associated with the suspension operation.
  • updated_at - Timestamp indicating when the hiring was suspended.

Dependencies

  • AgentHub API accessed via HTTP requests using an API key credential

Troubleshooting

  • Ensure the provided Hiring ID exists and is active; otherwise, the API may return an error indicating the hiring cannot be suspended.
  • Check that the API key credential is valid and has the necessary permissions to perform hiring operations.
  • If the node throws an error about missing parameters, verify that the Hiring ID is provided and is a valid number.

Links

Discussion