> ## Documentation Index
> Fetch the complete documentation index at: https://docs.boostgpt.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Chat API

> Send messages and get responses

## Endpoints

All chat endpoints are documented in the Core SDK reference:

> [card] [Chat API](https://docs.boostgpt.co/sdk/core/chat-api.md)
>
> Send messages and handle responses

> [card] [API Reference](https://docs.boostgpt.co/sdk/core/api-reference.md)
>
> Complete API documentation

## Quick Reference

| 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 |

## Using the SDK

```javascript theme={null}
const result = await client.chat({
  bot_id: 'bot_abc123',
  message: 'Hello!',
  chat_id: 'user-1'
});

console.log(result.response);
```

See [Chat API](https://docs.boostgpt.co/sdk/core/chat-api.md) for full documentation.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.