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
  • Branching conversation paths
  • 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
DELETE/conversations/{id}Delete a conversation
POST/conversations/{id}/messagesAdd a message to conversation
PUT/conversations/{id}/messages/{message_id}Update an existing message
GET/conversations/{id}/branchesList conversation branches
Was this page helpful?
Built with