POST
/
tune.dataset.ThreadDatasetService
/
CreateAndSaveDatasetThread

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.

messages
object[]

List of messages to create a thread.

metadata
object

Metadata to store additional information in key-value pair.

Response

200 - application/json
datasetId
string

The ID of dataset.

threadId
string

The ID of thread.