POST
/
tune.dataset.ThreadDatasetService
/
ReplaceThreadMessage

Authorizations

X-Tune-Key
string
headerrequired

Tune API Keys are the preferred way to authenticate with the API. You can create an API Key from your Tune Studio Profile → 'Access Keys' (in sidebar)

Body

application/json
auth
object
datasetId
string

The ID of dataset.

threadId
string

The ID of thread to replace messages.

messages
object[]

List of messages to replace (all old messages will be replaced with these messages).

Response

200 - application/json
datasetId
string

The ID of dataset.

threadId
string

The ID of thread.

messages
object[]

List of messages replaced.