Create a new chat with segments (messages and tool invocations)
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Request body for creating a new chat conversation with segments
Timestamp when the chat started
"2024-01-15T10:00:00Z"
Timestamp when the chat ended
"2024-01-15T10:30:00Z"
Array of chat segments including text messages and tool invocations with required timestamps
Custom properties for storing additional metadata about the chat
{
"source": "web",
"region": "US",
"sessionId": "abc123"
}Chat created successfully
Response containing the created chat information