Straico Official icon

Straico Official

Get data from Straico API

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 ID property 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


This summary focuses exclusively on the "Agent - Delete" operation as requested, based on static analysis of the provided source code and input properties.

Discussion