Actions14
Overview
This node integrates with the Ragdoll AI API to manage knowledge bases, data sources, and documents. Specifically, for the Knowledge Base - Delete operation, it deletes a knowledge base identified by its ID. This is useful when you want to remove an entire knowledge base from your Ragdoll AI environment, for example, to clean up unused or outdated knowledge bases.
Practical scenarios include:
- Automating cleanup of test or temporary knowledge bases.
- Managing lifecycle of knowledge bases in workflows where knowledge bases are created and deleted dynamically.
- Removing obsolete knowledge bases to maintain an organized system.
Properties
| Name | Meaning |
|---|---|
| Knowledge Base ID | ID of the knowledge base to delete |
Output
The node outputs the response from the Ragdoll AI API after attempting to delete the specified knowledge base. The output is available in the json field of the item. Typically, for a delete operation, this might be an empty object or a confirmation message indicating successful deletion.
No binary data is output by this operation.
Dependencies
- Requires an API key credential for authenticating with the Ragdoll AI API.
- The base URL for the API must be configured in the node credentials.
- The node sends an HTTP DELETE request to the endpoint
/v1/knowledge-bases/{knowledgeBaseId}.
Troubleshooting
- Invalid or missing Knowledge Base ID: Ensure that the
Knowledge Base IDproperty is provided and correct. An invalid ID will result in an error from the API. - Authentication errors: Verify that the API key credential is correctly set up and has sufficient permissions.
- Network or connectivity issues: Check network access to the Ragdoll AI API endpoint.
- API errors: If the knowledge base does not exist or has already been deleted, the API may return a 404 error.
To resolve errors:
- Double-check the
Knowledge Base ID. - Confirm API credentials and endpoint URL.
- Review API documentation or logs for specific error messages.
Links and References
- Ragdoll AI API Documentation (general reference for API endpoints and usage)
- n8n Documentation on HTTP Request Node (for understanding how API calls are made)