Skip to content

Rename Conversation

The rename_conversation() method allows you to update the name of an existing conversation. Use descriptive names to organize conversations and make them easier to find in your analytics dashboard.

Method Signature

python
conversation_manager.rename_conversation(
    conversation_id: Union[int, str],
    name: str
)

Parameters

ParameterTypeRequiredDescription
conversation_idstring or integerYesConversation ID (string) or database ID (integer)
namestringYesNew conversation name (max 255 characters)

Usage Example

python
from agentsight import conversation_manager

conversation_manager.rename_conversation(
    conversation_id="support-session-456",  # or use database ID
    name="Account Access Issue"
)