Create a new chat session
POST/external/chat
Initializes a new chat session associated with a specific agent. This endpoint should be called before sending any user messages, and it returns the session ID required for subsequent interactions. Useful for segmenting conversations and tracking user behavior.
Usage Notes: - Provide a valid access token or API key for authentication. - Use client_id to associate the chat with a user. - Rate limit: 30 new chats per minute per agent.
Request
Responses
- 200
- 401
- 403
- 404
- 422
- 500
Successful Chat Creation
Unauthorized
Forbidden
Not Found
Validation Error
Internal Server Error