Ragdoll AI icon

Ragdoll AI

Consume Ragdoll AI API

Actions14

Overview

The node integrates with the Ragdoll AI API to manage data sources within a knowledge base system. Specifically, the "Delete" operation for the "Data Source" resource allows users to remove an existing data source by its unique identifier. This is useful when a data source is no longer needed or relevant, helping keep the knowledge base clean and up-to-date.

Practical examples:

  • Removing outdated web crawled data sources.
  • Deleting integrations with external services like Notion or Google Drive that are no longer in use.
  • Cleaning up test or temporary data sources created during development.

Properties

Name Meaning
Data Source ID The unique identifier of the data source to delete.

Output

The node outputs JSON data representing the response from the Ragdoll AI API after attempting to delete the specified data source. Typically, this will include confirmation of deletion or error details if the operation failed.

No binary data output is involved in this operation.

Dependencies

  • Requires an active connection to the Ragdoll AI API.
  • Needs an API authentication token credential configured in n8n to authorize requests.
  • The base URL for the API is taken from the provided credentials configuration.

Troubleshooting

  • Common issues:

    • Providing an invalid or non-existent Data Source ID will result in an error.
    • Missing or incorrect API authentication credentials will cause authorization failures.
    • Network connectivity problems can prevent the request from reaching the API.
  • Error messages:

    • 404 Not Found: The specified data source ID does not exist. Verify the ID and try again.
    • 401 Unauthorized: Authentication failed. Check that the API key or token is correctly set up.
    • 400 Bad Request: The request parameters are invalid or incomplete. Ensure the Data Source ID is provided and correctly formatted.

Resolving these typically involves verifying input parameters, checking credential configurations, and ensuring network access to the API endpoint.

Links and References

Discussion