←back to features
Conversation Management
List, create, update, delete, and manage conversations and messages programmatically. Full CRUD control over the conversation lifecycle through the SDK.
Conversations are the core resource of the ChatBotKit platform. The SDK gives you full CRUD control over conversations and their messages - create them, list and filter them, update metadata, delete them, and manage individual messages within each conversation.
Key Features
- List and filter conversations with cursor-based pagination, ordering, and metadata filters.
- Create conversations with bot assignments, model configuration, and custom metadata.
- Update and delete conversations and individual messages.
- Send and receive messages to drive multi-turn interactions.
- Complete conversations to generate bot responses, with full streaming support.
- Dispatch completions to run bot responses in the background via channels.
- Manage messages independently - list, create, update, delete, upvote, and downvote.
- Upvote and downvote conversations and messages for feedback tracking.
Getting Started
The same pattern applies to all conversation operations - pass the conversation ID and any required parameters. Messages, sessions, and attachments are accessible as sub-clients on client.conversation.