Conversations

A Conversation in R2R represents a threaded exchange of messages that can branch into multiple paths. Conversations provide a structured way to maintain dialogue history, support branching discussions, and manage message flows.

Conversations in R2R provide:

  • Threaded message management
  • Message editing with history preservation
  • Metadata attachment capabilities
  • Conversational context maintenance

Available Endpoints

MethodEndpointDescription
POST/conversationsCreate a new conversation
GET/conversationsList conversations with pagination
GET/conversations/{id}Get conversation details
POST/conversations/{id}Update conversation
DELETE/conversations/{id}Delete a conversation
POST/conversations/{id}/messagesAdd a message to conversation
POST/conversations/{id}/messages/{message_id}Update an existing message