Skip to main content

Conversation API

All URIs are relative to http://localhost:1000

MethodHTTP requestDescription
conversationAssociateAnchorPOST /conversation/{conversation}/anchors/associate/{anchor}/conversation/{conversation}/anchors/associate/{anchor} [POST]
conversationAssociateAssetPOST /conversation/{conversation}/assets/associate/{asset}/conversation/{conversation}/assets/associate/{asset} [POST]
conversationAssociateGroundingTemporalRangeWorkstreamPOST /conversation/{conversation}/grounding/temporal_range/workstreams/associate/{range}/conversation/{conversation}/grounding/temporal/ranges/associate/{range} [POST]
conversationAssociateWebsitePOST /conversation/{conversation}/websites/associate/{website}/conversation/{conversation}/websites/associate/{website} [POST]
conversationAssociateWorkstreamSummaryPOST /conversation/{conversation}/workstream_summaries/associate/{workstream_summary}/conversation/{conversation}/workstream_summaries/associate/{workstream_summary} [POST]
conversationDisassociateAnchorPOST /conversation/{conversation}/anchors/delete/{anchor}/conversation/{conversation}/anchors/delete/{anchor} [POST]
conversationDisassociateAssetPOST /conversation/{conversation}/assets/delete/{asset}/conversation/{conversation}/assets/delete/{asset} [POST]
conversationDisassociateGroundingTemporalRangeWorkstreamPOST /conversation/{conversation}/grounding/temporal_range/workstreams/disassociate/{range}/conversation/{conversation}/grounding/temporal_range/workstreams/disassociate/{range} [POST]
conversationDisassociateWebsitePOST /conversation/{conversation}/websites/disassociate/{website}/website/{website}/websites/disassociate/{website} [POST]
conversationDisassociateWorkstreamSummaryPOST /conversation/{conversation}/workstream_summaries/disassociate/{workstream_summary}/conversation/{conversation}/workstream_summaries/disassociate/{workstream_summary} [POST]
conversationGetSpecificConversationGET /conversation/{conversation}/conversation/{conversation} [GET]
conversationGroundingMessagesAssociateMessagePOST /conversation/{conversation}/grounding/messages/associate/{message}/conversation/{conversation}/grounding/messages/associate/{message} [POST]
conversationGroundingMessagesDisassociateMessagePOST /conversation/{conversation}/grounding/messages/disassociate/{message}/conversation/{conversation}/grounding/messages/disassociate/{message} [POST]
conversationScoresIncrementPOST /conversation/{conversation}/scores/increment/conversation/{conversation}/scores/increment [POST]
conversationSpecificConversationMessagesGET /conversation/{conversation}/messages/conversation/{conversation}/messages [GET]
conversationSpecificConversationRenamePOST /conversation/{conversation}/rename/conversation/{conversation}/rename [POST]
conversationSummarizePOST /conversation/{conversation}/summarize/conversation/{conversation}/summarize [POST]
conversationUpdatePOST /conversation/update/conversation/update [POST]

conversationAssociateAnchor

conversationAssociateAnchor(conversation, anchor)

/conversation/{conversation}/anchors/associate/{anchor} [POST]

Updates both the anchor and the conversation, associating them together.

Example

// Import classes:
import app.pieces.pieces-os-client.infrastructure.*
import app.pieces.pieces-os-client.models.*

val apiInstance = ConversationApi()
val conversation : kotlin.String = conversation_example // kotlin.String | This is the uuid of a conversation.
val anchor : kotlin.String = anchor_example // kotlin.String | This is the specific uuid of an anchor.
try {
apiInstance.conversationAssociateAnchor(conversation, anchor)
} catch (e: ClientException) {
println("4xx response calling ConversationApi#conversationAssociateAnchor")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ConversationApi#conversationAssociateAnchor")
e.printStackTrace()
}

Parameters

