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