Send a message to a bot and receive a response. Each bot has a unique public_url identifier, available from the bot’s Integrations > API page in the dashboard. Uses the same x-api-key as all other Easy-Peasy.AI endpoints.
Supports optional conversation history for multi-turn conversations and streaming responses.
https://bots.easy-peasy.ai) but the same API key as all other Easy-Peasy.AI endpoints.public_urlstream: true is set, the response is returned as server-sent events (SSE). Each event contains a chunk of the bot’s response text, allowing you to display the response progressively as it’s generated.
history array with previous messages. Each entry should have a role (human or ai) and text field.Your API key (same as all other Easy-Peasy.AI endpoints). Get yours at https://easy-peasy.ai/settings/api
Your API key (same as all other Easy-Peasy.AI endpoints).
The bot's unique public URL identifier. Found on the bot's Integrations > API page.
The message to send to the bot.
Previous conversation history for multi-turn conversations. Messages should alternate between human and ai roles.
If true, the response is streamed as server-sent events (SSE). Each event contains a chunk of the bot's response.
If true, the response includes source references from the bot's knowledge base (if configured).
Successful response from the bot
The bot's response text.