Conversation API
Getting user conversations, search and pinning
Fetching conversation
foldspace.agent('AGENT_NAME').getConversations({
    pagination: { pageNumber: number, pageSize: number },
    search: { value: string },
    filters: { pined: boolean }
});Get Name (title)
foldspace.agent('AGENT_NAME').getConversationName('CONVERSATION_ID');Pinning
foldspace.agent('AGENT_NAME').pinConversation('CONVERSATION_ID');
foldspace.agent('AGENT_NAME').unpinConversation('CONVERSATION_ID');Rename, Delete
foldspace.agent('AGENT_NAME').deleteConversation('CONVERSATION_ID');
foldspace.agent('AGENT_NAME').renameConversation('CONVERSATION_ID', 'NEW_NAME);
Select conversation
foldspace.agent('AGENT_NAME').selectConversation('CONVERSATION_ID');
Updated about 11 hours ago