ConversationsApi class
Methods
-
createConversation({CreateConversationRequest? createConversationRequest})
→ Future<Conversation?>
-
Persist a new LLM conversation.
-
createConversationWithHttpInfo({CreateConversationRequest? createConversationRequest})
→ Future<Response>
-
Persist a new LLM conversation.
-
deleteConversation(String id)
→ Future<void>
-
Soft-delete a conversation.
-
deleteConversationWithHttpInfo(String id)
→ Future<Response>
-
Soft-delete a conversation.
-
getConversation(String id)
→ Future<Conversation?>
-
Fetch one conversation.
-
getConversationWithHttpInfo(String id)
→ Future<Response>
-
Fetch one conversation.
-
getLatestConversationForContext(String context)
→ Future<Conversation?>
-
Fetch the most recently active conversation for a given context tag.
-
getLatestConversationForContextWithHttpInfo(String context)
→ Future<Response>
-
Fetch the most recently active conversation for a given context tag.
-
listConversationMessages(String id, {int? limit, String? before})
→ Future<List<ConversationMessage>?>
-
List messages in a conversation.
-
listConversationMessagesWithHttpInfo(String id, {int? limit, String? before})
→ Future<Response>
-
List messages in a conversation.
-
listConversations({String? context, int? limit})
→ Future<List<Conversation>?>
-
List the caller's persisted LLM conversations.
-
listConversationsWithHttpInfo({String? context, int? limit})
→ Future<Response>
-
List the caller's persisted LLM conversations.
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
saveConversationMessage(String id, SaveMessageRequest saveMessageRequest)
→ Future<ConversationMessage?>
-
Append a message to a conversation.
-
saveConversationMessageWithHttpInfo(String id, SaveMessageRequest saveMessageRequest)
→ Future<Response>
-
Append a message to a conversation.
-
toString()
→ String
-
A string representation of this object.
inherited
-
updateConversation(String id, UpdateConversationRequest updateConversationRequest)
→ Future<Conversation?>
-
Update conversation metadata (title, context, cwd, session_id, pinned).
-
updateConversationMessageMetadata(String id, UpdateMessageMetadataRequest updateMessageMetadataRequest)
→ Future<ConversationMessage?>
-
Patch metadata on an existing message. Body must include the message id (path is the conversation id, not the message).
-
updateConversationMessageMetadataWithHttpInfo(String id, UpdateMessageMetadataRequest updateMessageMetadataRequest)
→ Future<Response>
-
Patch metadata on an existing message. Body must include the message id (path is the conversation id, not the message).
-
updateConversationWithHttpInfo(String id, UpdateConversationRequest updateConversationRequest)
→ Future<Response>
-
Update conversation metadata (title, context, cwd, session_id, pinned).