Actions14
- Agent Actions
- File Actions
- Image Actions
- Prompt Actions
- RAG Actions
Overview
This node integrates with the Straico API to manage RAG (Retrieval-Augmented Generation) resources. Specifically, the Delete operation for the RAG resource allows users to delete an existing RAG by its ID. This is useful in scenarios where you want to remove outdated or unwanted RAG datasets from your Straico account.
Practical examples include:
- Cleaning up unused RAGs to maintain an organized workspace.
- Removing test or temporary RAGs after experimentation.
- Automating lifecycle management of RAGs in workflows that create and delete RAGs dynamically.
Properties
| Name | Meaning |
|---|---|
| RAG ID | The unique identifier of the RAG to delete. This is a required string input. |
Output
The output JSON contains the response from the Straico API after attempting to delete the specified RAG. Typically, this will include confirmation of deletion or any error messages returned by the API.
Example structure (based on typical REST DELETE responses):
{
"success": true,
"message": "RAG deleted successfully",
"id": "rag_123456789"
}
If the deletion fails, the output will contain error details explaining why the operation was unsuccessful.
Dependencies
- Requires an active connection to the Straico API via an API key credential configured in n8n.
- The node sends authenticated HTTP DELETE requests to
https://api.straico.com/v0/rag/{ragId}. - Proper network access to the Straico API endpoint is necessary.
Troubleshooting
- Missing RAG ID: If the RAG ID is not provided or invalid, the API will return an error. Ensure the RAG ID is correctly set and corresponds to an existing RAG.
- Authentication errors: If the API key credential is missing, expired, or incorrect, the request will fail with authentication errors. Verify the API key configuration.
- Network issues: Connectivity problems can cause timeouts or failed requests. Check network settings and firewall rules.
- API errors: The Straico API might return errors if the RAG cannot be deleted due to dependencies or internal restrictions. Review the error message for guidance.
Links and References
- Straico API Documentation (general reference for endpoints and usage)
- n8n documentation on HTTP Request Authentication (for setting up API credentials)
This summary focuses on the Delete operation for the RAG resource as requested, based solely on static analysis of the provided source code and property definitions.