NameTypeDescriptionNotes
conversationkotlin.StringThis is the uuid of a conversation.
anchorkotlin.StringThis is the specific uuid of an anchor.

Return type

null (empty response body)

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

conversationAssociateAsset

conversationAssociateAsset(conversation, asset)

/conversation/{conversation}/assets/associate/{asset} [POST]

Updates both the asset and the conversation, associating the two together.

Example

// Import classes:
import app.pieces.pieces-os-client.infrastructure.*
import app.pieces.pieces-os-client.models.*

val apiInstance = ConversationApi()
val conversation : kotlin.String = conversation_example // kotlin.String | This is the uuid of a conversation.
val asset : java.util.UUID = 2254f2c8-5797-40e8-ac56-41166dc0e159 // java.util.UUID | The id (uuid) of the asset that you are trying to access.
try {
apiInstance.conversationAssociateAsset(conversation, asset)
} catch (e: ClientException) {
println("4xx response calling ConversationApi#conversationAssociateAsset")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ConversationApi#conversationAssociateAsset")
e.printStackTrace()
}

Parameters

NameTypeDescriptionNotes
conversationkotlin.StringThis is the uuid of a conversation.
assetjava.util.UUIDThe id (uuid) of the asset that you are trying to access.

Return type

null (empty response body)

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

conversationAssociateGroundingTemporalRangeWorkstream

conversationAssociateGroundingTemporalRangeWorkstream(conversation, range)

/conversation/{conversation}/grounding/temporal/ranges/associate/{range} [POST]

This will associate a workstream(range) with a conversation. This will do the same thing as the range equivalent.

Example

// Import classes:
import app.pieces.pieces-os-client.infrastructure.*
import app.pieces.pieces-os-client.models.*

val apiInstance = ConversationApi()
val conversation : kotlin.String = conversation_example // kotlin.String | This is the uuid of a conversation.
val range : kotlin.String = range_example // kotlin.String | This is a identifier that is used to identify a specific range.
try {
apiInstance.conversationAssociateGroundingTemporalRangeWorkstream(conversation, range)
} catch (e: ClientException) {
println("4xx response calling ConversationApi#conversationAssociateGroundingTemporalRangeWorkstream")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ConversationApi#conversationAssociateGroundingTemporalRangeWorkstream")
e.printStackTrace()
}

Parameters

NameTypeDescriptionNotes
conversationkotlin.StringThis is the uuid of a conversation.
rangekotlin.StringThis is a identifier that is used to identify a specific range.

Return type

null (empty response body)

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

conversationAssociateWebsite

conversationAssociateWebsite(conversation, website)

/conversation/{conversation}/websites/associate/{website} [POST]

Updates both the website and the conversation, and associate them together.

Example

// Import classes:
import app.pieces.pieces-os-client.infrastructure.*
import app.pieces.pieces-os-client.models.*

val apiInstance = ConversationApi()
val conversation : kotlin.String = conversation_example // kotlin.String | This is the uuid of a conversation.
val website : kotlin.String = website_example // kotlin.String | website id
try {
apiInstance.conversationAssociateWebsite(conversation, website)
} catch (e: ClientException) {
println("4xx response calling ConversationApi#conversationAssociateWebsite")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ConversationApi#conversationAssociateWebsite")
e.printStackTrace()
}

Parameters

NameTypeDescriptionNotes
conversationkotlin.StringThis is the uuid of a conversation.
websitekotlin.Stringwebsite id

Return type

null (empty response body)

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

conversationAssociateWorkstreamSummary

conversationAssociateWorkstreamSummary(conversation, workstreamSummary)

/conversation/{conversation}/workstream_summaries/associate/{workstream_summary} [POST]

This will associate a conversation with a workstream summary. This will do the same thing as the workstreamSummary equivalent.

Example

// Import classes:
import app.pieces.pieces-os-client.infrastructure.*
import app.pieces.pieces-os-client.models.*

