Moonborn — API
chat
Chat sessions, message turns, distilled memory
- GET/v1/chat/sessions/{id}Fetch a chat session by id
- DELETE/v1/chat/sessions/{id}End and hard-delete a session (messages + memory chunks)
- POST/v1/chat/sessions/{id}/endEnd a chat session (idempotent) preserving its history
- GET/v1/chat/sessions/{id}/memoryInspect distilled memory chunks for a session
- DELETE/v1/chat/sessions/{id}/memory/{chunk_id}Forget a specific memory chunk (privacy / right-to-be-forgotten)
- GET/v1/chat/sessions/{id}/messagesPaginate the message history of a session (newest-first)
- POST/v1/chat/sessions/{id}/messagesAppend a user turn and produce an assistant reply
- POST/v1/personas/{id}/chatOne-shot chat against a persona (no session is created)
- GET/v1/personas/{id}/chat/sessionsList active+ended sessions for a persona within the caller workspace
- POST/v1/personas/{id}/chat/sessionsStart a chat session bound to (persona, user, workspace)