Base URL
NTRP_HOST and NTRP_PORT.
Authentication
All endpoints except/health require a Bearer token:
Response format
All endpoints return JSON. The event stream (GET /chat/events/{session_id}) uses Server-Sent Events (SSE).
Endpoints
| Group | Endpoints | Description |
|---|---|---|
| Chat | GET /chat/events/{session_id}, POST /chat/message, POST /chat/background, POST /cancel | SSE stream, messaging, background mode |
| Sessions | /session*, /sessions* | Session management |
| Memory | /admin/memory/* | Memory records, lenses, search, and graph inspection |
| Automations | /automations*, /notifiers* | Scheduled tasks, notifier configs |
| Config | /config*, /models*, /providers*, /services*, /directives | Configuration, providers, models |
| Health | GET /health | Server status (public) |