val apiInstance = ConversationApi()
val conversation : kotlin.String = conversation_example // kotlin.String | This is the uuid of a conversation.
val workstreamSummary : kotlin.String = workstreamSummary_example // kotlin.String | This is a identifier that is used to identify a specific workstream_summary.
try {
apiInstance.conversationAssociateWorkstreamSummary(conversation, workstreamSummary)
} catch (e: ClientException) {
println("4xx response calling ConversationApi#conversationAssociateWorkstreamSummary")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ConversationApi#conversationAssociateWorkstreamSummary")
e.printStackTrace()
}

Parameters

NameTypeDescriptionNotes
conversationkotlin.StringThis is the uuid of a conversation.
workstreamSummarykotlin.StringThis is a identifier that is used to identify a specific workstream_summary.

Return type

null (empty response body)

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

conversationDisassociateAnchor

conversationDisassociateAnchor(conversation, anchor)

/conversation/{conversation}/anchors/delete/{anchor} [POST]

Updates both the anchor and the conversation, deleting (disassociating) them simultaneously.

Example

// Import classes:
import app.pieces.pieces-os-client.infrastructure.*
import app.pieces.pieces-os-client.models.*

val apiInstance = ConversationApi()
val conversation : kotlin.String = conversation_example // kotlin.String | This is the uuid of a conversation.
val anchor : kotlin.String = anchor_example // kotlin.String | This is the specific uuid of an anchor.
try {
apiInstance.conversationDisassociateAnchor(conversation, anchor)
} catch (e: ClientException) {
println("4xx response calling ConversationApi#conversationDisassociateAnchor")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ConversationApi#conversationDisassociateAnchor")
e.printStackTrace()
}

Parameters

NameTypeDescriptionNotes
conversationkotlin.StringThis is the uuid of a conversation.
anchorkotlin.StringThis is the specific uuid of an anchor.

Return type

null (empty response body)

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

conversationDisassociateAsset

conversationDisassociateAsset(conversation, asset)

/conversation/{conversation}/assets/delete/{asset} [POST]

Updates both the asset and the conversation, effectively disassociating them.

Example

// Import classes:
import app.pieces.pieces-os-client.infrastructure.*
import app.pieces.pieces-os-client.models.*

val apiInstance = ConversationApi()
val conversation : kotlin.String = conversation_example // kotlin.String | This is the uuid of a conversation.
val asset : java.util.UUID = 2254f2c8-5797-40e8-ac56-41166dc0e159 // java.util.UUID | The id (uuid) of the asset that you are trying to access.
try {
apiInstance.conversationDisassociateAsset(conversation, asset)
} catch (e: ClientException) {
println("4xx response calling ConversationApi#conversationDisassociateAsset")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ConversationApi#conversationDisassociateAsset")
e.printStackTrace()
}

Parameters

NameTypeDescriptionNotes
conversationkotlin.StringThis is the uuid of a conversation.
assetjava.util.UUIDThe id (uuid) of the asset that you are trying to access.

Return type

null (empty response body)

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

conversationDisassociateGroundingTemporalRangeWorkstream

conversationDisassociateGroundingTemporalRangeWorkstream(conversation, range)

/conversation/{conversation}/grounding/temporal_range/workstreams/disassociate/{range} [POST]

This will enable us to disassociate a workstream(range) from a conversation. This will do the same thing as the range equivalent.

Example

// Import classes:
import app.pieces.pieces-os-client.infrastructure.*
import app.pieces.pieces-os-client.models.*

val apiInstance = ConversationApi()
val conversation : kotlin.String = conversation_example // kotlin.String | This is the uuid of a conversation.
val range : kotlin.String = range_example // kotlin.String | This is a identifier that is used to identify a specific range.
try {
apiInstance.conversationDisassociateGroundingTemporalRangeWorkstream(conversation, range)
} catch (e: ClientException) {
println("4xx response calling ConversationApi#conversationDisassociateGroundingTemporalRangeWorkstream")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ConversationApi#conversationDisassociateGroundingTemporalRangeWorkstream")
e.printStackTrace()
}

