aryn-ai / conversational-opensearch

A plugin for OpenSearch implementing an API to do conversational search
Apache License 2.0
8 stars 1 forks source link

Delete API #3

Open HenryL27 opened 11 months ago

HenryL27 commented 11 months ago

It would be nice to have an API for deleting conversations, if just to make it easier to develop with this

API spec

@http(method: "DELETE", uri: "/plugins/conversational/memory/{conversationId}")
operation DeleteConversation {
    input: DeleteConversationInput
    output: DeleteConversationOutput
}

@input
structure DeleteConversationInput {
    @required
    @httpLabel
    conversationId: ConversationId
}

@output
structure DeleteConversationOutput {
    success: Boolean
}