Chats Messages
Create Chat Message
Create a new message for a specific chat.
POST
Create Chat Message
Documentation Index
Fetch the complete documentation index at: https://docs.useinvent.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Bearer token authentication using your API key
Path Parameters
Chat ID
Body
The user message
The user message to open the chat with
Minimum array length:
1User message parts
- Option 1
- Option 2
- Option 3
- Option 4
- Option 5
- Option 6
Response
200 - application/json
The chat message schema
The role of the message
Available options:
user, assistant, system, tool, event, note The model used for the message
The chat status
Available options:
RUNNING, COMPLETED, FAILED, CANCELED The message content
System message
- Option 1
- Option 2
- Option 3
- Option 4
- Option 5
- Option 6
The tools used in the message
Maximum array length:
10Enabled features for the model
The member of the chat
Error message if the message failed
ID of the broadcast this message originates from
Whether this message was sent via a broadcast template
The usage information for the message
Create Chat Message