Parameters

NameTypeDescriptionNotes
conversationkotlin.StringThis is the uuid of a conversation.
rangekotlin.StringThis is a identifier that is used to identify a specific range.

Return type

null (empty response body)

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

conversationDisassociateWebsite

conversationDisassociateWebsite(conversation, website)

/website/{website}/websites/disassociate/{website} [POST]

Allows us to disassociate a conversation from a specific website

Example

// Import classes:
import app.pieces.pieces-os-client.infrastructure.*
import app.pieces.pieces-os-client.models.*

val apiInstance = ConversationApi()
val conversation : kotlin.String = conversation_example // kotlin.String | This is the uuid of a conversation.
val website : kotlin.String = website_example // kotlin.String | website id
try {
apiInstance.conversationDisassociateWebsite(conversation, website)
} catch (e: ClientException) {
println("4xx response calling ConversationApi#conversationDisassociateWebsite")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ConversationApi#conversationDisassociateWebsite")
e.printStackTrace()
}

Parameters

NameTypeDescriptionNotes
conversationkotlin.StringThis is the uuid of a conversation.
websitekotlin.Stringwebsite id

Return type

null (empty response body)

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

conversationDisassociateWorkstreamSummary

conversationDisassociateWorkstreamSummary(conversation, workstreamSummary)

/conversation/{conversation}/workstream_summaries/disassociate/{workstream_summary} [POST]

This will enable us to disassociate an conversation from a workstream summary. This will do the same thing as the workstreamSummary equivalent.

Example

// Import classes:
import app.pieces.pieces-os-client.infrastructure.*
import app.pieces.pieces-os-client.models.*

val apiInstance = ConversationApi()
val conversation : kotlin.String = conversation_example // kotlin.String | This is the uuid of a conversation.
val workstreamSummary : kotlin.String = workstreamSummary_example // kotlin.String | This is a identifier that is used to identify a specific workstream_summary.
try {
apiInstance.conversationDisassociateWorkstreamSummary(conversation, workstreamSummary)
} catch (e: ClientException) {
println("4xx response calling ConversationApi#conversationDisassociateWorkstreamSummary")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ConversationApi#conversationDisassociateWorkstreamSummary")
e.printStackTrace()
}

Parameters

NameTypeDescriptionNotes
conversationkotlin.StringThis is the uuid of a conversation.
workstreamSummarykotlin.StringThis is a identifier that is used to identify a specific workstream_summary.

Return type

null (empty response body)

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

conversationGetSpecificConversation

Conversation conversationGetSpecificConversation(conversation, transferables)

/conversation/{conversation} [GET]

Retrieves a specific conversation.

Example

// Import classes:
import app.pieces.pieces-os-client.infrastructure.*
import app.pieces.pieces-os-client.models.*

val apiInstance = ConversationApi()
val conversation : kotlin.String = conversation_example // kotlin.String | This is the uuid of a conversation.
val transferables : kotlin.Boolean = true // kotlin.Boolean | This is a boolean that will decided if we are want to return the transferable data (default) or not(performance enhancement)
try {
val result : Conversation = apiInstance.conversationGetSpecificConversation(conversation, transferables)
println(result)
} catch (e: ClientException) {
println("4xx response calling ConversationApi#conversationGetSpecificConversation")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ConversationApi#conversationGetSpecificConversation")
e.printStackTrace()
}

Parameters

NameTypeDescriptionNotes
conversationkotlin.StringThis is the uuid of a conversation.
transferableskotlin.BooleanThis is a boolean that will decided if we are want to return the transferable data (default) or not(performance enhancement)[optional]

Return type

Conversation

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

conversationGroundingMessagesAssociateMessage

conversationGroundingMessagesAssociateMessage(conversation, message)

/conversation/{conversation}/grounding/messages/associate/{message} [POST]

