Conversation Management
Create, manage, and retrieve multi-turn conversations with full message history. Support for linking conversations, state and flexible tags/metadata.
Enterprise-grade conversation infrastructure for modern AI applications
Create your first conversation in seconds:
import { DialogueDB } from 'dialogue-db';
const db = new DialogueDB({ apiKey: process.env.DIALOGUE_DB_API_KEY });
const dialogue = await db.createDialogue({
messages: [{ role: 'user', content: 'Hello, how can you help me today?' }]
});
console.log(dialogue.id); // e.g., "01KACE6RAZKQ93354SF18CJHHC"curl -X POST https://api.dialoguedb.com/dialogue \
-H "Authorization: Bearer DIALOGUE_DB_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"messages": [{ "role": "user", "content": "Hello, how can you help me today?" }]
}'DialogueDB provides the conversation infrastructure layer for AI applications, allowing you to focus on building great user experiences instead of managing conversation state, message persistence, and history retrieval.
Perfect for: