Endpoints
All chat endpoints are documented in the Core SDK reference:Chat API
Send messages and handle responses
API Reference
Complete API documentation
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Send messages and get responses
| Method | Endpoint | Description |
|---|---|---|
| POST | /v1/bot/chat | Send message to bot (supports chat_mode: 'edit' for agent-powered code editing, 'plan' for conversational planning) |
| POST | /v1/bot/search | Search bot knowledge |
const result = await client.chat({
bot_id: 'bot_abc123',
message: 'Hello!',
chat_id: 'user-1'
});
console.log(result.response);
Was this page helpful?