Stores the grounding context for a conversation. It allows to associate a message with the conversation's grounding object, facilitating contextual understanding and management of the conversation.

Example

// Import classes:
import app.pieces.pieces-os-client.infrastructure.*
import app.pieces.pieces-os-client.models.*

val apiInstance = ConversationApi()
val conversation : kotlin.String = conversation_example // kotlin.String | This is the uuid of a conversation.
val message : kotlin.String = message_example // kotlin.String | This is the uuid of a message.
try {
apiInstance.conversationGroundingMessagesAssociateMessage(conversation, message)
} catch (e: ClientException) {
println("4xx response calling ConversationApi#conversationGroundingMessagesAssociateMessage")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ConversationApi#conversationGroundingMessagesAssociateMessage")
e.printStackTrace()
}

Parameters

NameTypeDescriptionNotes
conversationkotlin.StringThis is the uuid of a conversation.
messagekotlin.StringThis is the uuid of a message.

Return type

null (empty response body)

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

conversationGroundingMessagesDisassociateMessage

conversationGroundingMessagesDisassociateMessage(conversation, message)

/conversation/{conversation}/grounding/messages/disassociate/{message} [POST]

Removes a specific grounding context for a conversation, and allows us to disassociate a message from the conversation's grounding object.

Example

// Import classes:
import app.pieces.pieces-os-client.infrastructure.*
import app.pieces.pieces-os-client.models.*

val apiInstance = ConversationApi()
val conversation : kotlin.String = conversation_example // kotlin.String | This is the uuid of a conversation.
val message : kotlin.String = message_example // kotlin.String | This is the uuid of a message.
try {
apiInstance.conversationGroundingMessagesDisassociateMessage(conversation, message)
} catch (e: ClientException) {
println("4xx response calling ConversationApi#conversationGroundingMessagesDisassociateMessage")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ConversationApi#conversationGroundingMessagesDisassociateMessage")
e.printStackTrace()
}

Parameters

NameTypeDescriptionNotes
conversationkotlin.StringThis is the uuid of a conversation.
messagekotlin.StringThis is the uuid of a message.

Return type

null (empty response body)

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

conversationScoresIncrement

conversationScoresIncrement(conversation, seededScoreIncrement)

/conversation/{conversation}/scores/increment [POST]

Increment scores associated with a conversation. It accepts a SeededScoreIncrement object as input to adjust the scores accordingly based on the provided data.

Example

// Import classes:
import app.pieces.pieces-os-client.infrastructure.*
import app.pieces.pieces-os-client.models.*

val apiInstance = ConversationApi()
val conversation : kotlin.String = conversation_example // kotlin.String | This is the uuid of a conversation.
val seededScoreIncrement : SeededScoreIncrement = // SeededScoreIncrement |
try {
apiInstance.conversationScoresIncrement(conversation, seededScoreIncrement)
} catch (e: ClientException) {
println("4xx response calling ConversationApi#conversationScoresIncrement")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ConversationApi#conversationScoresIncrement")
e.printStackTrace()
}

Parameters

NameTypeDescriptionNotes
conversationkotlin.StringThis is the uuid of a conversation.
seededScoreIncrementSeededScoreIncrement[optional]

Return type

null (empty response body)

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: Not defined

conversationSpecificConversationMessages

ConversationMessages conversationSpecificConversationMessages(conversation, transferables)

/conversation/{conversation}/messages [GET]

Retrieves messages specific to a particular conversation.

Example

// Import classes:
import app.pieces.pieces-os-client.infrastructure.*
import app.pieces.pieces-os-client.models.*

val apiInstance = ConversationApi()
val conversation : kotlin.String = conversation_example // kotlin.String | This is the uuid of a conversation.
val transferables : kotlin.Boolean = true // kotlin.Boolean | This is a boolean that will decided if we are want to return the transferable data (default) or not(performance enhancement)
try {
val result : ConversationMessages = apiInstance.conversationSpecificConversationMessages(conversation, transferables)
println(result)
} catch (e: ClientException) {
println("4xx response calling ConversationApi#conversationSpecificConversationMessages")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ConversationApi#conversationSpecificConversationMessages")
e.printStackTrace()
}

