Messages
Create Message
Creates a new message in a specific chat
POST
Path Parameters
Chat ID where the message will be created
Body Parameters
Optional message ID
Chat ID (must match path parameter)
Message role (e.g., “user”, “assistant”, “system”)
Array of message parts
Array of attachment IDs (strings)
Additional metadata for the message
Response
Indicates if the message was created successfully
Success or error message
The created message object

