BeeAI icon

BeeAI

Interact with BeeAI API

Overview

This node integrates with the BeeAI API to manage conversations. Specifically, the "Delete Conversation" operation allows users to remove a conversation by its unique ID. This is useful in scenarios where conversations are no longer needed or must be cleaned up for privacy or organizational reasons.

Practical examples include:

  • Automatically deleting completed or inactive conversations from a chatbot system.
  • Removing test conversations created during development.
  • Managing storage by purging old conversation data.

Properties

Name Meaning
Conversation ID The unique identifier of the conversation to delete. This is required to specify which conversation to remove.

Output

The node outputs JSON data representing the result of the delete operation. Typically, this will confirm whether the deletion was successful or provide details if it failed. The exact structure depends on the BeeAI API response but generally includes status information.

No binary data output is involved in this operation.

Dependencies

  • Requires an API key credential for authenticating with the BeeAI API.
  • The node communicates with the BeeAI API endpoint at https://api.bee.computer.
  • Proper configuration of the API key credential within n8n is necessary for successful requests.

Troubleshooting

  • Invalid Conversation ID: If the provided ID does not exist or is malformed, the API may return an error indicating the conversation was not found. Verify the ID before attempting deletion.
  • Authentication Errors: Missing or invalid API credentials will cause authentication failures. Ensure the API key is correctly set up and has appropriate permissions.
  • Network Issues: Connectivity problems can prevent reaching the BeeAI API. Check network settings and retry.
  • API Rate Limits: Excessive requests might be throttled by the API. Implement retries with backoff or reduce request frequency.

Links and References

Discussion