Actions14
- Agent Actions
- File Actions
- Image Actions
- Prompt Actions
- RAG Actions
Overview
This node integrates with the Straico API to manage "agents" and other resources such as files, images, models, prompts, and RAGs (Retrieval-Augmented Generation). Specifically for the Agent - Delete operation, it allows users to delete an existing agent by its unique identifier.
Common scenarios where this node is beneficial include:
- Automating the lifecycle management of AI agents in a workflow.
- Removing obsolete or test agents programmatically.
- Integrating agent deletion into larger automation pipelines that manage AI resources dynamically.
For example, you might use this node to delete an agent after completing a project or when cleaning up unused agents to maintain your Straico environment tidy.
Properties
| Name | Meaning |
|---|---|
| Agent ID | The unique identifier of the agent to delete. Example format: agent_123456789. |
Output
The output of the delete operation is a JSON object containing the response from the Straico API after attempting to delete the specified agent. This typically includes status information about the deletion request, such as success confirmation or error details.
Example output structure (simplified):
{
"success": true,
"message": "Agent deleted successfully",
"id": "agent_123456789"
}
No binary data output is involved in this operation.
Dependencies
- Requires an active connection to the Straico API.
- Requires an API authentication token credential configured in n8n to authorize requests.
- The node sends HTTP DELETE requests to the Straico API endpoint for agents.
Troubleshooting
- Missing or invalid Agent ID: If the
Agent IDproperty is empty or incorrect, the API will likely return an error indicating the agent was not found. Ensure the correct agent ID is provided. - Authentication errors: If the API key or token is missing or invalid, the node will fail with an authentication error. Verify that the API credentials are correctly set up in n8n.
- Network issues: Connectivity problems can cause request failures. Check network access to
https://api.straico.com. - API rate limits or permissions: If the API user does not have permission to delete agents or has exceeded rate limits, the API will return an error. Review API usage policies and permissions.
Links and References
- Straico API Documentation (hypothetical link)
- n8n documentation on HTTP Request Authentication
- General info on managing API keys and credentials in n8n workflows
This summary focuses exclusively on the "Agent - Delete" operation as requested, based on static analysis of the provided source code and input properties.