XiaoZ 3.7 API Documentation

/chat - POST

Send a message to the chatbot.

curl -X POST https://api.example.com/chat -d "message=Hello"

/train - POST

Train the chatbot with additional data.

curl -X POST https://api.example.com/train -d "data=train_data.json"

/status - GET

Get the current status of the chatbot.

curl -X GET https://api.example.com/status