• v1.3.7-dev 34bcdc6208

    FTMahringer released this 2026-05-08 23:51:11 +02:00 | 256 commits to main since this release

    Chat Runtime API Documentation

    Complete API reference for conversation and message endpoints.

    Documentation:

    • docs/chat-api.md with full REST API reference
    • Request/response examples with payloads
    • Metadata field descriptions
    • Error handling patterns
    • Dashboard integration roadmap (v1.8.0)

    Endpoints:

    • POST /api/conversations - Create
    • GET /api/conversations - List
    • GET /api/conversations/{id} - Details
    • GET /api/conversations/{id}/messages - History
    • POST /api/conversations/{id}/messages - Send

    Message Structure:

    • USER messages: No provider metadata
    • ASSISTANT messages: Full provider/model/token/latency data
    • ERROR messages: ⚠️ prefix, provider context

    Notes:

    • X-User-ID header for user scope
    • Main Agent prompt from classpath resources
    • First enabled Ollama provider used
    • Token/latency analytics ready

    v1.4.0 Chat Runtime Milestone: BACKEND COMPLETE

    Backend APIs functional. Dashboard UI deferred to v1.8.0.

    Part of v1.4.0 Chat Runtime milestone (step 7/7).

    Downloads