Conversations
Core conversation API for creating, interacting with, and managing AI-powered conversations.
The Conversations API is the core interface for managing AI-powered interactions on the Concurrence platform.
Overview
Conversations are the primary way users interact with Concurrence agents. Each conversation maintains context, manages state, and handles the flow of messages between users and the AI.
API Endpoints
Conversation Management
Create: initialize new conversations with agents; the endpoint contract is embedded on the reference page
Starters: generate contextual conversation starters
Interact: send messages and receive AI responses through the embedded endpoint contract
Events: events are delivered as the NDJSON stream returned by the Create and Interact endpoints
Lifecycle & Finish: manage conversation states and completion
Voice: text-channel voice uses the Interact endpoint with
request_format=voicerather than a separate/voicepathReal-time Voice (WebSocket): bidirectional voice transport documented separately because WebSocket routes are not represented in the HTTP OpenAPI schema
External Events & Multi-Stream (WebSocket): interleave external events with user text and audio on a single WebSocket connection
Conversation History: retrieve conversations, messages, tags, and interaction insights
Key Features
Contextual Memory: conversations keep context across multiple interactions.
Multi-modal Support: text, voice, and structured data inputs.
Real-time Streaming: NDJSON event streams for live updates.
WebSocket Support: low-latency bidirectional communication for real-time voice.
Voice Activity Detection: automatic speech detection in real-time mode.
State Management: track and control conversation flow.
Voice Integration: voice-to-text and text-to-voice.
Automatic Audio Fillers: handles perceived latency during voice interactions.
Common Use Cases
Customer Support: automated support conversations with context awareness.
Virtual Assistants: personal AI assistants with memory and learning.
Interactive Workflows: guide users through complex processes.
Voice Interfaces: natural language voice interactions.
Quick Start
Related Documentation
Last updated
Was this helpful?

