Actions16
- Agent Actions
- Hiring Actions
- Execution Actions
- Deployment Actions
Overview
This node interacts with the AgentHub API to manage hiring operations for AI agents. Specifically, the 'Cancel Hiring' operation allows users to cancel an active hiring by providing the hiring ID and optional notes. This is useful in scenarios where a user needs to terminate an ongoing hiring contract or engagement with an AI agent, for example, if the agent is no longer needed or if there was an error in the hiring process.
Use Case Examples
- Cancel an active hiring by specifying the hiring ID and optionally adding notes explaining the reason for cancellation.
- Use this operation to manage and update the status of your hired AI agents within automated workflows.
Properties
| Name | Meaning |
|---|---|
| Hiring ID | The unique identifier of the hiring to be cancelled, required to specify which hiring to cancel. |
| Notes | Optional notes or comments related to the cancellation operation, providing context or reasons for cancelling the hiring. |
Output
JSON
*- The JSON response from the AgentHub API representing the result of the cancel hiring operation, typically including details about the cancelled hiring.
Dependencies
- AgentHub API with API key authentication
Troubleshooting
- Ensure the provided Hiring ID is valid and corresponds to an active hiring; invalid IDs will cause errors.
- Check that the API key credential is correctly configured and has the necessary permissions to perform hiring cancellations.
- If the API returns an error, verify the notes field content and API request format to comply with the API requirements.
Links
- AgentHub API Documentation - Cancel Hiring - Official API documentation for the cancel hiring endpoint, detailing request and response formats.