REST API
Complete REST API reference for Mosaic Stack.
REST API#
The Mosaic Gateway exposes a REST API on port 14242. Endpoints cover chat, tasks, projects, missions, agents, memory, and skills.
Chat#
bash
curl -X POST http://localhost:14242/api/chat \
-H "Authorization: Bearer $ADMIN_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"message": "Hello",
"conversationId": "optional-uuid"
}'Tasks#
bash
curl http://localhost:14242/api/tasks \
-H "Authorization: Bearer $ADMIN_TOKEN"Key Endpoints#
- /api/chat — Chat with streaming responses
- /api/conversations — Conversation CRUD
- /api/tasks — Task management
- /api/projects — Project management
- /api/missions — Mission orchestration
- /api/memory/search — Semantic memory search
- /api/skills — Skill registry
- /api/providers — Provider configuration
- /mcp — MCP protocol endpoint