AgentHub

Interact with AgentHub AI agents

Overview

This node interacts with the AgentHub API to manage AI agent hirings. Specifically, the 'List Hirings' operation retrieves a list of agents that the user has hired. This is useful for users who want to view and manage their active or past hirings of AI agents within their workflows. For example, a user can automate the retrieval of all their hired agents to monitor usage or billing.

Use Case Examples

  1. A user wants to list all AI agents they have hired to review their current active agents.
  2. A workflow needs to fetch the list of hired agents to display or process their details further.

Properties

Name Meaning
Resource The category of the operation, here it is 'Hiring' to manage agent hirings.
Operation The specific action to perform on the resource, here 'List Hirings' to retrieve hired agents.

Output

JSON

  • ``
    • id - The unique identifier of each hiring.
    • agent_id - The ID of the hired agent.
    • user_id - The ID of the user who hired the agent.
    • status - The current status of the hiring (e.g., active, suspended).
    • billing_cycle - Billing cycle for the hiring (e.g., per use, monthly).
    • requirements - JSON configuration or requirements specified for the hiring.
    • created_at - Timestamp when the hiring was created.
    • updated_at - Timestamp when the hiring was last updated.

Dependencies

  • AgentHub API

Troubleshooting

  • Ensure the API key credential for AgentHub is correctly configured and has the necessary permissions.
  • If the node returns an error, check that the user ID is correctly set in the credentials or defaults to 1 as fallback.
  • Network issues or incorrect base URL in credentials can cause request failures; verify the base URL is correct.
  • Malformed JSON in input parameters (if any) can cause errors; ensure JSON fields are properly formatted.

Links

Discussion