Add Message
POST/chat-svc/thread/:threadId/message
Add a new message to a specific thread.
Request
Path Parameters
threadId stringrequired
Thread ID
- application/json
Body
required
Add Message Request
message
object
assetIds string[]
AssetIds defines the attachments the message has.
content string
Content of the message eg. "Hi, what's up?"
createdAt string
id string
threadId string
ThreadId of the message.
updatedAt string
userId string
UserId is the id of the user who wrote the message. For AI messages this field is empty.
Responses
- 200
- 400
- 401
- 500
Message successfully added
- application/json
- Schema
- Example (from schema)
Schema
property name* any
{}
Invalid JSON
- application/json
- Schema
Schema
string
Unauthorized
- application/json
- Schema
Schema
string
Internal Server Error
- application/json
- Schema
Schema
string
Loading...