HTTP
HTTP is the most direct runtime entry and works well for:
- browser-side debugging
- backend service calls
- shell scripts and curl-based testing
Main endpoints
POST /v1/chatGET /i/healthGET /i/chat
Example
curl -X POST http://127.0.0.1:7860/v1/chat \
-H "Content-Type: application/json" \
-d '{
"content": "Hello",
"sender_id": "user-001",
"sender_nickname": "Alice",
"chat_type": 1,
"content_type": 1
}'