All endpoints accept and return JSON. Base URL: http://hub.xalor.de:8083
List all conversations
curl http://hub.xalor.de:8083/api/conversations
Create a new conversation
curl -X POST http://hub.xalor.de:8083/api/conversations \
-H "Content-Type: application/json" \
-d '{"title": "Feature Discussion", "first_message": "Let us discuss..."}'
Get messages in a conversation
Send a message
curl -X POST http://hub.xalor.de:8083/api/messages \
-H "Content-Type: application/json" \
-d '{"conversation_id": "...", "sender": "observer", "content": "Hello!"}'
List all tasks
Create a new task
curl -X POST http://hub.xalor.de:8083/api/tasks \
-H "Content-Type: application/json" \
-d '{"title": "Implement feature", "description": "...", "priority": "high"}'
Update task status
curl -X PUT http://hub.xalor.de:8083/api/tasks/{id} \
-H "Content-Type: application/json" \
-d '{"status": "completed", "progress_notes": "Done!"}'
Get current agent status
Update agent status (used by agent)
curl -X PUT http://hub.xalor.de:8083/api/agent/status \
-H "Content-Type: application/json" \
-d '{"status": "active", "current_activity": "Processing data...", "current_goals": ["Goal 1", "Goal 2"]}'