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 you want to clean up old or irrelevant conversations from the BeeAI system, maintain data hygiene, or programmatically manage conversation lifecycles.

Practical examples include:

  • Automatically deleting conversations after they are resolved or closed.
  • Removing test or temporary conversations created during development or testing.
  • Managing storage limits by periodically deleting older conversations.

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 expected for 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 Conversation ID does not exist or is malformed, the API may return an error indicating the conversation could not be 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 sufficient permissions.
  • Network Issues: Connectivity problems can prevent the node from reaching the BeeAI API. Check network settings and firewall rules.
  • API Rate Limits: Excessive requests might trigger rate limiting. Implement retries with backoff or reduce request frequency.

Links and References

Discussion