Actions16
- Conversation Actions
- Todo Actions
- Fact Actions
- Location Actions
Overview
The node interacts with the BeeAI API to list conversations. It fetches a paginated list of conversation records from the BeeAI service, allowing users to retrieve multiple conversation entries in a controlled manner. This is useful for scenarios where you want to analyze, display, or process batches of conversations, such as customer support chat logs, AI-generated dialogues, or any conversational data managed by BeeAI.
Practical examples:
- Fetching the first 50 conversations to display recent chat history.
- Retrieving specific pages of conversations for batch processing or archival.
- Integrating conversation data into dashboards or reports.
Properties
Name | Meaning |
---|---|
Pagination | Collection of pagination options to control which page and how many items per page to fetch. Options include: • Page Number: The page number to fetch (minimum 1). • Number of Items per Page: Maximum number of results to return (minimum 1). |
Output
The node outputs JSON data representing the list of conversations retrieved from the BeeAI API. Each item in the output corresponds to a single conversation record with its associated details as provided by the API.
If the API supports binary data related to conversations (e.g., attachments), the node would handle it accordingly, but based on the provided code and properties, the primary output is JSON-formatted conversation data.
Dependencies
- Requires an API key credential for authenticating with the BeeAI API.
- The base URL for requests is
https://api.bee.computer
. - The node sends requests with headers specifying JSON content type and acceptance.
Troubleshooting
Common issues:
- Invalid or missing API key will cause authentication errors.
- Requesting a page number that exceeds available pages may return empty results.
- Setting the limit too high might lead to performance issues or API rate limiting.
Error messages:
- Authentication failures typically indicate problems with the API key; ensure the correct key is configured.
- Validation errors on pagination parameters suggest values are out of allowed range; verify page number ≥ 1 and limit ≥ 1.
- Network or API downtime errors require checking connectivity or BeeAI service status.
Links and References
- BeeAI API Documentation (assumed official API docs)
- n8n documentation on pagination handling