The Xentree conversation APIs power AI chat, note-taking, search, and learning-session tracking.Core capabilities#
create and list conversations
search across indexed data
manage per-conversation learning sessions
Main endpoints#
AI response generation#
Use this endpoint to send a user message and receive an AI-generated response.provider: model or routing mode such as auto
conversation_history: optional prior turns
user_language: optional response language hint
Providers#
Returns the currently available model/provider options.Conversations#
POST /api/core/conversations
GET /api/core/conversations
DELETE /api/core/conversations/{conversation_id}
Conversation messages#
GET /api/core/conversations/{conversation_id}/messages
Search#
GET /api/core/search/status
POST /api/core/search/reindex
Session tracking#
POST /api/core/conversations/{conversation_id}/session/start
POST /api/core/conversations/{conversation_id}/session/activity
POST /api/core/conversations/{conversation_id}/session/end
GET /api/core/conversations/{conversation_id}/session/status
Example chat request#
{
"message": "Create a learning plan for my team.",
"provider": "auto",
"conversation_history": [],
"user_language": "en"
}
Example chat response#
{
"content": "Here is a structured learning plan for your team...",
"provider": "auto",
"model": "gpt-5-mini",
"usage": null
}
Notes#
Xentree also includes note endpoints under the core router:PUT /api/core/notes/{note_id}
DELETE /api/core/notes/{note_id}
Modified at 2026-04-17 06:31:51