Chats Messages
Edit Chat Message
Edit the text content of a specific message.
PATCH
Edit Chat Message
Authorizations
Bearer token authentication using your API key
Body
Edit the content of a 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 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
Edit Chat Message