Parameters

NameTypeDescriptionNotes
conversationkotlin.StringThis is the uuid of a conversation.
transferableskotlin.BooleanThis is a boolean that will decided if we are want to return the transferable data (default) or not(performance enhancement)[optional]

Return type

ConversationMessages

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

conversationSpecificConversationRename

Conversation conversationSpecificConversationRename(conversation, transferables)

/conversation/{conversation}/rename [POST]

Renames a specific conversation using machine learning (ML) techniques.

Example

// Import classes:
import app.pieces.pieces-os-client.infrastructure.*
import app.pieces.pieces-os-client.models.*

val apiInstance = ConversationApi()
val conversation : kotlin.String = conversation_example // kotlin.String | This is the uuid of a conversation.
val transferables : kotlin.Boolean = true // kotlin.Boolean | This is a boolean that will decided if we are want to return the transferable data (default) or not(performance enhancement)
try {
val result : Conversation = apiInstance.conversationSpecificConversationRename(conversation, transferables)
println(result)
} catch (e: ClientException) {
println("4xx response calling ConversationApi#conversationSpecificConversationRename")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ConversationApi#conversationSpecificConversationRename")
e.printStackTrace()
}

Parameters

NameTypeDescriptionNotes
conversationkotlin.StringThis is the uuid of a conversation.
transferableskotlin.BooleanThis is a boolean that will decided if we are want to return the transferable data (default) or not(performance enhancement)[optional]

Return type

Conversation

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

conversationSummarize

ConversationSummarizeOutput conversationSummarize(conversation, conversationSummarizeInput)

/conversation/{conversation}/summarize [POST]

Generates a summary of a given conversation and saves it as an annotation associated with the conversation. It returns a reference to the annotation, which serves as the summary.

Example

// Import classes:
import app.pieces.pieces-os-client.infrastructure.*
import app.pieces.pieces-os-client.models.*

val apiInstance = ConversationApi()
val conversation : kotlin.String = conversation_example // kotlin.String | This is the uuid of a conversation.
val conversationSummarizeInput : ConversationSummarizeInput = // ConversationSummarizeInput |
try {
val result : ConversationSummarizeOutput = apiInstance.conversationSummarize(conversation, conversationSummarizeInput)
println(result)
} catch (e: ClientException) {
println("4xx response calling ConversationApi#conversationSummarize")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ConversationApi#conversationSummarize")
e.printStackTrace()
}

Parameters

NameTypeDescriptionNotes
conversationkotlin.StringThis is the uuid of a conversation.
conversationSummarizeInputConversationSummarizeInput[optional]

Return type

ConversationSummarizeOutput

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

conversationUpdate

Conversation conversationUpdate(transferables, conversation)

/conversation/update [POST]

Updates a specific conversation.

Example

// Import classes:
import app.pieces.pieces-os-client.infrastructure.*
import app.pieces.pieces-os-client.models.*

val apiInstance = ConversationApi()
val transferables : kotlin.Boolean = true // kotlin.Boolean | This is a boolean that will decided if we are want to return the transferable data (default) or not(performance enhancement)
val conversation : Conversation = // Conversation |
try {
val result : Conversation = apiInstance.conversationUpdate(transferables, conversation)
println(result)
} catch (e: ClientException) {
println("4xx response calling ConversationApi#conversationUpdate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ConversationApi#conversationUpdate")
e.printStackTrace()
}

Parameters

NameTypeDescriptionNotes
transferableskotlin.BooleanThis is a boolean that will decided if we are want to return the transferable data (default) or not(performance enhancement)[optional]
conversationConversation[optional]

Return type

Conversation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json