Create message
Create a message in a thread.
Authorizations
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)
Path Parameters
ID of the thread to which the message belongs to.
Body
The role of message createor (user or assistant).
The content of the message.
The attachments of the message.
The ID of the run if the message is created by the assistant.
Metadata to store additional information in key-value pair.
Response
The ID of the message.
"thread.message".
The time the message was created.
The ID of the thread the message is associated with.
"user" or "assistant".
The content of the message.
The attachments of the message.
The ID of the run that created the message.
Metadata for the message key-value pairs.
Was this page helpful?